|
MFC: Pre-Process
High-fidelity multiphase flow simulation
|
This module provides a platform that is analogous to constructive solid geometry techniques and in this way allows for the creation of a wide variety of initial conditions. Several 1D, 2D and 3D fundamental geometries are included that may further be combined into more complex shapes. This is achieved by carefully setting up the order in which the patches are laid out in the domain and specifying the priority that each patch has over the preceding ones. The resulting shapes may be identified both by the values of their primitive variables and the associated patch identities. Note that the user may choose to read in and modify a preexisting initial condition. The module m_start_up.f90 is responsible for reading in the relevant data files. More...
Functions/Subroutines | |
| impure subroutine | s_initialize_initial_condition_module |
| Computation of parameters, allocation procedures, and/or any other tasks needed to properly setup the module. | |
| impure subroutine | s_generate_initial_condition |
| This subroutine peruses the patches and depending on the type of geometry associated with a particular patch, it calls the related subroutine to setup the said geometry on the grid using the primitive variables included with the patch parameters. The subroutine is complete once the primitive variables are converted to conservative ones. | |
| impure subroutine | s_finalize_initial_condition_module |
| Deallocation procedures for the module. | |
Variables | |
| type(scalar_field), dimension(:), allocatable | q_prim_vf |
| primitive variables | |
| type(scalar_field), dimension(:), allocatable | q_cons_vf |
| conservative variables | |
| type(scalar_field) | q_t_sf |
| Temperature field. | |
| type(integer_field), dimension(:, :), allocatable | bc_type |
| bc_type fields | |
| integer(kind=1), dimension(:, :, :), allocatable | patch_id_fp |
| type(integer_field) | ib_markers |
| Bookkepping variable used to track whether a given cell is within an immersed boundary. The default is 0, otherwise the value is assigned to the patch ID of the immersed boundary. | |
| type(levelset_field) | levelset |
| type(levelset_norm_field) | levelset_norm |
This module provides a platform that is analogous to constructive solid geometry techniques and in this way allows for the creation of a wide variety of initial conditions. Several 1D, 2D and 3D fundamental geometries are included that may further be combined into more complex shapes. This is achieved by carefully setting up the order in which the patches are laid out in the domain and specifying the priority that each patch has over the preceding ones. The resulting shapes may be identified both by the values of their primitive variables and the associated patch identities. Note that the user may choose to read in and modify a preexisting initial condition. The module m_start_up.f90 is responsible for reading in the relevant data files.
| impure subroutine m_initial_condition::s_finalize_initial_condition_module |
Deallocation procedures for the module.
| impure subroutine m_initial_condition::s_generate_initial_condition |
This subroutine peruses the patches and depending on the type of geometry associated with a particular patch, it calls the related subroutine to setup the said geometry on the grid using the primitive variables included with the patch parameters. The subroutine is complete once the primitive variables are converted to conservative ones.
| impure subroutine m_initial_condition::s_initialize_initial_condition_module |
Computation of parameters, allocation procedures, and/or any other tasks needed to properly setup the module.
| type(integer_field), dimension(:, :), allocatable m_initial_condition::bc_type |
bc_type fields
| type(integer_field) m_initial_condition::ib_markers |
Bookkepping variable used to track whether a given cell is within an immersed boundary. The default is 0, otherwise the value is assigned to the patch ID of the immersed boundary.
| type(levelset_field) m_initial_condition::levelset |
| type(levelset_norm_field) m_initial_condition::levelset_norm |
| integer, dimension(:, :, :), allocatable m_initial_condition::patch_id_fp |
| type(scalar_field), dimension(:), allocatable m_initial_condition::q_cons_vf |
conservative variables
| type(scalar_field), dimension(:), allocatable m_initial_condition::q_prim_vf |
primitive variables
| type(scalar_field) m_initial_condition::q_t_sf |
Temperature field.