Microflow 3D  v1.0
MF::Solver_CPU::CaseParameters Class Reference

A class whose object is responsible for storing all case parameters. More...

#include <CaseParameters.h>

Collaboration diagram for MF::Solver_CPU::CaseParameters:

Public Member Functions

 CaseParameters (const std::shared_ptr< MF::Database::ConfigData > &ConfigData_Ptr)
 
 ~CaseParameters ()=default
 

Static Public Member Functions

static std::shared_ptr< MF::Solver_CPU::CaseParametersNew (std::shared_ptr< MF::Database::ConfigData > ConfigData_Ptr)
 

Data Fields

std::string GeometryName
 Name of the geometry. More...
 
double VoxelSize
 Length of edge of square voxel (unite volume). E.g if the length of geometry edge equals 10 units and we want to have 11 nodes on the edge, the voxel size is 1. More...
 
double PhysicalVoxelSize
 Length in [m] that corresponds to 1 Lu (lattice unit length) or one voxel edge length. Physical length [m] corresponding to one unit length in LB (distance between two nodes). More...
 
double AddInnerWall
 Adds additional layer of points on inner wals when substracting small closed surfaces from the grid. The value should be < VoxelSize to add one voxel of luid. (0 = no addition). More...
 
GeometryDefinitionClass GeometryDefinition
 Geometry definition method: 0 - FromSTL. More...
 
FlowTypeClass FluidFlowModel_MT
 Flow models: 0 - quasi compressible (e.g air), 1 - incompressible (e.g water) - Zou et al. 1995. More...
 
ModelTypeClass CollisionModel_KT
 Collision models: 0 – BGK, 1 - MRT, 2 - FBGK (BGK with force), MRT2 - with optimized relaxation time parameters. More...
 
LatticeTypeClass LatticeType_La
 (D3Q19) Lattice type: 0 - D3Q19 More...
 
double FluidPhysicalViscosity_Nu_Phys
 The physical kinematic viscosity of the fluid [m^2/s]. More...
 
double FluidPhysicalReferenceDensity_Rho0_Phys
 The physical density of fluid [kg/m3]. More...
 
double Tau
 Tau > 0.5, minimal values (0.525 MRT, 0.58 BGK). More...
 
double ForceX_fiz
 The X component of the volumetric force, e.g. the force of gravity [N/m3]. More...
 
double ForceY_fiz
 The Y component of the volumetric force, e.g. the force of gravity [N/m3]. More...
 
double ForceZ_fiz
 The Z component of the volumetric force, e.g. the force of gravity [N/m3]. More...
 
double CharactLengthPhysical_L_CH_Phys
 Physical length [m] of characteristic dimension. More...
 
double CharactVelocityPhysical_U_CH_Phys
 Physical characteristic mean velocity for characteristic dimension [m/s]. More...
 
double Sc_VelocityResidueError_ErrV
 Velocity termination condition - the mean scaled residue of average velocity for subsequent steps. More...
 
double MassFlowError_ErrM
 Mass flow termination condition - the mass flow error for subsequent steps calculated for balance surfaces [%]. More...
 
double ReferenceDensityLB_Rho0_LB
 Density LB at the reference point, ususally at the outflow. More...
 
double XInitialVelocityUx0_Phys
 Initial value of velocity [m/s] in the X direction. More...
 
double YInitialVelocityUy0_Phys
 Initial value of velocity [m/s] in the Y direction. More...
 
double ZInitialVelocityUz0_Phys
 Initial value of velocity [m/s] in the Z direction. More...
 
int DefaultWallNode_BN
 The default type of node on the wall (40). More...
 
int DefaultNode_NN
 The default type of node unrecognized (61). More...
 
unsigned int XNodesNumber_Nx1
 Total number of nodes in X direction (geometry extent). More...
 
unsigned int YNodesNumber_Ny1
 Total number of nodes in Y direction (geometry extent). More...
 
