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~mus_turbvisc_smagorinsky_fromprecolpdf_incomp mus_turbVisc_Smagorinsky_fromPreColPDF_incomp proc~mus_turbvisc_smagorinsky_fromprecolpdf_incomp->proc~getequilibriumincomp

Contents


Variables

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