mus_isotherm_acEq_module Module

Routines and parameter definitions for the isothermal acoustic Eq D3Q19 model


Uses

Used by

  • module~~mus_isotherm_aceq_module~~UsedByGraph module~mus_isotherm_aceq_module mus_isotherm_acEq_module module~mus_initisothermaceq_module mus_initIsothermAcEq_module module~mus_initisothermaceq_module->module~mus_isotherm_aceq_module module~mus_flow_module mus_flow_module module~mus_flow_module->module~mus_initisothermaceq_module module~mus_dynloadbal_module mus_dynLoadBal_module module~mus_dynloadbal_module->module~mus_flow_module module~mus_program_module mus_program_module module~mus_program_module->module~mus_flow_module module~mus_program_module->module~mus_dynloadbal_module program~mus_harvesting mus_harvesting program~mus_harvesting->module~mus_flow_module program~musubi musubi program~musubi->module~mus_program_module

Variables

Type Visibility Attributes Name Initial
integer, private, parameter :: QQ = 19

Definition of the discrete velocity set

integer, private, parameter :: qN00 = 1
integer, private, parameter :: q0N0 = 2
integer, private, parameter :: q00N = 3
integer, private, parameter :: q100 = 4
integer, private, parameter :: q010 = 5
integer, private, parameter :: q001 = 6
integer, private, parameter :: q0NN = 7
integer, private, parameter :: q0N1 = 8
integer, private, parameter :: q01N = 9
integer, private, parameter :: q011 = 10
integer, private, parameter :: qN0N = 11
integer, private, parameter :: q10N = 12
integer, private, parameter :: qN01 = 13
integer, private, parameter :: q101 = 14
integer, private, parameter :: qNN0 = 15
integer, private, parameter :: qN10 = 16
integer, private, parameter :: q1N0 = 17
integer, private, parameter :: q110 = 18
integer, private, parameter :: q000 = 19
real(kind=rk), private, parameter :: f1 = 2.0_rk/5.0_rk
real(kind=rk), private, parameter :: f2 = 1.0_rk/30.0_rk
real(kind=rk), private, parameter :: f8 = 1.0_rk/30.0_rk

Subroutines

public subroutine bgk_advRel_isotherm_acEq_d3q19(fieldProp, inState, outState, auxField, neigh, nElems, nSolve, level, layout, params, varSys, derVarPos)

Advection relaxation routine for the D3Q19 model with BGK for the isothermal acoustic equation.

Read more…

Arguments

Type IntentOptional Attributes Name
type(mus_field_prop_type), intent(in) :: fieldProp(:)

Array of field properties (fluid or species)

real(kind=rk), intent(in) :: inState(nElems*varSys%nScalars)

input pdf vector

real(kind=rk), intent(out) :: outState(nElems*varSys%nScalars)

output pdf vector

real(kind=rk), intent(inout) :: auxField(nElems*varSys%nAuxScalars)

Auxiliary field computed from pre-collision state Is updated with correct velocity field for multicomponent models

integer, intent(in) :: neigh(nElems*layout%fStencil%QQ)

connectivity vector

integer, intent(in) :: nElems

number of elements in state Array

integer, intent(in) :: nSolve

number of elements solved in kernel

integer, intent(in) :: level

current level

type(mus_scheme_layout_type), intent(in) :: layout

current layout

type(mus_param_type), intent(in) :: params

global parameters

type(tem_varSys_type), intent(in) :: varSys

variable system definition

type(mus_derVarPos_type), intent(in) :: derVarPos(:)

position of derived quantities in varsys for all fields