unsigned int ZNodesNumber_Nz1
 Total number of nodes in Z direction (geometry extent). More...
 
double ReynoldsNumber_Re
 Reynolds number. More...
 
double CharacteristicVelocityLBu_U_Ch_LB
 Characteristic velocity LB. More...
 
double CharacteristicLength_L_CH_LB
 Characteristic length [Lu]. More...
 
double DTPhysical_Dt_Phys
 Physical time dt [s] corresponding to one time step LB. More...
 
double FluidLBuViscosity_Nu_LB
 Kinematic viscosity LB. More...
 
double ForceX_LB
 The X component of the volumetric force, e.g. the force of gravity. More...
 
double ForceY_LB
 The Y component of the volumetric force, e.g. the force of gravity. More...
 
double ForceZ_LB
 The Z component of the volumetric force, e.g. the force of gravity. More...
 
double XInitialVelocityLBu_Ux0_LB
 Initial value of LB velocity in the X direction. More...
 
double YInitialVelocityLBu_Uy0_LB
 Initial value of LB velocity in the Y direction. More...
 
double ZInitialVelocityLBu_Uz0_LB
 Initial value of LB velocity in the Z direction. More...
 
uint32_t ThreadMaxSize
 
unsigned int CheckPointNumberRead_CHP_R
 Check point number for resuming calculations, 0 - no check point resuming. More...
 
unsigned int VTKWriteStep_VTK_W
 Step for save check points and VTK/VTI data files, 0 - write data only at the begining and at the end of calculations. More...
 
unsigned int VTKFileMaxNumber_VTK_Max
 The maximum number of VTK/VTI files stored on the disk, in addition to initial and final files. More...
 
unsigned int ConsoleWriteStep_K_W
 The step for displaying information on the console. More...
 
bool AutomaticSurfaceChoice
 
int CPU_ThreadsNr {0}
 Number of CPU threads to allocate. More...
 

Detailed Description

A class whose object is responsible for storing all case parameters.

Definition at line 45 of file CaseParameters.h.

Constructor & Destructor Documentation

◆ CaseParameters()

MF::Solver_CPU::CaseParameters::CaseParameters ( const std::shared_ptr< MF::Database::ConfigData > &  ConfigData_Ptr)
explicit

Definition at line 12 of file CaseParameters.cpp.

References AddInnerWall, AutomaticSurfaceChoice, CharacteristicLength_L_CH_LB, CharacteristicVelocityLBu_U_Ch_LB, CharactLengthPhysical_L_CH_Phys, CharactVelocityPhysical_U_CH_Phys, CheckPointNumberRead_CHP_R, CollisionModel_KT, ConsoleWriteStep_K_W, CPU_ThreadsNr, DefaultNode_NN, DefaultWallNode_BN, DTPhysical_Dt_Phys, FluidFlowModel_MT, FluidLBuViscosity_Nu_LB, FluidPhysicalReferenceDensity_Rho0_Phys, FluidPhysicalViscosity_Nu_Phys, ForceX_fiz, ForceX_LB, ForceY_fiz, ForceY_LB, ForceZ_fiz, ForceZ_LB, GeometryDefinition, GeometryName, LatticeType_La, MassFlowError_ErrM, PhysicalVoxelSize, ReferenceDensityLB_Rho0_LB, ReynoldsNumber_Re, Sc_VelocityResidueError_ErrV, Tau, ThreadMaxSize, VoxelSize, VTKFileMaxNumber_VTK_Max, VTKWriteStep_VTK_W, XInitialVelocityLBu_Ux0_LB, XInitialVelocityUx0_Phys, XNodesNumber_Nx1, YInitialVelocityLBu_Uy0_LB, YInitialVelocityUy0_Phys, YNodesNumber_Ny1, ZInitialVelocityLBu_Uz0_LB, ZInitialVelocityUz0_Phys, and ZNodesNumber_Nz1.

