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 class defines a saturated Soil Water Characteristic Curve (retention curve) More...
#include <saturated_law.h>
Public Types | |
using | BaseType = RetentionLaw |
The base class RetentionLaw type definition. More... | |
using | GeometryType = Geometry< Node > |
using | SizeType = std::size_t |
The size type definition. More... | |
Public Types inherited from Kratos::RetentionLaw | |
using | ProcessInfoType = ProcessInfo |
using | SizeType = std::size_t |
using | GeometryType = Geometry< Node > |
Public Member Functions | |
KRATOS_CLASS_POINTER_DEFINITION (SaturatedLaw) | |
Counted pointer of SaturatedLaw. More... | |
RetentionLaw::Pointer | Clone () const override |
Clone function (has to be implemented by any derived class) More... | |
void | InitializeMaterial (const Properties &rMaterialProperties, const GeometryType &rElementGeometry, const Vector &rShapeFunctionsValues) override |
void | Initialize (Parameters &rParameters) override |
void | InitializeSolutionStep (Parameters &rParameters) override |
double | CalculateSaturation (Parameters &rParameters) override |
double | CalculateEffectiveSaturation (Parameters &rParameters) override |
double | CalculateDerivativeOfSaturation (Parameters &rParameters) override |
double | CalculateRelativePermeability (Parameters &rParameters) override |
double | CalculateBishopCoefficient (Parameters &rParameters) override |
void | Finalize (Parameters &rParameters) override |
void | FinalizeSolutionStep (Parameters &rParameters) override |
double & | CalculateValue (RetentionLaw::Parameters &rParameterValues, const Variable< double > &rThisVariable, double &rValue) override |
It calculates the value of a specified variable (double case) More... | |
int | Check (const Properties &rMaterialProperties, const ProcessInfo &rCurrentProcessInfo) override |
This function provides the place to perform checks on the completeness of the input. More... | |
Public Member Functions inherited from Kratos::RetentionLaw | |
KRATOS_CLASS_POINTER_DEFINITION (RetentionLaw) | |
RetentionLaw ()=default | |
virtual | ~RetentionLaw ()=default |
virtual void | ResetMaterial (const Properties &rMaterialProperties, const GeometryType &rElementGeometry, const Vector &rShapeFunctionsValues) |
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... | |
Friends | |
class | Serializer |
Additional Inherited Members | |
Static Public Member Functions inherited from Kratos::RetentionLaw | |
static bool | HasSameType (const RetentionLaw &rLHS, const RetentionLaw &rRHS) |
This method is used to check that two Retention Laws are the same type (references) More... | |
static bool | HasSameType (const RetentionLaw *rLHS, const RetentionLaw *rRHS) |
This method is used to check that tow Retention Laws are the same type (pointers) More... | |
This class defines a saturated Soil Water Characteristic Curve (retention curve)
This class derives from the base retention law
The base class RetentionLaw type definition.
using Kratos::SaturatedLaw::SizeType = std::size_t |
The size type definition.
|
overridevirtual |
Implements Kratos::RetentionLaw.
|
overridevirtual |
Implements Kratos::RetentionLaw.
|
overridevirtual |
Implements Kratos::RetentionLaw.
|
overridevirtual |
Implements Kratos::RetentionLaw.
|
overridevirtual |
Implements Kratos::RetentionLaw.
|
overridevirtual |
It calculates the value of a specified variable (double case)
rParameterValues | the needed parameters for the CL calculation |
rThisVariable | the variable to be returned |
rValue | a reference to the returned value |
Implements Kratos::RetentionLaw.
|
overridevirtual |
This function provides the place to perform checks on the completeness of the input.
It is designed to be called only once (or anyway, not often) typically at the beginning of the calculations, so to verify that nothing is missing from the input or that no common error is found.
rMaterialProperties | The properties of the material |
rElementGeometry | The geometry of the element |
rCurrentProcessInfo | The current process info instance |
Implements Kratos::RetentionLaw.
|
overridevirtual |
Clone function (has to be implemented by any derived class)
Implements Kratos::RetentionLaw.
|
overridevirtual |
Finalize the material response in terms of Cauchy stresses
Reimplemented from Kratos::RetentionLaw.
|
overridevirtual |
to be called at the end of each solution step (e.g. from Element::FinalizeSolutionStep)
Reimplemented from Kratos::RetentionLaw.
|
overridevirtual |
Reimplemented from Kratos::RetentionLaw.
|
overridevirtual |
This is to be called at the very beginning of the calculation (e.g. from InitializeElement) in order to initialize all relevant attributes of the retention law
rMaterialProperties | the Properties instance of the current element |
rElementGeometry | the geometry of the current element |
rCurrentProcessInfo | process info |
Reimplemented from Kratos::RetentionLaw.
|
overridevirtual |
to be called at the beginning of each solution step (e.g. from Element::InitializeSolutionStep)
Reimplemented from Kratos::RetentionLaw.
Kratos::SaturatedLaw::KRATOS_CLASS_POINTER_DEFINITION | ( | SaturatedLaw | ) |
Counted pointer of SaturatedLaw.
|
friend |