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
 Allocate volume fraction sum and 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.
impure subroutine, public s_finalize_assign_variables_module
 Nullify the patch primitive variable assignment procedure pointer.

Variables

type(scalar_fieldalf_sum
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 395 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 542 of file m_assign_variables.fpp.f90.

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 898 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

Allocate volume fraction sum and set the patch primitive variable assignment procedure pointer.

Definition at line 374 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 470 of file m_assign_variables.fpp.f90.

Variable Documentation

◆ alf_sum

type(scalar_field) m_assign_variables::alf_sum

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

◆ 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 343 of file m_assign_variables.fpp.f90.