|
MFC
Exascale flow solver
|
Assigns initial primitive variables to computational cells based on patch geometry. More...
Data Types | |
| interface | s_assign_patch_xxxxx_primitive_variables |
| Abstract interface to the two subroutines that assign the patch primitive variables, either mixture or species, depending on the subroutine, to a particular cell in the computational domain. More... | |
Functions/Subroutines | |
| impure subroutine, public | s_initialize_assign_variables_module |
| Allocates volume fraction sum and sets the patch primitive variable assignment procedure pointer. | |
| subroutine, public | s_assign_patch_mixture_primitive_variables (patch_id, j, k, l, eta, q_prim_vf, patch_id_fp) |
| This subroutine assigns the mixture primitive variables of the patch designated by the patch_id, to the cell that is designated by the indexes (j,k,l). In addition, the variable bookkeeping the patch identities in the entire domain is updated with the new assignment. Note that if the smoothing of the patch's boundaries is employed, the ensuing primitive variables in the cell will be a type of combination of the current patch's primitive variables with those of the smoothing patch. The specific details of the combination may be found in Shyue's work (1998). | |
| subroutine, public | s_perturb_primitive (j, k, l, q_prim_vf) |
| Applies a stable pressure perturbation following Ando's method for bubble-laden flows. | |
| impure subroutine, public | s_assign_patch_species_primitive_variables (patch_id, j, k, l, eta, q_prim_vf, patch_id_fp) |
| This subroutine assigns the species primitive variables. This follows s_assign_patch_species_primitive_variables with adaptation for ensemble-averaged bubble modeling. | |
| impure subroutine, public | s_finalize_assign_variables_module |
| Nullifies the patch primitive variable assignment procedure pointer. | |
Variables | |
| type(scalar_field) | alf_sum |
| procedure(s_assign_patch_xxxxx_primitive_variables), pointer, public | s_assign_patch_primitive_variables => null() |
Assigns initial primitive variables to computational cells based on patch geometry.
| subroutine, public m_assign_variables::s_assign_patch_mixture_primitive_variables | ( | integer, intent(in) | patch_id, |
| integer, intent(in) | j, | ||
| integer, intent(in) | k, | ||
| integer, intent(in) | l, | ||
| real(wp), intent(in) | eta, | ||
| type(scalar_field), dimension(1:sys_size), intent(inout) | q_prim_vf, | ||
| integer, dimension(0:m, 0:n, 0:p), intent(inout) | patch_id_fp ) |
This subroutine assigns the mixture primitive variables of the patch designated by the patch_id, to the cell that is designated by the indexes (j,k,l). In addition, the variable bookkeeping the patch identities in the entire domain is updated with the new assignment. Note that if the smoothing of the patch's boundaries is employed, the ensuing primitive variables in the cell will be a type of combination of the current patch's primitive variables with those of the smoothing patch. The specific details of the combination may be found in Shyue's work (1998).
| patch_id | the patch identifier |
| j | the x-dir node index |
| k | the y-dir node index |
| l | the z-dir node index |
| eta | pseudo volume fraction |
| q_prim_vf | Primitive variables |
| patch_id_fp | Array to track patch ids |
Definition at line 409 of file m_assign_variables.fpp.f90.
| impure subroutine, public m_assign_variables::s_assign_patch_species_primitive_variables | ( | integer, intent(in) | patch_id, |
| integer, intent(in) | j, | ||
| integer, intent(in) | k, | ||
| integer, intent(in) | l, | ||
| real(wp), intent(in) | eta, | ||
| type(scalar_field), dimension(1:sys_size), intent(inout) | q_prim_vf, | ||
| integer, dimension(0:m, 0:n, 0:p), intent(inout) | patch_id_fp ) |
This subroutine assigns the species primitive variables. This follows s_assign_patch_species_primitive_variables with adaptation for ensemble-averaged bubble modeling.
| patch_id | the patch identifier |
| j | the x-dir node index |
| k | the y-dir node index |
| l | the z-dir node index |
| eta | pseudo volume fraction |
| q_prim_vf | Primitive variables |
| patch_id_fp | Array to track patch ids |
Definition at line 597 of file m_assign_variables.fpp.f90.
| impure subroutine, public m_assign_variables::s_finalize_assign_variables_module |
Nullifies the patch primitive variable assignment procedure pointer.
Definition at line 1042 of file m_assign_variables.fpp.f90.
| impure subroutine, public m_assign_variables::s_initialize_assign_variables_module |
Allocates volume fraction sum and sets the patch primitive variable assignment procedure pointer.
Definition at line 372 of file m_assign_variables.fpp.f90.
| subroutine, public m_assign_variables::s_perturb_primitive | ( | integer, intent(in) | j, |
| integer, intent(in) | k, | ||
| integer, intent(in) | l, | ||
| type(scalar_field), dimension(1:sys_size), intent(inout) | q_prim_vf ) |
Applies a stable pressure perturbation following Ando's method for bubble-laden flows.
| j | the x-dir node index |
| k | the y-dir node index |
| l | the z-dir node index |
| q_prim_vf | Primitive variables |
Definition at line 516 of file m_assign_variables.fpp.f90.
| type(scalar_field) m_assign_variables::alf_sum |
Definition at line 321 of file m_assign_variables.fpp.f90.
| procedure(s_assign_patch_xxxxx_primitive_variables), pointer, public m_assign_variables::s_assign_patch_primitive_variables => null() |
Definition at line 323 of file m_assign_variables.fpp.f90.