12  {
13  try {
14  //Geometry parameters
15  GeometryName = ConfigData_Ptr->getCaseStringParam("GeometryParams.GeometryName");
16  VoxelSize = ConfigData_Ptr->getCaseFloatParam("GeometryParams.VoxelSize");
17  PhysicalVoxelSize = ConfigData_Ptr->getCaseFloatParam("GeometryParams.PhysicalVoxelSize");
18  AddInnerWall = ConfigData_Ptr->getCaseFloatParam("GeometryParams.AddInnerWall");
19 
20  //Parameters of model
21  GeometryDefinition = (GeometryDefinitionClass) ConfigData_Ptr->getGeometryDefinition();
22  FluidFlowModel_MT = (FlowTypeClass) ConfigData_Ptr->getFlowType();
23  CollisionModel_KT = (ModelTypeClass) ConfigData_Ptr->getModelType();
24  LatticeType_La = (LatticeTypeClass) ConfigData_Ptr->getLatticeType();
25 
26  //Physical parameters of simulation
27  FluidPhysicalViscosity_Nu_Phys = ConfigData_Ptr->getCaseFloatParam("PhysicalParams.FluidPhysicalViscosity_Nu_Phys");
28  FluidPhysicalReferenceDensity_Rho0_Phys = ConfigData_Ptr->getCaseFloatParam("PhysicalParams.FluidPhysicalReferenceDensity_Rho0_Phys");
29  Tau = ConfigData_Ptr->getCaseFloatParam("PhysicalParams.Tau");
30  ForceX_fiz = ConfigData_Ptr->getCaseFloatVectorParam(0, "PhysicalParams.XYZForce_fiz");
31  ForceY_fiz = ConfigData_Ptr->getCaseFloatVectorParam(1, "PhysicalParams.XYZForce_fiz");
32  ForceZ_fiz = ConfigData_Ptr->getCaseFloatVectorParam(2, "PhysicalParams.XYZForce_fiz");
33 
34  //Case characteristic parameters
35  CharactLengthPhysical_L_CH_Phys = ConfigData_Ptr->getCaseFloatParam("CharactersticParams.CharactLengthPhysical_L_CH_Phys");
36  CharactVelocityPhysical_U_CH_Phys = ConfigData_Ptr->getCaseFloatParam("CharactersticParams.CharactVelocityPhysical_U_CH_Phys");
37 
38  //Termination conditions
39  Sc_VelocityResidueError_ErrV = ConfigData_Ptr->getCaseFloatParam("TerminationCondition.Sc_VelocityResidueError_ErrV");
40  MassFlowError_ErrM = ConfigData_Ptr->getCaseFloatParam("TerminationCondition.MassFlowError_ErrM");
41 
42  //Initial and reference conditions
43  ReferenceDensityLB_Rho0_LB = ConfigData_Ptr->getCaseFloatParam("InitialCondition.ReferenceDensityLB_Rho0_LB");
44 
45  XInitialVelocityUx0_Phys = ConfigData_Ptr->getCaseFloatVectorParam(0, "InitialCondition.XYZInitialVelocityPhysical_U0");
46  YInitialVelocityUy0_Phys = ConfigData_Ptr->getCaseFloatVectorParam(1, "InitialCondition.XYZInitialVelocityPhysical_U0");
47  ZInitialVelocityUz0_Phys = ConfigData_Ptr->getCaseFloatVectorParam(2, "InitialCondition.XYZInitialVelocityPhysical_U0");
48 
49  //Parameters of automatic detection and addition of boundary nodes
50  DefaultWallNode_BN = ConfigData_Ptr->getCaseIntParam("DefaultBoundaryCondition.DefaultWallNode_BN");
51  DefaultNode_NN = ConfigData_Ptr->getCaseIntParam("DefaultBoundaryCondition.DefaultNode_NN");
52 
53  // Global parameters calculated during initialization
54  XNodesNumber_Nx1 = (0);
55  YNodesNumber_Ny1 = (0);
56  ZNodesNumber_Nz1 = (0);
57  ReynoldsNumber_Re = (0.0);
59  DTPhysical_Dt_Phys = (0.0);
62  ForceX_LB = (0.0);
63  ForceY_LB = (0.0);
64  ForceZ_LB = (0.0);
68 
69  //MFThread parameters
70  ThreadMaxSize = ConfigData_Ptr->getCaseIntParam("ThreadParams.MFThreadMaxSize");
71 
72  //Calculation and display parameters
73  CheckPointNumberRead_CHP_R = ConfigData_Ptr->getCaseIntParam("RWParams.CheckPointNumberRead_CHP_R");
74  VTKWriteStep_VTK_W = ConfigData_Ptr->getCaseIntParam("RWParams.VTKWriteStep_VTK_W");
75  VTKFileMaxNumber_VTK_Max = ConfigData_Ptr->getCaseIntParam("RWParams.VTKFileMaxNumber_VTK_Max");
76  ConsoleWriteStep_K_W = ConfigData_Ptr->getCaseIntParam("RWParams.ConsoleWriteStep_K_W");
77 
78  //Mass balance surface choice params
79  AutomaticSurfaceChoice = ConfigData_Ptr->getCaseBooleanParam("BalanceParams.AutomaticSurfaceChoice");
80 
81  // CPU parameters
82  CPU_ThreadsNr = ConfigData_Ptr->getCaseIntParam("CPUParams.CPU_ThreadsNr");
83 
84  }
85  catch (const config4cpp::ConfigurationException &exception) {
86  std::cout << "[CaseParameters::Initialize] Error during initialization of case parameter from a file: ";
87  std::cout << exception.c_str() << std::endl;
88  exit(EXIT_FAILURE);
89  }
90 }
double PhysicalVoxelSize
Length in [m] that corresponds to 1 Lu (lattice unit length) or one voxel edge length. Physical length [m] corresponding to one unit length in LB (distance between two nodes).
double FluidLBuViscosity_Nu_LB
Kinematic viscosity LB.
double ForceY_LB
The Y component of the volumetric force, e.g. the force of gravity.
int DefaultWallNode_BN
The default type of node on the wall (40).
ModelTypeClass CollisionModel_KT
Collision models: 0 – BGK, 1 - MRT, 2 - FBGK (BGK with force), MRT2 - with optimized relaxation time...
double YInitialVelocityUy0_Phys
Initial value of velocity [m/s] in the Y direction.
double FluidPhysicalViscosity_Nu_Phys
The physical kinematic viscosity of the fluid [m^2/s].
unsigned int VTKFileMaxNumber_VTK_Max
The maximum number of VTK/VTI files stored on the disk, in addition to initial and final files...
unsigned int XNodesNumber_Nx1
Total number of nodes in X direction (geometry extent).
double AddInnerWall
Adds additional layer of points on inner wals when substracting small closed surfaces from the grid...
FlowTypeClass FluidFlowModel_MT
Flow models: 0 - quasi compressible (e.g air), 1 - incompressible (e.g water) - Zou et al...
double ReferenceDensityLB_Rho0_LB
Density LB at the reference point, ususally at the outflow.
unsigned int VTKWriteStep_VTK_W
Step for save check points and VTK/VTI data files, 0 - write data only at the begining and at the end...
double XInitialVelocityLBu_Ux0_LB
Initial value of LB velocity in the X direction.
LatticeTypeClass
Enumeration class of lattice configurations.
double CharactLengthPhysical_L_CH_Phys
Physical length [m] of characteristic dimension.
double ForceX_fiz
The X component of the volumetric force, e.g. the force of gravity [N/m3].
GeometryDefinitionClass GeometryDefinition
Geometry definition method: 0 - FromSTL.
LatticeTypeClass LatticeType_La
(D3Q19) Lattice type: 0 - D3Q19
double CharacteristicLength_L_CH_LB
Characteristic length [Lu].
GeometryDefinitionClass
Enumeration class of geometry definition method.
double ForceX_LB
The X component of the volumetric force, e.g. the force of gravity.
ModelTypeClass
Enumeration class of collision models.
double Tau
Tau > 0.5, minimal values (0.525 MRT, 0.58 BGK).
double ZInitialVelocityUz0_Phys
Initial value of velocity [m/s] in the Z direction.
int CPU_ThreadsNr
Number of CPU threads to allocate.
double YInitialVelocityLBu_Uy0_LB
Initial value of LB velocity in the Y direction.
double ZInitialVelocityLBu_Uz0_LB
Initial value of LB velocity in the Z direction.
double VoxelSize
Length of edge of square voxel (unite volume). E.g if the length of geometry edge equals 10 units and...
double XInitialVelocityUx0_Phys
Initial value of velocity [m/s] in the X direction.
double ForceY_fiz
The Y component of the volumetric force, e.g. the force of gravity [N/m3].
double MassFlowError_ErrM
Mass flow termination condition - the mass flow error for subsequent steps calculated for balance sur...
double ForceZ_fiz
The Z component of the volumetric force, e.g. the force of gravity [N/m3].
unsigned int ConsoleWriteStep_K_W
The step for displaying information on the console.
unsigned int YNodesNumber_Ny1
Total number of nodes in Y direction (geometry extent).
int DefaultNode_NN
The default type of node unrecognized (61).
double CharacteristicVelocityLBu_U_Ch_LB
Characteristic velocity LB.
double ForceZ_LB
The Z component of the volumetric force, e.g. the force of gravity.
double ReynoldsNumber_Re
Reynolds number.
double FluidPhysicalReferenceDensity_Rho0_Phys
The physical density of fluid [kg/m3].
FlowTypeClass
Enumeration class of flow models.
unsigned int CheckPointNumberRead_CHP_R
Check point number for resuming calculations, 0 - no check point resuming.
double Sc_VelocityResidueError_ErrV
Velocity termination condition - the mean scaled residue of average velocity for subsequent steps...
double CharactVelocityPhysical_U_CH_Phys
Physical characteristic mean velocity for characteristic dimension [m/s].
double DTPhysical_Dt_Phys
Physical time dt [s] corresponding to one time step LB.
unsigned int ZNodesNumber_Nz1
Total number of nodes in Z direction (geometry extent).
std::string GeometryName
Name of the geometry.

