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.
List of all members
Kratos::NodalManningLaw Class Reference

This class computes the bottom friction according to the Manning law. More...

#include <nodal_manning_law.h>

Inheritance diagram for Kratos::NodalManningLaw:
Collaboration diagram for Kratos::NodalManningLaw:

Public Member Functions

Type Definitions
 KRATOS_CLASS_POINTER_DEFINITION (NodalManningLaw)
 
Life Cycle
 NodalManningLaw ()
 Default constructor. More...
 
 NodalManningLaw (const GeometryType &rGeometry, const Properties &rProperty, const ProcessInfo &rProcessInfo)
 Constructor with data. More...
 
virtual ~NodalManningLaw ()
 Destructor. More...
 
Operations
void Initialize (const GeometryType &rGeometry, const Properties &rProperty, const ProcessInfo &rProcessInfo) override
 Initialize the friction law variables. More...
 
Input and output
std::string Info () const override
 Turn back information as a string. More...
 
- Public Member Functions inherited from Kratos::ManningLaw
 KRATOS_CLASS_POINTER_DEFINITION (ManningLaw)
 
 ManningLaw ()
 Default Constructor. More...
 
 ManningLaw (const GeometryType &rGeometry, const Properties &rProperty, const ProcessInfo &rProcessInfo)
 Constructor with data. More...
 
virtual ~ManningLaw ()
 Initialize the friction law variables. More...
 
double CalculateLHS (const double &rHeight, const array_1d< double, 3 > &rVelocity) override
 Calculate the LHS coefficient for the given data. More...
 
array_1d< double, 3 > CalculateRHS (const double &rHeight, const array_1d< double, 3 > &rVelocity) override
 Calculate the RHS coefficient for the given data. More...
 
- Public Member Functions inherited from Kratos::FrictionLaw
 FrictionLaw ()
 Default constructor. More...
 
 FrictionLaw (FrictionLaw const &rOther)
 Copy constructor. More...
 
virtual ~FrictionLaw ()
 Destructor. More...
 
virtual FrictionLaw::Pointer Clone () const
 
 FrictionLaw ()
 Default constructor. More...
 
virtual ~FrictionLaw ()
 Destructor. More...
 
void InitializeSolutionStep ()
 
void FinalizeSolutionStep ()
 
bool EvaluateFrictionLaw (double &rTangentForce, const double &rNormalForce, FrictionLawVariables &rTangentVariables)
 
void EvaluateConstitutiveComponents (double &rNormalModulus, double &rTangentModulus, const double &rTangentForce, const double &rEffectiveNormalForce, FrictionLawVariables &rTangentVariables)
 
double GetPlasticSlip ()
 
virtual int Check ()
 Check on the completeness of the input. More...
 
virtual double CalculateLHS (const array_1d< double, 3 > &rInnerLayer)
 Calculate the LHS coefficient for the given data. More...
 
virtual array_1d< double, 3 > CalculateRHS (const array_1d< double, 3 > &rInnerLayer)
 Calculate the RHS coefficient for the given data. 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...
 
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...
 
 KRATOS_CLASS_POINTER_DEFINITION (FrictionLaw)
 Pointer definition of FrictionLaw. More...
 
 KRATOS_CLASS_POINTER_DEFINITION (FrictionLaw)
 

Additional Inherited Members

- Public Types inherited from Kratos::FrictionLaw
typedef Node NodeType
 
typedef Geometry< NodeTypeGeometryType
 
- Protected Member Functions inherited from Kratos::FrictionLaw
virtual double EvaluateHardening (const double &rNormalStress, const double &rPlasticSlip, FrictionLawVariables &rTangentVariables)
 
virtual double EvaluateContactYield (const double &rTangentStress, const double &rNormalStress, const double &rPlasticSlip, FrictionLawVariables &rTangentVariables)
 
virtual void EvaluateYieldDerivativeRespectStress (double &rdF_dt, double &rdF_dp, const double &rTangentStress, const double &rNormalStress, const double &Gamma, FrictionLawVariables &rTangentVariables)
 
- Protected Attributes inherited from Kratos::ManningLaw
double mManning2
 
double mEpsilon
 

Detailed Description

This class computes the bottom friction according to the Manning law.

Author
Miguel Maso Sotomayor

Constructor & Destructor Documentation

◆ NodalManningLaw() [1/2]

Kratos::NodalManningLaw::NodalManningLaw ( )
inline

Default constructor.

◆ NodalManningLaw() [2/2]

Kratos::NodalManningLaw::NodalManningLaw ( const GeometryType rGeometry,
const Properties rProperty,
const ProcessInfo rProcessInfo 
)

Constructor with data.

◆ ~NodalManningLaw()

virtual Kratos::NodalManningLaw::~NodalManningLaw ( )
inlinevirtual

Destructor.

Member Function Documentation

◆ Info()

std::string Kratos::NodalManningLaw::Info ( ) const
inlineoverridevirtual

Turn back information as a string.

Reimplemented from Kratos::ManningLaw.

◆ Initialize()

void Kratos::NodalManningLaw::Initialize ( const GeometryType rGeometry,
const Properties rProperty,
const ProcessInfo rProcessInfo 
)
overridevirtual

Initialize the friction law variables.

Reimplemented from Kratos::ManningLaw.

◆ KRATOS_CLASS_POINTER_DEFINITION()

Kratos::NodalManningLaw::KRATOS_CLASS_POINTER_DEFINITION ( NodalManningLaw  )

The documentation for this class was generated from the following files: