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.
|
Classes | |
class | Kratos::CalculateDivergenceProcess |
Process to compute divergence. More... | |
class | Kratos::WeightedDivergenceCalculationProcess |
Process to compute element time average of the divergence. More... | |
class | Kratos::DragAndMomentUtilities |
Auxiliary utility to compute the drag force and the moment around a given point. More... | |
Type Definitions | |
Kratos::CalculateDivergenceProcess::KRATOS_CLASS_POINTER_DEFINITION (CalculateDivergenceProcess) | |
Pointer definition of Process. More... | |
Life Cycle | |
Kratos::CalculateDivergenceProcess::CalculateDivergenceProcess (ModelPart &rModelPart, Parameters ThisParameters=Parameters(R"({})")) | |
Default constructor. More... | |
Kratos::CalculateDivergenceProcess::~CalculateDivergenceProcess () override=default | |
Destructor. More... | |
CalculateDivergenceProcess & | Kratos::CalculateDivergenceProcess::operator= (CalculateDivergenceProcess const &rOther)=delete |
Assignment operator. More... | |
Operations | |
void | Kratos::CalculateDivergenceProcess::ExecuteInitialize () override |
Function initializing the process. More... | |
void | Kratos::CalculateDivergenceProcess::ExecuteBeforeOutputStep () override |
Function computing quantities at each time step. More... | |
Input and output | |
std::string | Kratos::CalculateDivergenceProcess::Info () const override |
Turn back information as a string. More... | |
void | Kratos::CalculateDivergenceProcess::PrintInfo (std::ostream &rOStream) const override |
Print information about this object. More... | |
void | Kratos::CalculateDivergenceProcess::PrintData (std::ostream &rOStream) const override |
Print object's data. More... | |
Input and output | |
std::istream & | Kratos::operator>> (std::istream &rIStream, CalculateDivergenceProcess &rThis) |
input stream function More... | |
std::ostream & | Kratos::operator<< (std::ostream &rOStream, const CalculateDivergenceProcess &rThis) |
output stream function More... | |
std::istream & | Kratos::operator>> (std::istream &rIStream, WeightedDivergenceCalculationProcess &rThis) |
input stream function More... | |
std::ostream & | Kratos::operator<< (std::ostream &rOStream, const WeightedDivergenceCalculationProcess &rThis) |
output stream function More... | |
std::ostream & | Kratos::operator<< (std::ostream &rOStream, const DragAndMomentUtilities &rThis) |
output stream function More... | |
Type Definitions | |
Kratos::WeightedDivergenceCalculationProcess::KRATOS_CLASS_POINTER_DEFINITION (WeightedDivergenceCalculationProcess) | |
Pointer definition of Process. More... | |
Life Cycle | |
Kratos::WeightedDivergenceCalculationProcess::WeightedDivergenceCalculationProcess (ModelPart &rModelPart, Parameters ThisParameters=Parameters(R"({})")) | |
Default constructor. More... | |
Kratos::WeightedDivergenceCalculationProcess::~WeightedDivergenceCalculationProcess () override=default | |
Destructor. More... | |
WeightedDivergenceCalculationProcess & | Kratos::WeightedDivergenceCalculationProcess::operator= (WeightedDivergenceCalculationProcess const &rOther)=delete |
Assignment operator. More... | |
Operations | |
void | Kratos::WeightedDivergenceCalculationProcess::ExecuteInitialize () override |
Function initializing the statistic utilities. More... | |
void | Kratos::WeightedDivergenceCalculationProcess::ExecuteFinalizeSolutionStep () override |
Function updating statistics at each time step. More... | |
Input and output | |
std::string | Kratos::WeightedDivergenceCalculationProcess::Info () const override |
Turn back information as a string. More... | |
void | Kratos::WeightedDivergenceCalculationProcess::PrintInfo (std::ostream &rOStream) const override |
Print information about this object. More... | |
void | Kratos::WeightedDivergenceCalculationProcess::PrintData (std::ostream &rOStream) const override |
Print object's data. More... | |
Protected Operations | |
double | Kratos::WeightedDivergenceCalculationProcess::ComputeAuxiliaryElementDivergence (Vector &grad_x, Vector &grad_y, Vector &grad_z) |
double | Kratos::WeightedDivergenceCalculationProcess::ComputeAuxiliaryElementVelocitySeminorm (Vector &grad_x, Vector &grad_y, Vector &grad_z) |
double | Kratos::WeightedDivergenceCalculationProcess::ComputeWeightedTimeAverage (const double &old_average, const double ¤t_value) |
Kratos::CalculateDivergenceProcess::CalculateDivergenceProcess | ( | ModelPart & | rModelPart, |
Parameters | ThisParameters = Parameters(R"({})") |
||
) |
Default constructor.
Construct CalculateDivergenceProcess object
rModelPart | Model part the process is applied to |
ThisParameters | The input parameters |
|
protected |
|
protected |
|
protected |
|
overridevirtual |
Function computing quantities at each time step.
Reimplemented from Kratos::Process.
|
overridevirtual |
Function updating statistics at each time step.
Reimplemented from Kratos::Process.
|
overridevirtual |
Function initializing the process.
Reimplemented from Kratos::Process.
|
overridevirtual |
Function initializing the statistic utilities.
Reimplemented from Kratos::Process.
|
overridevirtual |
Turn back information as a string.
Reimplemented from Kratos::Process.
|
overridevirtual |
Turn back information as a string.
Reimplemented from Kratos::Process.
Kratos::CalculateDivergenceProcess::KRATOS_CLASS_POINTER_DEFINITION | ( | CalculateDivergenceProcess | ) |
Pointer definition of Process.
Kratos::WeightedDivergenceCalculationProcess::KRATOS_CLASS_POINTER_DEFINITION | ( | WeightedDivergenceCalculationProcess | ) |
Pointer definition of Process.
|
inline |
output stream function
|
inline |
output stream function
|
inline |
output stream function
|
delete |
Assignment operator.
|
delete |
Assignment operator.
|
inline |
input stream function
|
inline |
input stream function
|
overridevirtual |
Print object's data.
Reimplemented from Kratos::Process.
|
overridevirtual |
Print object's data.
Reimplemented from Kratos::Process.
|
overridevirtual |
Print information about this object.
Reimplemented from Kratos::Process.
|
overridevirtual |
Print information about this object.
Reimplemented from Kratos::Process.
Kratos::WeightedDivergenceCalculationProcess::WeightedDivergenceCalculationProcess | ( | ModelPart & | rModelPart, |
Parameters | ThisParameters = Parameters(R"({})") |
||
) |
Default constructor.
Construct WeightedDivergenceCalculationProcess object
rModelPart | Model part the weighted process is applied to |
ThisParameters | The input parameters |
We configure using the following parameters: time_coefficient: Coefficient determining initial time for computing the average, i.e. TIME_START = time_coefficient * TIME_END
|
overridedefault |
Destructor.
|
overridedefault |
Destructor.