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.
|
Typedefs | |
typedef std::size_t | SizeType |
The size type definition. More... | |
typedef std::size_t | IndexType |
The index type definition. More... | |
typedef Node | NodeType |
Node type definition. More... | |
typedef Geometry< NodeType > | GeometryType |
Geometry definitions. More... | |
Functions | |
int | SolidElementCheck (const Element &rElement, const ProcessInfo &rCurrentProcessInfo, const std::vector< ConstitutiveLaw::Pointer > &rConstitutiveLaws) |
This method performs commons checks on the solid elements. More... | |
array_1d< double, 3 > | GetBodyForce (const Element &rElement, const GeometryType::IntegrationPointsArrayType &rIntegrationPoints, const IndexType PointNumber) |
This method returns the computed the computed body force. More... | |
bool | ComputeLumpedMassMatrix (const Properties &rProperties, const ProcessInfo &rCurrentProcessInfo) |
Method to specify if the lumped or the consistent mass-matrix should be computed. More... | |
bool | HasRayleighDamping (const Properties &rProperties, const ProcessInfo &rCurrentProcessInfo) |
Method to specify if rayligh-damping is specified. More... | |
double | GetRayleighAlpha (const Properties &rProperties, const ProcessInfo &rCurrentProcessInfo) |
Method to get the rayleigh-alpha parameter. More... | |
double | GetRayleighBeta (const Properties &rProperties, const ProcessInfo &rCurrentProcessInfo) |
Method to get the rayleigh-beta parameter. More... | |
double | GetDensityForMassMatrixComputation (const Element &rElement) |
Method to returns the density to be consider for the mass-matrix computation. More... | |
void | CalculateRayleighDampingMatrix (Element &rElement, Element::MatrixType &rDampingMatrix, const ProcessInfo &rCurrentProcessInfo, const std::size_t MatrixSize) |
Method to calculate the rayleigh damping-matrix. More... | |
double | CalculateReferenceLength2D2N (const Element &rElement) |
This function calculates the reference length for 2D2N elements. More... | |
double | CalculateCurrentLength2D2N (const Element &rElement) |
This function calculates the current length for 2D2N elements. More... | |
double | CalculateReferenceLength3D2N (const Element &rElement) |
This function calculates the reference length for 3D2N elements. More... | |
double | CalculateCurrentLength3D2N (const Element &rElement) |
This function calculates the current length for 3D2N elements. More... | |
void | InitialCheckLocalAxes (const array_1d< double, 3 > &rv1, const array_1d< double, 3 > &rv2, const array_1d< double, 3 > &rv3, const double Tolerance=1.0e4 *std::numeric_limits< double >::epsilon()) |
This function checks the norm of the vectors. More... | |
void | BuildRotationMatrix (BoundedMatrix< double, 3, 3 > &rRotationMatrix, const array_1d< double, 3 > &rv1, const array_1d< double, 3 > &rv2, const array_1d< double, 3 > &rv3) |
This function fills a rotation matrix from a set of vectors. More... | |
template<class TVectorType , class TMatrixType > | |
void | ComputeEquivalentF (const Element &rElement, const TVectorType &rStrainTensor, TMatrixType &rF) |
This method computes the deformation gradient F (for small deformation solid elements) More... | |
template<class TMatrixType1 , class TMatrixType2 > | |
void | CalculateB (const GeometricalObject &rElement, const TMatrixType1 &rDN_DX, TMatrixType2 &rB) |
This method computes the deformation tensor B (for small deformation solid elements) More... | |
Geometry definitions.
typedef std::size_t Kratos::StructuralMechanicsElementUtilities::IndexType |
The index type definition.
Node type definition.
typedef std::size_t Kratos::StructuralMechanicsElementUtilities::SizeType |
The size type definition.
void Kratos::StructuralMechanicsElementUtilities::BuildRotationMatrix | ( | BoundedMatrix< double, 3, 3 > & | rRotationMatrix, |
const array_1d< double, 3 > & | rv1, | ||
const array_1d< double, 3 > & | rv2, | ||
const array_1d< double, 3 > & | rv3 | ||
) |
This function fills a rotation matrix from a set of vectors.
rRotationMatrix | The rotation matrix from global to local axes |
void Kratos::StructuralMechanicsElementUtilities::CalculateB | ( | const GeometricalObject & | rElement, |
const TMatrixType1 & | rDN_DX, | ||
TMatrixType2 & | rB | ||
) |
This method computes the deformation tensor B (for small deformation solid elements)
rElement | Reference to the element |
rDN_DX | The shape function derivatives |
rB | The deformation tensor B |
TMatrixType1 | The first matrix type |
TMatrixType2 | The second matrix type |
double Kratos::StructuralMechanicsElementUtilities::CalculateCurrentLength2D2N | ( | const Element & | rElement | ) |
This function calculates the current length for 2D2N elements.
rElement | The Element for which the current length should be computed |
double Kratos::StructuralMechanicsElementUtilities::CalculateCurrentLength3D2N | ( | const Element & | rElement | ) |
This function calculates the current length for 3D2N elements.
rElement | The Element for which the current length should be computed |
void Kratos::StructuralMechanicsElementUtilities::CalculateRayleighDampingMatrix | ( | Element & | rElement, |
Element::MatrixType & | rDampingMatrix, | ||
const ProcessInfo & | rCurrentProcessInfo, | ||
const std::size_t | MatrixSize | ||
) |
Method to calculate the rayleigh damping-matrix.
rElement | The Element for which the damping-matrix should be computed |
rDampingMatrix | The damping-matrix of the element |
rCurrentProcessInfo | The ProcessInfo where it is specified |
MatrixSize | The size of the damping-matrix |
double Kratos::StructuralMechanicsElementUtilities::CalculateReferenceLength2D2N | ( | const Element & | rElement | ) |
This function calculates the reference length for 2D2N elements.
rElement | The Element for which the reference length should be computed |
double Kratos::StructuralMechanicsElementUtilities::CalculateReferenceLength3D2N | ( | const Element & | rElement | ) |
This function calculates the reference length for 3D2N elements.
rElement | The Element for which the reference length should be computed |
void Kratos::StructuralMechanicsElementUtilities::ComputeEquivalentF | ( | const Element & | rElement, |
const TVectorType & | rStrainTensor, | ||
TMatrixType & | rF | ||
) |
This method computes the deformation gradient F (for small deformation solid elements)
rElement | Reference to the element |
rStrainTensor | The strain tensor |
rF | The deformation gradient F |
TVectorType | The vector type |
TMatrixType | The matrix type |
bool Kratos::StructuralMechanicsElementUtilities::ComputeLumpedMassMatrix | ( | const Properties & | rProperties, |
const ProcessInfo & | rCurrentProcessInfo | ||
) |
Method to specify if the lumped or the consistent mass-matrix should be computed.
rProperties | The Properties where it is specified |
rCurrentProcessInfo | The ProcessInfo where it is specified |
array_1d< double, 3 > Kratos::StructuralMechanicsElementUtilities::GetBodyForce | ( | const Element & | rElement, |
const GeometryType::IntegrationPointsArrayType & | rIntegrationPoints, | ||
const IndexType | PointNumber | ||
) |
This method returns the computed the computed body force.
rElement | Reference to the element |
rIntegrationPoints | The integrations points |
PointNumber | The integration point number |
double Kratos::StructuralMechanicsElementUtilities::GetDensityForMassMatrixComputation | ( | const Element & | rElement | ) |
Method to returns the density to be consider for the mass-matrix computation.
rElement | The Element for which the mass-matrix should be computed |
double Kratos::StructuralMechanicsElementUtilities::GetRayleighAlpha | ( | const Properties & | rProperties, |
const ProcessInfo & | rCurrentProcessInfo | ||
) |
Method to get the rayleigh-alpha parameter.
rProperties | The Properties where it is specified |
rCurrentProcessInfo | The ProcessInfo where it is specified |
double Kratos::StructuralMechanicsElementUtilities::GetRayleighBeta | ( | const Properties & | rProperties, |
const ProcessInfo & | rCurrentProcessInfo | ||
) |
Method to get the rayleigh-beta parameter.
rProperties | The Properties where it is specified |
rCurrentProcessInfo | The ProcessInfo where it is specified |
bool Kratos::StructuralMechanicsElementUtilities::HasRayleighDamping | ( | const Properties & | rProperties, |
const ProcessInfo & | rCurrentProcessInfo | ||
) |
Method to specify if rayligh-damping is specified.
rProperties | The Properties where it is specified |
rCurrentProcessInfo | The ProcessInfo where it is specified |
void Kratos::StructuralMechanicsElementUtilities::InitialCheckLocalAxes | ( | const array_1d< double, 3 > & | rv1, |
const array_1d< double, 3 > & | rv2, | ||
const array_1d< double, 3 > & | rv3, | ||
const double | Tolerance = 1.0e4 *std::numeric_limits< double >::epsilon() |
||
) |
This function checks the norm of the vectors.
rvi | The vector of which norm has to be different from null |
int Kratos::StructuralMechanicsElementUtilities::SolidElementCheck | ( | const Element & | rElement, |
const ProcessInfo & | rCurrentProcessInfo, | ||
const std::vector< ConstitutiveLaw::Pointer > & | rConstitutiveLaws | ||
) |
This method performs commons checks on the solid elements.
rElement | Reference to the element |
rCurrentProcessInfo | The current process info instance |
rConstitutiveLaws | The vector containing CL |