This module contains all information about fluid mixture
This type contains mixture information
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
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 |
relaxation paraemters multispecies required for each level
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
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 |
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:
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
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 |
This routine write mixture properties into lua file
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
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 |
Set the omegas according to the time step setting
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
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 |