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::RigidBodyUtilities Class Reference

Short class definition. More...

#include <rigid_body_utilities.hpp>

Collaboration diagram for Kratos::RigidBodyUtilities:

Public Types

Type Definitions
typedef ModelPart::NodesContainerType NodesContainerType
 
typedef ModelPart::ElementsContainerType ElementsContainerType
 
typedef ModelPart::MeshType::GeometryType GeometryType
 

Public Member Functions

Life Cycle
 RigidBodyUtilities ()
 Default constructor. More...
 
 RigidBodyUtilities (bool Parallel)
 
 ~RigidBodyUtilities ()
 Destructor. More...
 
Operations
Vector GetVolumeAcceleration (ModelPart &rModelPart)
 
double GetElasticModulus (ModelPart &rModelPart)
 
double VolumeCalculation (ModelPart &rModelPart)
 
double MassCalculation (ModelPart &rModelPart)
 
Vector CalculateCenterOfMass (ModelPart &rModelPart)
 
Vector CenterOfMassCalculation (ModelPart::MeshType &rMesh)
 
Matrix CalculateInertiaTensor (ModelPart &rModelPart)
 
Matrix InertiaTensorCalculation (ModelPart::MeshType &rMesh)
 
Matrix InertiaTensorMainAxesCalculation (ModelPart &rModelPart, Matrix &MainAxes)
 
void InertiaTensorToMainAxes (Matrix &InertiaTensor, Matrix &MainAxes)
 
void TransferRigidBodySkinToModelPart (ModelPart &rSourceModelPart, ModelPart &rDestinationModelPart, const int mesh_id)
 
virtual void SetEchoLevel (int Level)
 
int GetEchoLevel ()
 

Detailed Description

Short class definition.

Computes Volume, Weight and Inertia Tensor of a given Mesh Mesh elements must have Properties with the variable THICKNESS in 2D in order to compute volume Mesh elements must have Properties with the variable DENSITY in order to compute mass Mesh nodes must have a the nodal variable VOLUME_ACCELERATION in order to compute weight

Member Typedef Documentation

◆ ElementsContainerType

◆ GeometryType

◆ NodesContainerType

Constructor & Destructor Documentation

◆ RigidBodyUtilities() [1/2]

Kratos::RigidBodyUtilities::RigidBodyUtilities ( )
inline

Default constructor.

◆ RigidBodyUtilities() [2/2]

Kratos::RigidBodyUtilities::RigidBodyUtilities ( bool  Parallel)
inline

◆ ~RigidBodyUtilities()

Kratos::RigidBodyUtilities::~RigidBodyUtilities ( )
inline

Destructor.

Member Function Documentation

◆ CalculateCenterOfMass()

Vector Kratos::RigidBodyUtilities::CalculateCenterOfMass ( ModelPart rModelPart)
inline

◆ CalculateInertiaTensor()

Matrix Kratos::RigidBodyUtilities::CalculateInertiaTensor ( ModelPart rModelPart)
inline

◆ CenterOfMassCalculation()

Vector Kratos::RigidBodyUtilities::CenterOfMassCalculation ( ModelPart::MeshType rMesh)
inline

◆ GetEchoLevel()

int Kratos::RigidBodyUtilities::GetEchoLevel ( )
inline

◆ GetElasticModulus()

double Kratos::RigidBodyUtilities::GetElasticModulus ( ModelPart rModelPart)
inline

◆ GetVolumeAcceleration()

Vector Kratos::RigidBodyUtilities::GetVolumeAcceleration ( ModelPart rModelPart)
inline

◆ InertiaTensorCalculation()

Matrix Kratos::RigidBodyUtilities::InertiaTensorCalculation ( ModelPart::MeshType rMesh)
inline

◆ InertiaTensorMainAxesCalculation()

Matrix Kratos::RigidBodyUtilities::InertiaTensorMainAxesCalculation ( ModelPart rModelPart,
Matrix MainAxes 
)
inline

◆ InertiaTensorToMainAxes()

void Kratos::RigidBodyUtilities::InertiaTensorToMainAxes ( Matrix InertiaTensor,
Matrix MainAxes 
)
inline

◆ MassCalculation()

double Kratos::RigidBodyUtilities::MassCalculation ( ModelPart rModelPart)
inline

◆ SetEchoLevel()

virtual void Kratos::RigidBodyUtilities::SetEchoLevel ( int  Level)
inlinevirtual

level of echo for the error calculation

◆ TransferRigidBodySkinToModelPart()

void Kratos::RigidBodyUtilities::TransferRigidBodySkinToModelPart ( ModelPart rSourceModelPart,
ModelPart rDestinationModelPart,
const int  mesh_id 
)
inline

◆ VolumeCalculation()

double Kratos::RigidBodyUtilities::VolumeCalculation ( ModelPart rModelPart)
inline

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