◆ ~CaseParameters()

MF::Solver_CPU::CaseParameters::~CaseParameters ( )
default

Member Function Documentation

◆ New()

static std::shared_ptr<MF::Solver_CPU::CaseParameters> MF::Solver_CPU::CaseParameters::New ( std::shared_ptr< MF::Database::ConfigData ConfigData_Ptr)
inlinestatic

Definition at line 51 of file CaseParameters.h.

Referenced by main().

51  {
52  auto CaseParameters_Ptr = std::make_shared<MF::Solver_CPU::CaseParameters>(ConfigData_Ptr);
53  return CaseParameters_Ptr;
54  };

Field Documentation

◆ AddInnerWall

double MF::Solver_CPU::CaseParameters::AddInnerWall

Adds additional layer of points on inner wals when substracting small closed surfaces from the grid. The value should be < VoxelSize to add one voxel of luid. (0 = no addition).

Definition at line 60 of file CaseParameters.h.

Referenced by CaseParameters().

◆ AutomaticSurfaceChoice

bool MF::Solver_CPU::CaseParameters::AutomaticSurfaceChoice

Definition at line 120 of file CaseParameters.h.

Referenced by CaseParameters().

◆ CharacteristicLength_L_CH_LB

double MF::Solver_CPU::CaseParameters::CharacteristicLength_L_CH_LB

