Microflow 3D
v1.0
|
A class whose object is responsible for storing all case parameters. More...
#include <CaseParameters.h>
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::CaseParameters > | New (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... | |
A class whose object is responsible for storing all case parameters.
Definition at line 45 of file CaseParameters.h.
|
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.
|
default |
|
inlinestatic |
Definition at line 51 of file CaseParameters.h.
Referenced by main().
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().
bool MF::Solver_CPU::CaseParameters::AutomaticSurfaceChoice |
Definition at line 120 of file CaseParameters.h.
Referenced by CaseParameters().
double MF::Solver_CPU::CaseParameters::CharacteristicLength_L_CH_LB |
Characteristic length [Lu].
Definition at line 100 of file CaseParameters.h.
Referenced by CaseParameters().
double MF::Solver_CPU::CaseParameters::CharacteristicVelocityLBu_U_Ch_LB |
Characteristic velocity LB.
Definition at line 99 of file CaseParameters.h.
Referenced by CaseParameters().
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().
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().
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().
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().
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().
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().
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().
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().
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().
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().
double MF::Solver_CPU::CaseParameters::FluidLBuViscosity_Nu_LB |
Kinematic viscosity LB.
Definition at line 102 of file CaseParameters.h.
Referenced by CaseParameters().
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().
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().
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().
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().
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().
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().
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().
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().
GeometryDefinitionClass MF::Solver_CPU::CaseParameters::GeometryDefinition |
Geometry definition method: 0 - FromSTL.
Definition at line 63 of file CaseParameters.h.
Referenced by CaseParameters().
std::string MF::Solver_CPU::CaseParameters::GeometryName |
Name of the geometry.
Definition at line 54 of file CaseParameters.h.
Referenced by CaseParameters().
LatticeTypeClass MF::Solver_CPU::CaseParameters::LatticeType_La |
(D3Q19) Lattice type: 0 - D3Q19
Definition at line 66 of file CaseParameters.h.
Referenced by CaseParameters().
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().
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().
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().
double MF::Solver_CPU::CaseParameters::ReynoldsNumber_Re |
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().
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().
uint32_t MF::Solver_CPU::CaseParameters::ThreadMaxSize |
Definition at line 111 of file CaseParameters.h.
Referenced by CaseParameters().
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().
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().
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().
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().
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().
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().
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().
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().
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().
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().
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().
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().