getEquilibrium_forPdfSubset Function

private pure function getEquilibrium_forPdfSubset(subset, layout, varPos) result(equil)

Calculate the equilibrium distribution function in all directions

The equilibrim distribution function is:\n \n where is the weight in each direction,\n is the macroscopic value of density,\n is the speed of sound,\n is the lattice unit velocity in each direction,\n is the macroscopic value of velocity.

Arguments

TypeIntentOptionalAttributesName
real(kind=rk), intent(in) :: subset(:)
type(mus_scheme_layout_type), intent(in) :: layout
integer, intent(in) :: varPos(:)

Return Value real(kind=rk)(layout%fStencil%QQ)


Calls

proc~~getequilibrium_forpdfsubset~~CallsGraph proc~getequilibrium_forpdfsubset getEquilibrium_forPdfSubset proc~getvelocity_forpdfsubset getVelocity_forPdfSubset proc~getequilibrium_forpdfsubset->proc~getvelocity_forpdfsubset proc~getdensity_forpdfsubset getDensity_forPdfSubset proc~getequilibrium_forpdfsubset->proc~getdensity_forpdfsubset

Called by

proc~~getequilibrium_forpdfsubset~~CalledByGraph proc~getequilibrium_forpdfsubset getEquilibrium_forPdfSubset interface~getequilibrium getEquilibrium interface~getequilibrium->proc~getequilibrium_forpdfsubset proc~set_pdfacoustic set_pdfAcoustic proc~set_pdfacoustic->interface~getequilibrium proc~getshearstresstensor_forelemfromstate getShearStressTensor_forElemFromState proc~getshearstresstensor_forelemfromstate->interface~getequilibrium proc~getshearratetensor_acoustic_lbm getShearRateTensor_acoustic_lbm proc~getshearratetensor_acoustic_lbm->interface~getequilibrium proc~mus_turbvisc_smagorinsky_fromprecolpdf mus_turbVisc_Smagorinsky_fromPreColPDF proc~mus_turbvisc_smagorinsky_fromprecolpdf->interface~getequilibrium proc~getshearstresstensor_forpdfsubset getShearStressTensor_forPdfSubset proc~getshearstresstensor_forpdfsubset->interface~getequilibrium interface~getshearratetensor_acoustic getShearRateTensor_acoustic interface~getshearratetensor_acoustic->proc~getshearratetensor_acoustic_lbm interface~getshearstresstensor getShearStressTensor interface~getshearstresstensor->proc~getshearstresstensor_forelemfromstate interface~getshearstresstensor->proc~getshearstresstensor_forpdfsubset proc~getwss2d getWSS2D proc~getwss2d->interface~getshearstresstensor proc~getwss getWSS proc~getwss->interface~getshearstresstensor

Contents


Variables

TypeVisibilityAttributesNameInitial
real(kind=rk), private :: rho
real(kind=rk), private :: vel(3)
real(kind=rk), private :: ucx
real(kind=rk), private :: usq
integer, private :: iDir