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.

Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|

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 |

Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|

real(kind=rk), | private | :: | ucx | ||||

real(kind=rk), | private | :: | usq | ||||

integer, | private | :: | iDir |