13 #if !defined( KRATOS_SWIMMING_DEM_FLOW_STATIONARITY_CHECK )
14 #define KRATOS_SWIMMING_DEM_FLOW_STATIONARITY_CHECK
52 : mrModelPart(rFluidModelPart),
54 mTolerance(tolerance),
55 mCharacteristicPressureRate(1.0),
56 mCurrentPressureRate(2.0){}
80 bool AssessStationarity();
81 double GetCharacteristicPressureDerivative();
82 double GetCurrentPressureDerivative();
83 double GetTolerance();
84 double GetTransienceMeasure();
91 virtual std::string
Info()
const
93 std::stringstream buffer;
94 buffer <<
"FlowStationarityCheck";
99 virtual void PrintInfo(std::ostream& rOStream)
const
101 rOStream <<
"FlowStationarityCheck";
121 double mCharacteristicPressureRate;
122 double mCurrentPressureRate;
148 rOStream << std::endl;
This defines a class to assess whether stationarity has been reached in the fluid.
Definition: stationarity_check.h:38
KRATOS_CLASS_POINTER_DEFINITION(FlowStationarityCheck)
Pointer definition of FlowStationarityCheck.
FlowStationarityCheck & operator=(FlowStationarityCheck const &rOther)=delete
Assignment operator.
virtual std::string Info() const
Turn back information as a string.
Definition: stationarity_check.h:91
virtual ~FlowStationarityCheck()=default
Destructor.
virtual void PrintData(std::ostream &rOStream) const
Print object's data.
Definition: stationarity_check.h:105
FlowStationarityCheck(ModelPart &rFluidModelPart, const double tolerance)
Default constructor.
Definition: stationarity_check.h:51
virtual void PrintInfo(std::ostream &rOStream) const
Print information about this object.
Definition: stationarity_check.h:99
FlowStationarityCheck(FlowStationarityCheck const &rOther)=delete
Copy constructor.
This class aims to manage meshes for multi-physics simulations.
Definition: model_part.h:77
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
std::istream & operator>>(std::istream &rIStream, LinearMasterSlaveConstraint &rThis)
input stream function
std::ostream & operator<<(std::ostream &rOStream, const LinearMasterSlaveConstraint &rThis)
output stream function
Definition: linear_master_slave_constraint.h:432