Processing math: 100%

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 feqi=wiρ(1+ciuc2s+(ciu)22c4suu2c2s)

where wi is the weight in each direction,\n ρ is the macroscopic value of density,\n cs is the speed of sound,\n ci is the lattice unit velocity in each direction,\n u 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