mus_init_MSGas Subroutine

private subroutine mus_init_MSGas(me, tree, fac, state, neigh, field, nElems, nSize, iLevel)

Initialize the flow from calculated quantitites like density, velocity etc. for multispecies lbm

dens_1 | dens_2 | .. | dens_nElems | | ux_1 | uy_1 | uz_1 | .. .. | ux_nelems| uy_nelems| uz_nelems|

Arguments

TypeIntentOptionalAttributesName
type(mus_scheme_type), intent(inout) :: me
type(treelmesh_type), intent(in) :: tree
type(mus_convertFac_type), intent(in) :: fac
real(kind=rk), intent(inout) :: state(:)

PDF

integer, intent(in) :: neigh(:)

Connectivity array

type(mus_field_type), intent(inout) :: field(:)
integer, intent(in) :: nElems
integer, intent(in) :: nSize
integer, intent(in) :: iLevel

Calls

proc~~mus_init_msgas~~CallsGraph proc~mus_init_msgas mus_init_MSGas interface~tem_spatial_for tem_spatial_for proc~mus_init_msgas->interface~tem_spatial_for proc~tem_baryofid tem_BaryOfId proc~mus_init_msgas->proc~tem_baryofid

Called by

proc~~mus_init_msgas~~CalledByGraph proc~mus_init_msgas mus_init_MSGas proc~mus_init_byic mus_init_byIC proc~mus_init_byic->proc~mus_init_msgas proc~mus_init_flow mus_init_flow proc~mus_init_flow->proc~mus_init_byic proc~mus_initialize mus_initialize proc~mus_initialize->proc~mus_init_flow program~musubi musubi program~musubi->proc~mus_initialize

Contents


Variables

TypeVisibilityAttributesNameInitial
integer, private :: iDir
integer, private :: iElem
integer, private :: iField
integer, private :: nFields
integer, private :: offset
integer, private :: QQ
real(kind=rk), private, allocatable:: fEq(:)
real(kind=rk), private, allocatable:: xc(:,:)
real(kind=rk), private, allocatable:: ux(:,:)
real(kind=rk), private, allocatable:: uy(:,:)
real(kind=rk), private, allocatable:: uz(:,:)
real(kind=rk), private, allocatable:: rho(:,:)
real(kind=rk), private, allocatable:: rhoAll(:)
real(kind=rk), private, allocatable:: velAll(:,:)
real(kind=rk), private :: phi(me%nFields)
integer, private :: iChunk
integer, private :: nChunks
integer, private :: chunkSize
integer, private :: nChunkElems
integer, private :: elemPos
integer, private :: elemOff
integer, private :: nScalars