20 namespace Solver_CPU {
29 static double VelocityLBVolumeSum(
const std::shared_ptr<MF::Database::ThreadArray>& ThreadArray_Ptr);
36 static double VelocityLBMeanForThread(
const std::shared_ptr<MF::Database::ThreadArray>& ThreadArray_Ptr, std::string &ThreadName);
37 static double DeltaMassFlowLB(
const std::shared_ptr<MF::Database::ThreadArray>& ThreadArray_Ptr,
const std::shared_ptr<MF::Solver_CPU::CaseParameters>& CaseParameters_Ptr);
38 static double DeltaMassFlow_fiz(
const std::shared_ptr<MF::Database::ThreadArray>& ThreadArray_Ptr,
const std::shared_ptr<MF::Solver_CPU::CaseParameters>& CaseParameters_Ptr);
39 static double DeltaMassFlowThread_LB(
const std::shared_ptr<MF::Database::ThreadArray>& ThreadArray_Ptr,
const std::shared_ptr<MF::Solver_CPU::CaseParameters>& CaseParameters_Ptr);
40 static double DeltaMassFlowThread_fiz(
const std::shared_ptr<MF::Database::ThreadArray>& ThreadArray_Ptr,
const std::shared_ptr<MF::Solver_CPU::CaseParameters>& CaseParameters_Ptr);
42 static double getULBmaks(
const std::shared_ptr<MF::Database::ThreadArray>& ThreadArray_Ptr);
43 static uint64_t
getTotalNodeNumber(
const std::shared_ptr<MF::Database::ThreadArray>& ThreadArray_Ptr);
44 static uint64_t
getFluidNodeNumber_1(
const std::shared_ptr<MF::Database::ThreadArray>& ThreadArray_Ptr);
45 static uint64_t
getSolidNodeNumber_1(
const std::shared_ptr<MF::Database::ThreadArray>& ThreadArray_Ptr);
46 static uint64_t
getBBNodeNumber_61(
const std::shared_ptr<MF::Database::ThreadArray>& ThreadArray_Ptr);
static double VelocityLBMeanForPNodes(const std::shared_ptr< MF::Database::ThreadArray > &ThreadArray_Ptr)
Mean LB velocity for all nodes type 30.
static double VelocityFizMeanForOutlet(const std::shared_ptr< MF::Database::ThreadArray > &ThreadArray_Ptr)
Scaled (surface weighted) fiz velocity for all outlet threads.
static double VelocityFizMeanForPNodes(const std::shared_ptr< MF::Database::ThreadArray > &ThreadArray_Ptr)
Scaled (surface weighted) fiz velocity for all nodes type 30.
static double VelocityFizMeanForVNodes(const std::shared_ptr< MF::Database::ThreadArray > &ThreadArray_Ptr)
Mean Fiz velocity for all nodes type 20.
static double DeltaMassFlowThread_LB(const std::shared_ptr< MF::Database::ThreadArray > &ThreadArray_Ptr, const std::shared_ptr< MF::Solver_CPU::CaseParameters > &CaseParameters_Ptr)
Returns the difference in mass flow rate in LB units (inlet-outlet)/inlet*100. Surfaces are defined i...
static double VelocityLBMeanForVNodes(const std::shared_ptr< MF::Database::ThreadArray > &ThreadArray_Ptr)
Mean LB velocity for all nodes type 20.
static double DeltaMassFlow_fiz(const std::shared_ptr< MF::Database::ThreadArray > &ThreadArray_Ptr, const std::shared_ptr< MF::Solver_CPU::CaseParameters > &CaseParameters_Ptr)
Returns the difference in mass flow rate (inlet-outlet)/inlet*100. Surfaces are automatically detecte...
static double VelocityFizMeanForInlet(const std::shared_ptr< MF::Database::ThreadArray > &ThreadArray_Ptr)
Mean Fiz velocity for all inlet threads.
static double DeltaMassFlowLB(const std::shared_ptr< MF::Database::ThreadArray > &ThreadArray_Ptr, const std::shared_ptr< MF::Solver_CPU::CaseParameters > &CaseParameters_Ptr)
Returns the difference in mass flow rate in LB units (inlet-outlet)/inlet*100. Surfaces are automatic...
static uint64_t getSolidNodeNumber_1(const std::shared_ptr< MF::Database::ThreadArray > &ThreadArray_Ptr)
Returns number of solid nodes.
The Calculations class collects functions for post-processing calculations.
static uint64_t getVelocityNodeNumber_20(const std::shared_ptr< MF::Database::ThreadArray > &ThreadArray_Ptr)
Returns number of boundary velocity nodes.
static uint64_t getTotalNodeNumber(const std::shared_ptr< MF::Database::ThreadArray > &ThreadArray_Ptr)
Returns total number of computational nodes (non-solid).
static uint64_t getPeriodicNodeNumber_4(const std::shared_ptr< MF::Database::ThreadArray > &ThreadArray_Ptr)
Returns number of boundary periodic nodes.
static double getULBmaks(const std::shared_ptr< MF::Database::ThreadArray > &ThreadArray_Ptr)
Returns the maximal value of LB velocity noticed in lattice node.
static double VelocityLBMeanForThread(const std::shared_ptr< MF::Database::ThreadArray > &ThreadArray_Ptr, std::string &ThreadName)
Mean LB velocity for all nodes in thread of name ThreadName excluding nodes type BB 61...
static uint64_t getBBNodeNumber_61(const std::shared_ptr< MF::Database::ThreadArray > &ThreadArray_Ptr)
Returns number of bounce-back nodes.
static double DeltaMassFlowThread_fiz(const std::shared_ptr< MF::Database::ThreadArray > &ThreadArray_Ptr, const std::shared_ptr< MF::Solver_CPU::CaseParameters > &CaseParameters_Ptr)
Returns the difference in mass flow rate (inlet-outlet)/inlet*100. Surfaces are defined in thread_par...
static uint64_t getVelocity0NodeNumber_40(const std::shared_ptr< MF::Database::ThreadArray > &ThreadArray_Ptr)
Returns number of boundary velocity 0 nodes.
static uint64_t getPressureNodeNumber_30(const std::shared_ptr< MF::Database::ThreadArray > &ThreadArray_Ptr)
Returns number of boundary pressure nodes.
static uint64_t getFluidNodeNumber_1(const std::shared_ptr< MF::Database::ThreadArray > &ThreadArray_Ptr)
Returns number of fluid nodes.
static double VelocityLBVolumeSum(const std::shared_ptr< MF::Database::ThreadArray > &ThreadArray_Ptr)
Mean LB velocity for all fluid nodes type 1.