mus_mixture_module Module

This module contains all information about fluid mixture


Uses

  • module~~mus_mixture_module~~UsesGraph module~mus_mixture_module mus_mixture_module module~tem_spatial_module tem_spatial_module module~mus_mixture_module->module~tem_spatial_module module~tem_tools_module tem_tools_module module~mus_mixture_module->module~tem_tools_module module~env_module env_module module~mus_mixture_module->module~env_module module~mus_physics_module mus_physics_module module~mus_mixture_module->module~mus_physics_module module~aotus_module aotus_module module~mus_mixture_module->module~aotus_module module~mus_scheme_header_module mus_scheme_header_module module~mus_mixture_module->module~mus_scheme_header_module iso_c_binding iso_c_binding module~mus_mixture_module->iso_c_binding module~aot_table_module aot_table_module module~mus_mixture_module->module~aot_table_module module~aot_out_module aot_out_module module~mus_mixture_module->module~aot_out_module module~tem_aux_module tem_aux_module module~mus_mixture_module->module~tem_aux_module module~tem_param_module tem_param_module module~mus_mixture_module->module~tem_param_module module~tem_spacetime_fun_module tem_spacetime_fun_module module~mus_mixture_module->module~tem_spacetime_fun_module module~tem_ini_condition_module tem_ini_condition_module module~mus_mixture_module->module~tem_ini_condition_module module~tem_temporal_module tem_temporal_module module~mus_mixture_module->module~tem_temporal_module module~mus_enrtl_module mus_eNRTL_module module~mus_mixture_module->module~mus_enrtl_module module~tem_logging_module tem_logging_module module~mus_mixture_module->module~tem_logging_module module~mus_physics_module->module~tem_tools_module module~mus_physics_module->module~env_module module~mus_physics_module->module~aotus_module module~mus_physics_module->module~aot_table_module module~mus_physics_module->module~aot_out_module module~mus_physics_module->module~tem_aux_module module~mus_physics_module->module~tem_logging_module module~treelmesh_module treelmesh_module module~mus_physics_module->module~treelmesh_module module~tem_geometry_module tem_geometry_module module~mus_physics_module->module~tem_geometry_module module~mus_scheme_header_module->module~tem_tools_module module~mus_scheme_header_module->module~env_module module~mus_scheme_header_module->module~aotus_module module~mus_scheme_header_module->module~aot_table_module module~mus_scheme_header_module->module~aot_out_module module~mus_scheme_header_module->module~tem_aux_module module~mus_scheme_header_module->module~tem_logging_module module~mus_enrtl_module->module~env_module module~mus_enrtl_module->iso_c_binding

Used by

  • module~~mus_mixture_module~~UsedByGraph module~mus_mixture_module mus_mixture_module module~mus_bc_passivescalar_module mus_bc_passiveScalar_module module~mus_bc_passivescalar_module->module~mus_mixture_module module~mus_bc_general_module mus_bc_general_module module~mus_bc_general_module->module~mus_mixture_module module~mus_bc_fluid_noneqexpol_module mus_bc_fluid_nonEqExpol_module module~mus_bc_fluid_noneqexpol_module->module~mus_mixture_module module~mus_bc_fluid_wall_module mus_bc_fluid_wall_module module~mus_bc_fluid_wall_module->module~mus_mixture_module module~mus_scheme_type_module mus_scheme_type_module module~mus_scheme_type_module->module~mus_mixture_module module~mus_bc_nernstplanck_module mus_bc_nernstPlanck_module module~mus_bc_nernstplanck_module->module~mus_mixture_module module~mus_msliquid_module mus_MSLiquid_module module~mus_msliquid_module->module~mus_mixture_module module~mus_field_module mus_field_module module~mus_field_module->module~mus_mixture_module module~mus_bc_species_module mus_bc_species_module module~mus_bc_species_module->module~mus_mixture_module module~mus_bc_fluid_turbulent_module mus_bc_fluid_turbulent_module module~mus_bc_fluid_turbulent_module->module~mus_mixture_module module~mus_bc_header_module mus_bc_header_module module~mus_bc_header_module->module~mus_mixture_module module~mus_bc_fluid_module mus_bc_fluid_module module~mus_bc_fluid_module->module~mus_mixture_module module~mus_bc_fluid_experimental_module mus_bc_fluid_experimental_module module~mus_bc_fluid_experimental_module->module~mus_mixture_module module~mus_bc_poisson_module mus_bc_poisson_module module~mus_bc_poisson_module->module~mus_mixture_module module~mus_scheme_module mus_scheme_module module~mus_scheme_module->module~mus_mixture_module module~mus_flow_module mus_flow_module module~mus_flow_module->module~mus_mixture_module

Contents


Derived Types

type, public :: mus_mixture_type

This type contains mixture information

Read more…

Components

TypeVisibilityAttributesNameInitial
type(tem_ini_condition_type), private :: ic