Characteristic length [Lu].

Definition at line 100 of file CaseParameters.h.

Referenced by CaseParameters().

◆ CharacteristicVelocityLBu_U_Ch_LB

double MF::Solver_CPU::CaseParameters::CharacteristicVelocityLBu_U_Ch_LB

Characteristic velocity LB.

Definition at line 99 of file CaseParameters.h.

Referenced by CaseParameters().

◆ CharactLengthPhysical_L_CH_Phys

double MF::Solver_CPU::CaseParameters::CharactLengthPhysical_L_CH_Phys

Physical length [m] of characteristic dimension.

Definition at line 77 of file CaseParameters.h.

Referenced by CaseParameters().

◆ CharactVelocityPhysical_U_CH_Phys

double MF::Solver_CPU::CaseParameters::CharactVelocityPhysical_U_CH_Phys

Physical characteristic mean velocity for characteristic dimension [m/s].

Definition at line 78 of file CaseParameters.h.

Referenced by CaseParameters().

◆ CheckPointNumberRead_CHP_R

unsigned int MF::Solver_CPU::CaseParameters::CheckPointNumberRead_CHP_R

Check point number for resuming calculations, 0 - no check point resuming.

Definition at line 114 of file CaseParameters.h.

Referenced by CaseParameters().

◆ CollisionModel_KT

