getEquilibriumIncomp Function

public pure function getEquilibriumIncomp(dens, vel, layout, rho0) result(equil)

Calculate the equilibrium distribution function in all directions This is the incompressible formulation with reference density rho0

The equilibrium distribution function is:\n \n where is the weight in each direction,\n is the macroscopic 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) :: dens
real(kind=rk), intent(in) :: vel(3)
type(mus_scheme_layout_type), intent(in) :: layout
real(kind=rk), intent(in) :: rho0

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


Called by

proc~~getequilibriumincomp~~CalledByGraph proc~getequilibriumincomp getEquilibriumIncomp proc~set_pdfdiffusive set_pdfDiffusive proc~set_pdfdiffusive->proc~getequilibriumincomp proc~set_pdfacoustic set_pdfAcoustic proc~set_pdfacoustic->proc~getequilibriumincomp proc~getshearstresstensorincomp_forpdfsubset getShearStressTensorIncomp_forPdfSubset proc~getshearstresstensorincomp_forpdfsubset->proc~getequilibriumincomp proc~getshearratetensor_acoustic_incomp getShearRateTensor_acoustic_incomp proc~getshearratetensor_acoustic_incomp->proc~getequilibriumincomp proc~mus_turbvisc_smagorinsky_fromprecolpdf_incomp mus_turbVisc_Smagorinsky_fromPreColPDF_incomp proc~mus_turbvisc_smagorinsky_fromprecolpdf_incomp->proc~getequilibriumincomp proc~fillmyghostsfromfiner_tgv3d fillMyGhostsFromFiner_TGV3D proc~fillmyghostsfromfiner_tgv3d->proc~set_pdfdiffusive proc~fillmyghostsfromfiner_tgv2d fillMyGhostsFromFiner_TGV2D proc~fillmyghostsfromfiner_tgv2d->proc~set_pdfdiffusive interface~getshearratetensor_acoustic getShearRateTensor_acoustic interface~getshearratetensor_acoustic->proc~getshearratetensor_acoustic_incomp proc~fillfinerghostsfromme_tgv3d fillFinerGhostsFromMe_TGV3D proc~fillfinerghostsfromme_tgv3d->proc~set_pdfdiffusive proc~fillfinerghostsfromme_tgv2d fillFinerGhostsFromMe_TGV2D proc~fillfinerghostsfromme_tgv2d->proc~set_pdfdiffusive interface~getshearstresstensor getShearStressTensor interface~getshearstresstensor->proc~getshearstresstensorincomp_forpdfsubset proc~getwss2d getWSS2D proc~getwss2d->interface~getshearstresstensor proc~getwss getWSS proc~getwss->interface~getshearstresstensor

Contents


Variables

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