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 the base class for frictional laws with derivative. More...
#include <frictional_law_with_derivative.h>
Public Member Functions | |
Life Cycle | |
FrictionalLawWithDerivative () | |
Default constructor. More... | |
FrictionalLawWithDerivative (const FrictionalLawWithDerivative &rhs) | |
Copy constructor (not really required) More... | |
~FrictionalLawWithDerivative () | |
Destructor. More... | |
Operations | |
virtual double | GetDerivativeThresholdValue (const Node &rNode, const PairedCondition &rCondition, const ProcessInfo &rCurrentProcessInfo, const DerivativeDataType &rDerivativeData, const MortarConditionMatrices &rMortarConditionMatrices, const IndexType IndexDerivative, const IndexType IndexNode) |
This method computes the threshold derivative value considered for computing friction. More... | |
Input and output | |
std::string | Info () const override |
Turn back information as a string. More... | |
void | PrintInfo (std::ostream &rOStream) const override |
Print information about this object. More... | |
void | PrintData (std::ostream &rOStream) const override |
Print object's data. More... | |
Public Member Functions inherited from Kratos::FrictionalLaw | |
FrictionalLaw () | |
Default constructor. More... | |
FrictionalLaw (const FrictionalLaw &rhs) | |
Copy constructor (not really required) More... | |
virtual | ~FrictionalLaw () |
Destructor. More... | |
virtual double | GetFrictionCoefficient (const Node &rNode, const PairedCondition &rCondition, const ProcessInfo &rCurrentProcessInfo) |
This method returns the friction coefficient. More... | |
virtual double | GetThresholdValue (const Node &rNode, const PairedCondition &rCondition, const ProcessInfo &rCurrentProcessInfo) |
This method computes the threshold value considered for computing friction. More... | |
KRATOS_CLASS_POINTER_DEFINITION (FrictionalLaw) | |
Counted pointer of FrictionalLaw. More... | |
Type Definitions | |
using | BaseType = FrictionalLaw |
Define the base class. More... | |
using | IndexType = std::size_t |
Index type definition. More... | |
using | SizeType = std::size_t |
Size type definition. More... | |
using | DerivativeDataType = DerivativeDataFrictional< TDim, TNumNodes, TNumNodesMaster > |
Definition of the derivative data. More... | |
using | MortarConditionMatrices = MortarOperatorWithDerivatives< TDim, TNumNodes, true, TNumNodesMaster > |
The definition of the mortar operators. More... | |
static constexpr double | ZeroTolerance = std::numeric_limits<double>::epsilon() |
Zero tolerance. More... | |
KRATOS_CLASS_POINTER_DEFINITION (FrictionalLawWithDerivative) | |
Counted pointer of FrictionalLawWithDerivative. More... | |
Serialization | |
class | Serializer |
Additional Inherited Members | |
Public Types inherited from Kratos::FrictionalLaw | |
using | IndexType = std::size_t |
Index type definition. More... | |
using | SizeType = std::size_t |
Size type definition. More... | |
Static Public Attributes inherited from Kratos::FrictionalLaw | |
static constexpr double | ZeroTolerance = std::numeric_limits<double>::epsilon() |
Zero tolerance. More... | |
This class defines the base class for frictional laws with derivative.
This class does nothing, define derived frictional laws in order to make use of it
TDim | The dimension of work |
TNumNodes | The number of nodes of the slave |
TFrictional | If we are solving a frictional or frictionless problem |
TNormalVariation | If we are consider normal variation |
TNumNodesMaster | The number of nodes of the master |
using Kratos::FrictionalLawWithDerivative< TDim, TNumNodes, TNormalVariation, TNumNodesMaster >::BaseType = FrictionalLaw |
Define the base class.
using Kratos::FrictionalLawWithDerivative< TDim, TNumNodes, TNormalVariation, TNumNodesMaster >::DerivativeDataType = DerivativeDataFrictional<TDim, TNumNodes, TNumNodesMaster> |
Definition of the derivative data.
using Kratos::FrictionalLawWithDerivative< TDim, TNumNodes, TNormalVariation, TNumNodesMaster >::IndexType = std::size_t |
Index type definition.
using Kratos::FrictionalLawWithDerivative< TDim, TNumNodes, TNormalVariation, TNumNodesMaster >::MortarConditionMatrices = MortarOperatorWithDerivatives<TDim, TNumNodes, true, TNumNodesMaster> |
The definition of the mortar operators.
using Kratos::FrictionalLawWithDerivative< TDim, TNumNodes, TNormalVariation, TNumNodesMaster >::SizeType = std::size_t |
Size type definition.
|
inline |
Default constructor.
|
inline |
Copy constructor (not really required)
|
inline |
Destructor.
|
virtual |
This method computes the threshold derivative value considered for computing friction.
rNode | The node where the threshold derivative value is obtained |
rCondition | The condition where the friction is computed |
rCurrentProcessInfo | The current instance of the process info |
rDerivativeData | The reference to the derivative database |
rMortarConditionMatrices | The container of the mortar operators |
IndexDerivative | The derivative index |
IndexNode | The corresponding node index on the condition geometry |
Reimplemented in Kratos::TrescaFrictionalLaw< TDim, TNumNodes, TNormalVariation, TNumNodesMaster >, and Kratos::CoulombFrictionalLaw< TDim, TNumNodes, TNormalVariation, TNumNodesMaster >.
|
inlineoverridevirtual |
Turn back information as a string.
Reimplemented from Kratos::FrictionalLaw.
Kratos::FrictionalLawWithDerivative< TDim, TNumNodes, TNormalVariation, TNumNodesMaster >::KRATOS_CLASS_POINTER_DEFINITION | ( | FrictionalLawWithDerivative< TDim, TNumNodes, TNormalVariation, TNumNodesMaster > | ) |
Counted pointer of FrictionalLawWithDerivative.
|
inlineoverridevirtual |
Print object's data.
Reimplemented from Kratos::FrictionalLaw.
|
inlineoverridevirtual |
Print information about this object.
Reimplemented from Kratos::FrictionalLaw.
|
friend |
|
staticconstexpr |
Zero tolerance.