init_boundary_single Subroutine

private subroutine init_boundary_single(bc, pdf, tree, levelDesc, layout, schemeHeader, varPos, varSys, derVarPos, globBC, bc_prop, state, auxField, fieldProp)

This subroutine sets the right boundary conditions for the different boundaries.

The boundary conditions were read in the order of config.lua the order in the boundary condition description file however might be different. We have to match the labels.

Arguments

TypeIntentOptionalAttributesName
type(boundary_type) :: bc(:)

global array boundary type

type(pdf_data_type), intent(in) :: pdf(tree%global%minLevel:tree%global%maxLevel)

contains global state vector

type(treelmesh_type), intent(in) :: tree

global treelm mesh

type(tem_levelDesc_type), intent(in) :: levelDesc(tree%global%minLevel:tree%global%maxLevel)

global pdf type

type(mus_scheme_layout_type), intent(in) :: layout

scheme layout type

type(mus_scheme_header_type), intent(in) :: schemeHeader

scheme header info

integer, intent(in) :: varPos(:)

varPos of current field variable

type(tem_varSys_type), intent(in) :: varSys

scheme variable system

type(mus_derVarPos_type), intent(in) :: derVarPos

position of derived quantities in varsys

type(glob_boundary_type), intent(inout) :: globBC(:)

scheme global boundary type

type(tem_BC_prop_type), intent(in) :: bc_prop

boundary property type

type(array2D_type), intent(in) :: state(tree%global%minLevel:tree%global%maxLevel)

contains global state vector

type(mus_auxFieldVar_type), intent(in) :: auxField(tree%global%minLevel:tree%global%maxLevel)

AuxField array

type(mus_field_prop_type), intent(in) :: fieldProp

fluid parameters and properties


Calls

proc~~init_boundary_single~~CallsGraph proc~init_boundary_single init_boundary_single proc~init_momentsbc init_momentsBC proc~init_boundary_single->proc~init_momentsbc proc~mus_setupindices_forbc mus_setupIndices_forBC proc~init_boundary_single->proc~mus_setupindices_forbc proc~mus_alloc_bouzidi mus_alloc_bouzidi proc~init_boundary_single->proc~mus_alloc_bouzidi proc~mus_set_bouzidi mus_set_bouzidi proc~init_boundary_single->proc~mus_set_bouzidi proc~tem_abort tem_abort proc~init_boundary_single->proc~tem_abort proc~init_nrbc init_nrbc proc~init_boundary_single->proc~init_nrbc proc~mus_set_inletbfl mus_set_inletBfl proc~init_boundary_single->proc~mus_set_inletbfl proc~mus_set_noneqexpol mus_set_nonEqExpol proc~init_boundary_single->proc~mus_set_noneqexpol proc~mus_set_inletubb mus_set_inletUbb proc~init_boundary_single->proc~mus_set_inletubb proc~mus_set_outletexpol mus_set_outletExpol proc~init_boundary_single->proc~mus_set_outletexpol proc~mus_init_turb_wallfunc mus_init_turb_wallFunc proc~init_boundary_single->proc~mus_init_turb_wallfunc proc~init_qvals init_qVals proc~init_boundary_single->proc~init_qvals proc~init_momentsbc->proc~tem_abort proc~invert_matrix invert_matrix proc~init_momentsbc->proc~invert_matrix proc~mus_setupindices_forbc->proc~tem_abort interface~init init proc~mus_setupindices_forbc->interface~init proc~mus_get_points_frombc mus_get_points_fromBC proc~mus_setupindices_forbc->proc~mus_get_points_frombc interface~append append proc~mus_setupindices_forbc->interface~append proc~set_bouzidi_coeff set_bouzidi_coeff proc~mus_set_bouzidi->proc~set_bouzidi_coeff proc~tem_baryofid tem_BaryOfId proc~mus_set_inletbfl->proc~tem_baryofid proc~tem_elemsizelevel tem_ElemSizeLevel proc~mus_set_inletbfl->proc~tem_elemsizelevel proc~mus_set_inletbfl->proc~set_bouzidi_coeff proc~mus_set_inletubb->proc~tem_baryofid proc~mus_set_inletubb->proc~tem_elemsizelevel proc~mus_init_turb_wallfunc->proc~tem_abort proc~init_qvals->interface~init proc~mus_get_points_frombc->proc~tem_baryofid proc~mus_get_points_frombc->proc~tem_elemsizelevel

Called by

proc~~init_boundary_single~~CalledByGraph proc~init_boundary_single init_boundary_single proc~mus_init_boundary mus_init_boundary proc~mus_init_boundary->proc~init_boundary_single proc~mus_initialize mus_initialize proc~mus_initialize->proc~mus_init_boundary proc~mus_reset_aux mus_reset_aux proc~mus_reset_aux->proc~mus_init_boundary program~musubi musubi program~musubi->proc~mus_initialize proc~mus_perform_dynloadbal mus_perform_dynLoadBal proc~mus_perform_dynloadbal->proc~mus_reset_aux none~do_balance do_balance none~do_balance->proc~mus_perform_dynloadbal

Contents


Variables

TypeVisibilityAttributesNameInitial
integer, private :: iBnd
integer, private :: iLevel
integer, private :: minLevel
integer, private :: maxLevel
integer, private :: nBCs
logical, private :: isWall