KratosMultiphysics
KRATOS Multiphysics (Kratos) is a framework for building parallel, multi-disciplinary simulation software, aiming at modularity, extensibility, and high performance. Kratos is written in C++, and counts with an extensive Python interface.
|
This defines a class to assess whether stationarity has been reached in the fluid. More...
#include <stationarity_check.h>
Public Member Functions | |
Type Definitions | |
KRATOS_CLASS_POINTER_DEFINITION (FlowStationarityCheck) | |
Pointer definition of FlowStationarityCheck. More... | |
Life Cycle | |
FlowStationarityCheck (ModelPart &rFluidModelPart, const double tolerance) | |
Default constructor. More... | |
FlowStationarityCheck (FlowStationarityCheck const &rOther)=delete | |
Copy constructor. More... | |
virtual | ~FlowStationarityCheck ()=default |
Destructor. More... | |
Operators | |
FlowStationarityCheck & | operator= (FlowStationarityCheck const &rOther)=delete |
Assignment operator. More... | |
Operations | |
bool | AssessStationarity () |
This function calculates the current time derivative average and compares it to the accumulated historical average. More... | |
double | GetCharacteristicPressureDerivative () |
double | GetCurrentPressureDerivative () |
double | GetTolerance () |
double | GetTransienceMeasure () |
Input and output | |
virtual std::string | Info () const |
Turn back information as a string. More... | |
virtual void | PrintInfo (std::ostream &rOStream) const |
Print information about this object. More... | |
virtual void | PrintData (std::ostream &rOStream) const |
Print object's data. More... | |
This defines a class to assess whether stationarity has been reached in the fluid.
It compares a spacial and historically-averaged pressure time derivative to the current spacially averaged value
|
inline |
Default constructor.
|
delete |
Copy constructor.
|
virtualdefault |
Destructor.
bool Kratos::FlowStationarityCheck::AssessStationarity | ( | ) |
This function calculates the current time derivative average and compares it to the accumulated historical average.
This function can be called every few fluid time steps an
double Kratos::FlowStationarityCheck::GetCharacteristicPressureDerivative | ( | ) |
double Kratos::FlowStationarityCheck::GetCurrentPressureDerivative | ( | ) |
double Kratos::FlowStationarityCheck::GetTolerance | ( | ) |
double Kratos::FlowStationarityCheck::GetTransienceMeasure | ( | ) |
|
inlinevirtual |
Turn back information as a string.
Kratos::FlowStationarityCheck::KRATOS_CLASS_POINTER_DEFINITION | ( | FlowStationarityCheck | ) |
Pointer definition of FlowStationarityCheck.
|
delete |
Assignment operator.
|
inlinevirtual |
Print object's data.
|
inlinevirtual |
Print information about this object.