mus_calcAuxField_fluidIncomp_d3q19 Subroutine

private subroutine mus_calcAuxField_fluidIncomp_d3q19(auxField, state, neigh, nSize, nSolve, iLevel, stencil, varSys, derVarPos)

This routine compute auxFields density and velocity for incompressible d3q19 model for fluid and nGhostFromCoarser elements

Arguments

TypeIntentOptionalAttributesName
real(kind=rk), intent(inout) :: auxField(:)

output auxField array

real(kind=rk), intent(in) :: state(:)

input state array

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

connectivity array

integer, intent(in) :: nSize

number of elements in the state array

integer, intent(in) :: nSolve

number of elements excluding halos

integer, intent(in) :: iLevel

current level

type(tem_stencilHeader_type), intent(in) :: stencil

stencil header

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

variable system definition

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

position of derived quantities in varsys


Contents


Variables

TypeVisibilityAttributesNameInitial
integer, private :: dens_pos
integer, private :: vel_pos(3)
integer, private :: elemOff
real(kind=rk), private :: rho
real(kind=rk), private :: pdf(19)
real(kind=rk), private :: u_x
real(kind=rk), private :: u_y
real(kind=rk), private :: u_z
integer, private :: iElem
integer, private :: QQ
integer, private :: nScalars