ModelTypeClass MF::Solver_CPU::CaseParameters::CollisionModel_KT

Collision models: 0 – BGK, 1 - MRT, 2 - FBGK (BGK with force), MRT2 - with optimized relaxation time parameters.

Definition at line 65 of file CaseParameters.h.

Referenced by CaseParameters().

◆ ConsoleWriteStep_K_W

unsigned int MF::Solver_CPU::CaseParameters::ConsoleWriteStep_K_W

The step for displaying information on the console.

Definition at line 117 of file CaseParameters.h.

Referenced by CaseParameters().

◆ CPU_ThreadsNr

int MF::Solver_CPU::CaseParameters::CPU_ThreadsNr {0}

Number of CPU threads to allocate.

Definition at line 123 of file CaseParameters.h.

Referenced by CaseParameters().

◆ DefaultNode_NN

int MF::Solver_CPU::CaseParameters::DefaultNode_NN

The default type of node unrecognized (61).

Definition at line 92 of file CaseParameters.h.

Referenced by CaseParameters().

◆ DefaultWallNode_BN

int MF::Solver_CPU::CaseParameters::DefaultWallNode_BN

The default type of node on the wall (40).

Definition at line 91 of file CaseParameters.h.

Referenced by CaseParameters().

◆ DTPhysical_Dt_Phys

double MF::Solver_CPU::CaseParameters::DTPhysical_Dt_Phys

Physical time dt [s] corresponding to one time step LB.

Definition at line 101 of file CaseParameters.h.

Referenced by CaseParameters().

◆ FluidFlowModel_MT

FlowTypeClass MF::Solver_CPU::CaseParameters::FluidFlowModel_MT

Flow models: 0 - quasi compressible (e.g air), 1 - incompressible (e.g water) - Zou et al. 1995.

Definition at line 64 of file CaseParameters.h.

Referenced by CaseParameters().

◆ FluidLBuViscosity_Nu_LB

double MF::Solver_CPU::CaseParameters::FluidLBuViscosity_Nu_LB

Kinematic viscosity LB.

Definition at line 102 of file CaseParameters.h.

Referenced by CaseParameters().

◆ FluidPhysicalReferenceDensity_Rho0_Phys

double MF::Solver_CPU::CaseParameters::FluidPhysicalReferenceDensity_Rho0_Phys

The physical density of fluid [kg/m3].

Definition at line 70 of file CaseParameters.h.

Referenced by CaseParameters().

◆ FluidPhysicalViscosity_Nu_Phys

double MF::Solver_CPU::CaseParameters::FluidPhysicalViscosity_Nu_Phys

