Microflow 3D
v1.0
|
The class of methods converting between LB and physical values and vice versa. More...
#include <ParametersConversion.h>
Public Member Functions | |
ParametersConversion ()=default | |
~ParametersConversion ()=default | |
Static Public Member Functions | |
static void | Initialize (const std::shared_ptr< MF::Database::ConfigData > &ConfigData_Ptr, const std::shared_ptr< MF::GU::LatticeParametersD3Q19 > &LatticeParameters_Ptr) |
static void | ComputeBasicParameters (const std::shared_ptr< MF::Solver_CPU::CaseParameters > &CaseParameters_Ptr, const openvdb::Int64Grid::Ptr &VDBGrid_Ptr) |
Compute: Re, l_ch_LB, Cu, u_ch_LB, dt_phys, nu_LB. More... | |
static double | ULB_toPhys (double u_LB) |
Converts LB velocity to physical velocity. More... | |
static MF::Database::Vec3< double > | ULB_toPhys (MF::Database::Vec3< double > u_LB) |
Converts vector data: LB velocity to physical velocity. More... | |
static double | UPhys_toLB (double u_phys) |
Converts physical velocity to LB velocity. More... | |
static MF::Database::Vec3< double > | UPhys_toLB (MF::Database::Vec3< double > u_phys) |
Converts vector data: physical velocity to LB velocity. More... | |
static double | RhoLB_toPressurePhys (double rho_LB) |
Converts rho LB to physical pressure. More... | |
static double | PressurePhys_toRhoLB (double p_phys) |
Converts physical pressure to rho LB. More... | |
static double | RhoLB_toRhoPhys (double rho_LB) |
Converts rho LB to physical density. More... | |
static double | RhoPhys_toRhoLB (double rho_phys) |
Converts physical density to rho LB. More... | |
static double | FPhys_toFLB (double F_phys) |
Physical force to LB force. More... | |
static MF::Database::Vec3< double > | FPhys_toFLB (MF::Database::Vec3< double > F_phys) |
Physical force to LB force. More... | |
static double | FLB_toFPhys (double F_LB) |
LB force to physical force. More... | |
The class of methods converting between LB and physical values and vice versa.
Definition at line 23 of file ParametersConversion.h.
|
default |
|
default |
|
static |
Compute: Re, l_ch_LB, Cu, u_ch_LB, dt_phys, nu_LB.
Definition at line 30 of file ParametersConversion.cpp.
References FPhys_toFLB(), and UPhys_toLB().
Referenced by Initialize(), and main().
|
inlinestatic |
LB force to physical force.
Definition at line 133 of file ParametersConversion.h.
|
inlinestatic |
Physical force to LB force.
Definition at line 117 of file ParametersConversion.h.
Referenced by ComputeBasicParameters(), and MF::Solver_CPU::Initialization::ThreadDataInitialize().
|
inlinestatic |
Physical force to LB force.
Definition at line 123 of file ParametersConversion.h.
References MF::Database::Vec3< T >::x, MF::Database::Vec3< T >::y, and MF::Database::Vec3< T >::z.
|
inlinestatic |
Definition at line 30 of file ParametersConversion.h.
References ComputeBasicParameters().
Referenced by main().
|
inlinestatic |
Converts physical pressure to rho LB.
Definition at line 94 of file ParametersConversion.h.
Referenced by MF::Solver_CPU::Initialization::ThreadDataInitialize().
|
inlinestatic |
Converts rho LB to physical pressure.
Definition at line 88 of file ParametersConversion.h.
Referenced by MF::RW::VTIWriter< T_VDBGridType >::addPressPhysFromThread().
|
inlinestatic |
Converts rho LB to physical density.
Definition at line 100 of file ParametersConversion.h.
Referenced by MF::RW::VTIWriter< T_VDBGridType >::addRhoPhysFromThread(), MF::Solver_CPU::Calculations::DeltaMassFlow_fiz(), and MF::Solver_CPU::Calculations::DeltaMassFlowThread_fiz().
|
inlinestatic |
Converts physical density to rho LB.
Definition at line 111 of file ParametersConversion.h.
|
inlinestatic |
Converts LB velocity to physical velocity.
Definition at line 58 of file ParametersConversion.h.
Referenced by MF::RW::VTIWriter< T_VDBGridType >::addVelocityPhysFromThread(), MF::Solver_CPU::Calculations::DeltaMassFlow_fiz(), MF::Solver_CPU::Calculations::DeltaMassFlowThread_fiz(), MF::Solver_CPU::Calculations::VelocityFizMeanForInlet(), MF::Solver_CPU::Calculations::VelocityFizMeanForOutlet(), MF::Solver_CPU::Calculations::VelocityFizMeanForPNodes(), and MF::Solver_CPU::Calculations::VelocityFizMeanForVNodes().
|
inlinestatic |
Converts vector data: LB velocity to physical velocity.
Definition at line 64 of file ParametersConversion.h.
References MF::Database::Vec3< T >::x, MF::Database::Vec3< T >::y, and MF::Database::Vec3< T >::z.
|
inlinestatic |
Converts physical velocity to LB velocity.
Definition at line 73 of file ParametersConversion.h.
Referenced by ComputeBasicParameters(), and MF::Solver_CPU::Initialization::ThreadDataInitialize().
|
inlinestatic |
Converts vector data: physical velocity to LB velocity.
Definition at line 79 of file ParametersConversion.h.
References MF::Database::Vec3< T >::x, MF::Database::Vec3< T >::y, and MF::Database::Vec3< T >::z.