Data Types | |
| type | t_mof_structure |
| Lightweight t_phase_geometry structure adapted to MOF. More... | |
Functions/Subroutines | |
| subroutine, public | mof2d_backward_advection (mof_phases, boundary_condition, velocity1, velocity2, time_step) |
| Advection of the MOF phases using the backward advection algorithm. | |
| subroutine | mof2d_classic_intersection (mof_next, advected_cell, cell_interval, mof_phases, velocity1, velocity_half, time_step, i, j) |
| Compute volume and centroid from cell intersection without filaments. | |
| subroutine | mof2d_filament_intersection (mof_next, advected_cell, cell_interval, mof_phases, velocity1, velocity_half, time_step, i, j) |
| Compute volume and centroid from cell intersection with filaments. | |
| subroutine | mof2d_generate_filament_groups (filament, list_intersection) |
| Generate the filament list from the intersected polygons. | |
| subroutine | mof2d_intersect_cells (advected_cell, cell_interval, mof_phases, velocity1, velocity_half, time_step, volume, momentum) |
| Intersect the backward advected cell with all the sourrounding cells. | |
| subroutine | mof2d_intersect_cells_with_list (list_intersection, advected_cell, cell_interval, mof_phases) |
| Intersect the cells and keep the intersected polygons. | |
| pure subroutine | mof2d_advect_rk2 (point, i, j, velocity_start, velocity_half, time_step, advected_point) |
| Advect a point using a second order Runge-Kutta 2 scheme. | |
| integer pure function | mof2d_locate_cell (x, guess, coord) |
| Locate the maximal index in a list of coordinates which is the closest and inferior to a given coordinate. | |
| pure subroutine | mof2d_interpolate_velocity (point, velocity, point_velocity, i, j) |
| Interpolate velocity on a point in a cell. | |
|
private |
Advect a point using a second order Runge-Kutta 2 scheme.
| [in] | point | Coordinates of the point to advect |
| [in] | i,j | Coordinates of the cell containing the point |
| [in] | velocity_start | Velocity at the beginning of the time step |
| [in] | velocity_half | Velocity in the middle of the time step |
| [in] | time_step | Time step |
| [out] | advected_point | Coordinated of the advected point |
|
private |
Compute volume and centroid from cell intersection without filaments.
| [in,out] | mof_next | Next value of MOF phases |
| [in] | advected_cell | Advected cell |
| [in] | cell_interval | Lower and upper bounds of the surrounding cells |
| [in] | mof_phases | List of the MOF phases |
| [in] | velocity1 | Velocity at the beginning of the time step |
| [in] | velocity_half | Velocity in the middle of the time step |
| [in] | time_step | Time step |
| [in] | i,j | Cell coordinates |
|
private |
Compute volume and centroid from cell intersection with filaments.
| [in,out] | mof_next | Next value of MOF phases |
| [in] | advected_cell | Advected cell |
| [in] | cell_interval | Lower and upper bounds of the surrounding cells |
| [in] | mof_phases | List of the MOF phases |
| [in] | velocity1 | Velocity at the beginning of the time step |
| [in] | velocity_half | Velocity in the middle of the time step |
| [in] | time_step | Time step |
| [in] | i,j | Cell coordinates |
|
private |
Generate the filament list from the intersected polygons.
|
private |
Interpolate velocity on a point in a cell.
| [in] | point | coordinates of the point |
| [in] | velocity | velocity |
| [out] | point_velocity | interpolation of the velocity on the point |
| [in] | i,j | coordinates of the CELL containing the point |
|
private |
Intersect the backward advected cell with all the sourrounding cells.
| [in] | advected_cell | Advected cell |
| [in] | cell_interval | Lower and upper bounds of the surrounding cells |
| [in] | mof_phases | List of the MOF phases |
| [in] | velocity1 | Velocity at the beginning of the time step |
| [in] | velocity_half | Velocity in the middle of the time step |
| [in] | time_step | Time step |
| [out] | volume | Intersected volume |
| [out] | momentum | Intersected momentum |
|
private |
Intersect the cells and keep the intersected polygons.
| [in,out] | list_intersection | List of intersected polygons. |
| [in] | advected_cell | Advected cell. |
| [in] | cell_interval | List of cells to be intersected. |
| [in] | mof_phases | List of the MOF phases. |
|
private |
Locate the maximal index in a list of coordinates which is the closest and inferior to a given coordinate.
| [in] | x | Coordinate |
| [in] | guess | Guess for the index |
| [in] | coord | List of coordinates |