The physical kinematic viscosity of the fluid [m^2/s].

Definition at line 69 of file CaseParameters.h.

Referenced by CaseParameters().

◆ ForceX_fiz

double MF::Solver_CPU::CaseParameters::ForceX_fiz

The X component of the volumetric force, e.g. the force of gravity [N/m3].

Definition at line 72 of file CaseParameters.h.

Referenced by CaseParameters().

◆ ForceX_LB

double MF::Solver_CPU::CaseParameters::ForceX_LB

The X component of the volumetric force, e.g. the force of gravity.

Definition at line 103 of file CaseParameters.h.

Referenced by CaseParameters().

◆ ForceY_fiz

double MF::Solver_CPU::CaseParameters::ForceY_fiz

The Y component of the volumetric force, e.g. the force of gravity [N/m3].

Definition at line 73 of file CaseParameters.h.

Referenced by CaseParameters().

◆ ForceY_LB

double MF::Solver_CPU::CaseParameters::ForceY_LB

The Y component of the volumetric force, e.g. the force of gravity.

Definition at line 104 of file CaseParameters.h.

Referenced by CaseParameters().

◆ ForceZ_fiz

double MF::Solver_CPU::CaseParameters::ForceZ_fiz

The Z component of the volumetric force, e.g. the force of gravity [N/m3].

Definition at line 74 of file CaseParameters.h.

Referenced by CaseParameters().

◆ ForceZ_LB

double MF::Solver_CPU::CaseParameters::ForceZ_LB

The Z component of the volumetric force, e.g. the force of gravity.

Definition at line 105 of file CaseParameters.h.

Referenced by CaseParameters().

◆ GeometryDefinition

GeometryDefinitionClass MF::Solver_CPU::CaseParameters::GeometryDefinition

Geometry definition method: 0 - FromSTL.

Definition at line 63 of file CaseParameters.h.

Referenced by CaseParameters().

◆ GeometryName

std::string MF::Solver_CPU::CaseParameters::GeometryName

Name of the geometry.

Definition at line 54 of file CaseParameters.h.

Referenced by CaseParameters().

◆ LatticeType_La

LatticeTypeClass MF::Solver_CPU::CaseParameters::LatticeType_La

(D3Q19) Lattice type: 0 - D3Q19

Definition at line 66 of file CaseParameters.h.

Referenced by CaseParameters().

◆ MassFlowError_ErrM

double MF::Solver_CPU::CaseParameters::MassFlowError_ErrM

Mass flow termination condition - the mass flow error for subsequent steps calculated for balance surfaces [%].

Definition at line 82 of file CaseParameters.h.

Referenced by CaseParameters().

◆ PhysicalVoxelSize

double MF::Solver_CPU::CaseParameters::PhysicalVoxelSize

Length in [m] that corresponds to 1 Lu (lattice unit length) or one voxel edge length. Physical length [m] corresponding to one unit length in LB (distance between two nodes).

Definition at line 59 of file CaseParameters.h.

Referenced by CaseParameters().

◆ ReferenceDensityLB_Rho0_LB

double MF::Solver_CPU::CaseParameters::ReferenceDensityLB_Rho0_LB

Density LB at the reference point, ususally at the outflow.

Definition at line 85 of file CaseParameters.h.

Referenced by CaseParameters().

◆ ReynoldsNumber_Re

double MF::Solver_CPU::CaseParameters::ReynoldsNumber_Re

Reynolds number.

Definition at line 98 of file CaseParameters.h.

Referenced by CaseParameters().

◆ Sc_VelocityResidueError_ErrV

double MF::Solver_CPU::CaseParameters::Sc_VelocityResidueError_ErrV

Velocity termination condition - the mean scaled residue of average velocity for subsequent steps.

Definition at line 81 of file CaseParameters.h.

Referenced by CaseParameters().

◆ Tau