initialization case, initial condition of the mixture

real(kind=rk), private :: rho0

mass density of the mixture SI unit: kg/m^3. Physics to lattice conversion: rho0/physics%rho0

real(kind=rk), private :: rho0LB

lattice mass density of the mixture

real(kind=rk), private :: moleDens0

number density of the mixture or total mixture molar density SI unit: mol/m^3. physics to lattice conversion: nT0/physics%mol*physics%fac(minlevel)%length^3. mixture molar density is required if initial condition are defined by molar fraction. set only if initial molefraction is space independent

real(kind=rk), private :: moleDens0LB

lattice number density of the mixture or total mixture molar density physics to lattice conversion: moleDens0/physics%mol*physics%fac(minlevel)%length^3.

real(kind=rk), private :: kine_viscosityLB

lattice kinematic shear viscosity of the mixture

real(kind=rk), private :: kine_viscosity

physical kinematic shear viscosity of the mixture

real(kind=rk), private :: bulk_viscosityLB

lattice bulk viscosity

real(kind=rk), private :: bulk_viscosity

physical bulk viscosity

real(kind=rk), private :: bulk_modulusLB

lattice bulk modulus of the liquid mixture , - speed of sound (in lattice unit: \f$ 1/\sqrt{3} \f$

real(kind=rk), private :: omega_diff

relaxation parameter, , B - free parameter unit same as resistivity

real(kind=rk), private :: omega_kine
real(kind=rk), private :: omega_hom

omega for higher order moments

type(mixRelaxation_type), private :: relaxLvl(globalMaxLevels)

relaxation parameters for each level

type(tem_temporal_type), private :: omega_ramping

temporal omega for ramping etc.

real(kind=rk), private :: paramB

free parameter \f$ B = \omega*\rho/K \f$

real(kind=rk), private :: temp0

temperature

real(kind=rk), private :: temp0LB

temperature

real(kind=rk), private :: theta_eq

equilibrium theta to choose between mixture velocity and equilibrium species velocity in the quadratic term equilibrium function. theta = 0 -> mixture velocity theta = 1 -> equilibrium species velocity \todo KM: remove theta_eq and use mixture velocity in quadratic term of equilibrium function

type(tem_spatial_type), private :: viscSpatial

spatial omega definition, e.g. for sponge layers

real(kind=rk), private :: electricField(3)

external electrical force

real(kind=rk), private :: gravityField(3)

gravitational force

real(kind=rk), private :: faraday

faraday constant(C/mol)

real(kind=rk), private :: faradayLB

faraday constant in lattice

real(kind=rk), private :: gasConst_R

gas constant R (Nm/(mol *K))

real(kind=rk), private :: gasConst_R_LB

gas constant R in lattice

character(kind=c_char,len=labelLen), private :: prop_file

eNRTL file with species properties

real(kind=rk), private :: atm_press

atmospheric pressure

real(kind=rk), private :: atm_pressLB

atmospheric pressure

type, private :: mixRelaxation_type

relaxation paraemters multispecies required for each level

Components

TypeVisibilityAttributesNameInitial
real(kind=rk), private :: visc

lattice shear viscosity of the mixture for different level

real(kind=rk), private :: paramB

lattice free parameter B for different level

real(kind=rk), private :: bulkVisc

lattice bulk viscosity for different level

real(kind=rk), private :: omega_diff

relaxation parameter, , B - free parameter unit same as resistivity

real(kind=rk), private :: omega_kine

Subroutines

public subroutine mus_load_mixture(me, conf, parent, minLevel, maxLevel, physics, schemeHeader, nFields)

This routine load mixture table from scheme table. Define either mass density or number density. If mass density is specified, number density can be computed at runtime or vice versa. KM:

Read more…

Arguments

TypeIntentOptionalAttributesName
type(mus_mixture_type), intent(out) :: me

contains mixture information

type(flu_State) :: conf
integer, intent(in), optional :: parent
integer, intent(in) :: minLevel
integer, intent(in) :: maxLevel
type(mus_physics_type), intent(in) :: physics

physics type to convert physics to lattice unit or vice versa

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

identifier of the scheme

integer, intent(in) :: nFields

number of fields defined in lua file

public subroutine mus_mixture_out(me, conf, schemeHeader)

This routine write mixture properties into lua file

Arguments

TypeIntentOptionalAttributesName
type(mus_mixture_type), intent(in) :: me

mixture info

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

identifier of the scheme

private subroutine set_omegasLvl(mixture, minLevel, maxLevel, physics)

Set the omegas according to the time step setting

Read more…

Arguments

TypeIntentOptionalAttributesName
type(mus_mixture_type), intent(inout) :: mixture
integer, intent(in) :: minLevel
integer, intent(in) :: maxLevel
type(mus_physics_type), intent(in) :: physics

physics type to convert physics to lattice unit or vice versa