feq_d3q27 Function

public pure function feq_d3q27(i, j, k, rho, u, v, w) result(eq)

D3Q27 equilibirium definition in product form. Given in paper: The cumulant lattice Boltzmann equation in three dimensions: Theory and validation, Martin Geier .et al, Computers and Mathematics with Applicaitons, 2015.

Arguments

TypeIntentOptionalAttributesName
integer, intent(in) :: i

i, j, k are direction index, taking the value of -1, 0, 1

integer, intent(in) :: j

i, j, k are direction index, taking the value of -1, 0, 1

integer, intent(in) :: k

i, j, k are direction index, taking the value of -1, 0, 1

real(kind=rk), intent(in) :: rho

density and velocity

real(kind=rk), intent(in) :: u

density and velocity

real(kind=rk), intent(in) :: v

density and velocity

real(kind=rk), intent(in) :: w

density and velocity

Return Value real(kind=rk)

equilibirium density


Contents


Variables

TypeVisibilityAttributesNameInitial
real(kind=rk), private :: rho_part
real(kind=rk), private :: u_part
real(kind=rk), private :: v_part
real(kind=rk), private :: w_part
real(kind=rk), private :: cs