double MF::Solver_CPU::CaseParameters::Tau

Tau > 0.5, minimal values (0.525 MRT, 0.58 BGK).

Definition at line 71 of file CaseParameters.h.

Referenced by CaseParameters().

◆ ThreadMaxSize

uint32_t MF::Solver_CPU::CaseParameters::ThreadMaxSize

Definition at line 111 of file CaseParameters.h.

Referenced by CaseParameters().

◆ VoxelSize

double MF::Solver_CPU::CaseParameters::VoxelSize

Length of edge of square voxel (unite volume). E.g if the length of geometry edge equals 10 units and we want to have 11 nodes on the edge, the voxel size is 1.

Definition at line 58 of file CaseParameters.h.

Referenced by CaseParameters().

◆ VTKFileMaxNumber_VTK_Max

unsigned int MF::Solver_CPU::CaseParameters::VTKFileMaxNumber_VTK_Max

The maximum number of VTK/VTI files stored on the disk, in addition to initial and final files.

Definition at line 116 of file CaseParameters.h.

Referenced by CaseParameters().

◆ VTKWriteStep_VTK_W

unsigned int MF::Solver_CPU::CaseParameters::VTKWriteStep_VTK_W

Step for save check points and VTK/VTI data files, 0 - write data only at the begining and at the end of calculations.

Definition at line 115 of file CaseParameters.h.

Referenced by CaseParameters().

◆ XInitialVelocityLBu_Ux0_LB

double MF::Solver_CPU::CaseParameters::XInitialVelocityLBu_Ux0_LB

Initial value of LB velocity in the X direction.

Definition at line 106 of file CaseParameters.h.

Referenced by CaseParameters().

◆ XInitialVelocityUx0_Phys

double MF::Solver_CPU::CaseParameters::XInitialVelocityUx0_Phys

Initial value of velocity [m/s] in the X direction.

Definition at line 86 of file CaseParameters.h.

Referenced by CaseParameters().

◆ XNodesNumber_Nx1

unsigned int MF::Solver_CPU::CaseParameters::XNodesNumber_Nx1

Total number of nodes in X direction (geometry extent).

Definition at line 95 of file CaseParameters.h.

Referenced by CaseParameters().

◆ YInitialVelocityLBu_Uy0_LB

double MF::Solver_CPU::CaseParameters::YInitialVelocityLBu_Uy0_LB

Initial value of LB velocity in the Y direction.

Definition at line 107 of file CaseParameters.h.

Referenced by CaseParameters().

◆ YInitialVelocityUy0_Phys

double MF::Solver_CPU::CaseParameters::YInitialVelocityUy0_Phys

Initial value of velocity [m/s] in the Y direction.

Definition at line 87 of file CaseParameters.h.

Referenced by CaseParameters().

◆ YNodesNumber_Ny1

unsigned int MF::Solver_CPU::CaseParameters::YNodesNumber_Ny1

Total number of nodes in Y direction (geometry extent).

Definition at line 96 of file CaseParameters.h.

Referenced by CaseParameters().

◆ ZInitialVelocityLBu_Uz0_LB

double MF::Solver_CPU::CaseParameters::ZInitialVelocityLBu_Uz0_LB

Initial value of LB velocity in the Z direction.

Definition at line 108 of file CaseParameters.h.

Referenced by CaseParameters().

◆ ZInitialVelocityUz0_Phys

double MF::Solver_CPU::CaseParameters::ZInitialVelocityUz0_Phys

Initial value of velocity [m/s] in the Z direction.

Definition at line 88 of file CaseParameters.h.

Referenced by CaseParameters().

◆ ZNodesNumber_Nz1

unsigned int MF::Solver_CPU::CaseParameters::ZNodesNumber_Nz1

Total number of nodes in Z direction (geometry extent).

Definition at line 97 of file CaseParameters.h.

Referenced by CaseParameters().


The documentation for this class was generated from the following files: