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.
|
Short class definition. More...
#include <rigid_body_utilities.hpp>
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 () |
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
|
inline |
Default constructor.
|
inline |
|
inline |
Destructor.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinevirtual |
level of echo for the error calculation
|
inline |