MFC
Exascale flow solver
Loading...
Searching...
No Matches
m_assign_variables Module Reference

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
 Set 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)
 Assign 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)
 Apply 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)
 Assign the species primitive variables, following s_assign_patch_species_primitive_variables with adaptation for ensemble-averaged bubble modeling.
subroutine s_scale_volume_fractions_to_void (q_prim_vf, j, k, l)
 Scale the liquid volume fractions of cell (j,k,l) so they sum to one minus the modeled gas void fraction.
impure subroutine, public s_finalize_assign_variables_module
 Nullify the patch primitive variable assignment procedure pointer.

Variables

procedure(s_assign_patch_xxxxx_primitive_variables), pointer, public s_assign_patch_primitive_variables => null()
 Pointer to mixture or species patch assignment routine.

Detailed Description

Assigns initial primitive variables to computational cells based on patch geometry.

Function/Subroutine Documentation

◆ s_assign_patch_mixture_primitive_variables()

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 )

Assign 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).

Definition at line 443 of file m_assign_variables.fpp.f90.

Here is the caller graph for this function:

◆ s_assign_patch_species_primitive_variables()

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 )

Assign the species primitive variables, following s_assign_patch_species_primitive_variables with adaptation for ensemble-averaged bubble modeling.

Definition at line 589 of file m_assign_variables.fpp.f90.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ s_finalize_assign_variables_module()

impure subroutine, public m_assign_variables::s_finalize_assign_variables_module

Nullify the patch primitive variable assignment procedure pointer.

Definition at line 895 of file m_assign_variables.fpp.f90.

Here is the caller graph for this function:

◆ s_initialize_assign_variables_module()

impure subroutine, public m_assign_variables::s_initialize_assign_variables_module

Set the patch primitive variable assignment procedure pointer.

Definition at line 426 of file m_assign_variables.fpp.f90.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ s_perturb_primitive()

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 )

Apply a stable pressure perturbation following Ando's method for bubble-laden flows.

Definition at line 519 of file m_assign_variables.fpp.f90.

◆ s_scale_volume_fractions_to_void()

subroutine m_assign_variables::s_scale_volume_fractions_to_void ( type(scalar_field), dimension(1:sys_size), intent(inout) q_prim_vf,
integer, intent(in) j,
integer, intent(in) k,
integer, intent(in) l )
private

Scale the liquid volume fractions of cell (j,k,l) so they sum to one minus the modeled gas void fraction.

Definition at line 859 of file m_assign_variables.fpp.f90.

Here is the caller graph for this function:

Variable Documentation

◆ s_assign_patch_primitive_variables

procedure(s_assign_patch_xxxxx_primitive_variables), pointer, public m_assign_variables::s_assign_patch_primitive_variables => null()

Pointer to mixture or species patch assignment routine.

Definition at line 395 of file m_assign_variables.fpp.f90.