getEqByDensVel Function

public pure function getEqByDensVel(dens, vel, layout) result(equil)

Calculate the equilibrium distribution function in all directions

The equilibrium distribution function is:\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) :: dens
real(kind=rk), intent(in) :: vel(3)
type(mus_scheme_layout_type), intent(in) :: layout

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


Called by

proc~~geteqbydensvel~~CalledByGraph proc~geteqbydensvel getEqByDensVel interface~getequilibrium getEquilibrium interface~getequilibrium->proc~geteqbydensvel proc~mus_turbvisc_smagorinsky_fromprecolpdf mus_turbVisc_Smagorinsky_fromPreColPDF proc~mus_turbvisc_smagorinsky_fromprecolpdf->interface~getequilibrium

Contents


Variables

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