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

Type IntentOptional Attributes Name
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)


Calls

proc~~geteqbydensvel~~CallsGraph proc~geteqbydensvel getEqByDensVel cxdirrk cxdirrk proc~geteqbydensvel->cxdirrk

Called by

proc~~geteqbydensvel~~CalledByGraph proc~geteqbydensvel getEqByDensVel interface~getequilibrium getEquilibrium interface~getequilibrium->proc~geteqbydensvel proc~mus_turbvisc_smagorinsky_fromprecolpdf_2d mus_turbVisc_Smagorinsky_fromPreColPDF_2D proc~mus_turbvisc_smagorinsky_fromprecolpdf_2d->interface~getequilibrium proc~mus_turbvisc_smagorinsky_fromprecolpdf_3d mus_turbVisc_Smagorinsky_fromPreColPDF_3D proc~mus_turbvisc_smagorinsky_fromprecolpdf_3d->interface~getequilibrium