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.
Static Public Member Functions | List of all members
Kratos::GeoStructuralMechanicsElementUtilities Class Reference

#include <structural_mechanics_element_utilities.h>

Collaboration diagram for Kratos::GeoStructuralMechanicsElementUtilities:

Static Public Member Functions

static bool ComputeLumpedMassMatrix (const Properties &rProperites, const ProcessInfo &rCurrentProcessInfo)
 Method to specify if the lumped or the consistent mass-matrix should be computed. More...
 
static bool HasRayleighDamping (const Properties &rProperites, const ProcessInfo &rCurrentProcessInfo)
 Method to specify if rayligh-damping is specified. More...
 
static double GetRayleighAlpha (const Properties &rProperites, const ProcessInfo &rCurrentProcessInfo)
 Method to get the rayleigh-alpha parameter. More...
 
static double GetRayleighBeta (const Properties &rProperites, const ProcessInfo &rCurrentProcessInfo)
 Method to get the rayleigh-beta parameter. More...
 
static double GetDensityForMassMatrixComputation (const Element &rElement)
 Method to returns the density to be consider for the mass-matrix computation. More...
 
static void CalculateRayleighDampingMatrix (Element &rElement, Element::MatrixType &rDampingMatrix, const ProcessInfo &rCurrentProcessInfo, const std::size_t MatrixSize)
 Method to calculate the rayleigh damping-matrix. More...
 
static double CalculateReferenceLength2D2N (const Element &rElement)
 This function calculates the reference length for 2D2N elements. More...
 
static double CalculateCurrentLength2D2N (const Element &rElement)
 This function calculates the current length for 2D2N elements. More...
 
static double CalculateReferenceLength3D2N (const Element &rElement)
 This function calculates the reference length for 3D2N elements. More...
 
static double CalculateCurrentLength3D2N (const Element &rElement)
 This function calculates the current length for 3D2N elements. More...
 

Member Function Documentation

◆ CalculateCurrentLength2D2N()

double Kratos::GeoStructuralMechanicsElementUtilities::CalculateCurrentLength2D2N ( const Element rElement)
static

This function calculates the current length for 2D2N elements.

Parameters
rElementThe Element for which the current length should be computed
Returns
current length

◆ CalculateCurrentLength3D2N()

double Kratos::GeoStructuralMechanicsElementUtilities::CalculateCurrentLength3D2N ( const Element rElement)
static

This function calculates the current length for 3D2N elements.

Parameters
rElementThe Element for which the current length should be computed
Returns
current length

◆ CalculateRayleighDampingMatrix()

void Kratos::GeoStructuralMechanicsElementUtilities::CalculateRayleighDampingMatrix ( Element rElement,
Element::MatrixType rDampingMatrix,
const ProcessInfo rCurrentProcessInfo,
const std::size_t  MatrixSize 
)
static

Method to calculate the rayleigh damping-matrix.

Parameters
rElementThe Element for which the damping-matrix should be computed
rDampingMatrixThe damping-matrix of the element
rCurrentProcessInfoThe ProcessInfo where it is specified
MatrixSizeThe size of the damping-matrix

◆ CalculateReferenceLength2D2N()

double Kratos::GeoStructuralMechanicsElementUtilities::CalculateReferenceLength2D2N ( const Element rElement)
static

This function calculates the reference length for 2D2N elements.

Parameters
rElementThe Element for which the reference length should be computed
Returns
reference length

◆ CalculateReferenceLength3D2N()

double Kratos::GeoStructuralMechanicsElementUtilities::CalculateReferenceLength3D2N ( const Element rElement)
static

This function calculates the reference length for 3D2N elements.

Parameters
rElementThe Element for which the reference length should be computed
Returns
reference length

◆ ComputeLumpedMassMatrix()

bool Kratos::GeoStructuralMechanicsElementUtilities::ComputeLumpedMassMatrix ( const Properties rProperites,
const ProcessInfo rCurrentProcessInfo 
)
static

Method to specify if the lumped or the consistent mass-matrix should be computed.

Parameters
rProperitesThe Properties where it is specified
rCurrentProcessInfoThe ProcessInfo where it is specified
Returns
whether to compute the lumped mass-matrix

◆ GetDensityForMassMatrixComputation()

double Kratos::GeoStructuralMechanicsElementUtilities::GetDensityForMassMatrixComputation ( const Element rElement)
static

Method to returns the density to be consider for the mass-matrix computation.

Parameters
rElementThe Element for which the mass-matrix should be computed
Returns
The density after apply the mass factor to the element

◆ GetRayleighAlpha()

double Kratos::GeoStructuralMechanicsElementUtilities::GetRayleighAlpha ( const Properties rProperites,
const ProcessInfo rCurrentProcessInfo 
)
static

Method to get the rayleigh-alpha parameter.

Parameters
rProperitesThe Properties where it is specified
rCurrentProcessInfoThe ProcessInfo where it is specified
Returns
rayleigh-alpha

◆ GetRayleighBeta()

double Kratos::GeoStructuralMechanicsElementUtilities::GetRayleighBeta ( const Properties rProperites,
const ProcessInfo rCurrentProcessInfo 
)
static

Method to get the rayleigh-beta parameter.

Parameters
rProperitesThe Properties where it is specified
rCurrentProcessInfoThe ProcessInfo where it is specified
Returns
rayleigh-beta

◆ HasRayleighDamping()

bool Kratos::GeoStructuralMechanicsElementUtilities::HasRayleighDamping ( const Properties rProperites,
const ProcessInfo rCurrentProcessInfo 
)
static

Method to specify if rayligh-damping is specified.

Parameters
rProperitesThe Properties where it is specified
rCurrentProcessInfoThe ProcessInfo where it is specified
Returns
whether rayleigh-damping was specified

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