mus_assign_mrt_ptr Subroutine

public subroutine mus_assign_mrt_ptr(mrtPtr, schemeHeader)

This function returns mrt function pointer according to scheme definition. In Jonas Toelke paper (2006) about MRT, the following notions are used:\n s(a) = s(2) s(b) = s(3) s(c) = s(5) = s(7) = s(9) s(d) = s(11) = s(13 s(e) = s(17) = s(18) = s(19) s(w) = s(10) = s(12) = s(14) = s(15) = s(16) It is suggested that, for D3Q19, s(a) = s(b) = s(c) = s(d) = s(e) = max( s(w), -1.0 ) Notice that the collision matrix S used in this papar corresponds to -omega in BGK model, because it express the LB equation is slightly different way.

Arguments

Type IntentOptional Attributes Name
procedure(mus_proc_mrt), pointer :: mrtPtr

mrt function pointer

type(mus_scheme_header_type), intent(in) :: schemeHeader

Scheme header information