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 | Functions
Kratos::MPMEnergyCalculationUtility Namespace Reference

Typedefs

typedef std::size_t IndexType
 
typedef std::size_t SizeType
 
typedef Element::Pointer ElementPointerType
 

Functions

double CalculatePotentialEnergy (Element &rElement)
 Assign and compute potential energy*. More...
 
double CalculatePotentialEnergy (ModelPart &rModelPart)
 
double CalculateKineticEnergy (Element &rElement)
 
double CalculateKineticEnergy (ModelPart &rModelPart)
 
double CalculateStrainEnergy (Element &rElement)
 
double CalculateStrainEnergy (ModelPart &rModelPart)
 
double CalculateTotalEnergy (Element &rElement)
 Assign and compute total energy. More...
 
double CalculateTotalEnergy (ModelPart &rModelPart)
 

Typedef Documentation

◆ ElementPointerType

◆ IndexType

◆ SizeType

Function Documentation

◆ CalculateKineticEnergy() [1/2]

double Kratos::MPMEnergyCalculationUtility::CalculateKineticEnergy ( Element rElement)

◆ CalculateKineticEnergy() [2/2]

double Kratos::MPMEnergyCalculationUtility::CalculateKineticEnergy ( ModelPart rModelPart)

◆ CalculatePotentialEnergy() [1/2]

double Kratos::MPMEnergyCalculationUtility::CalculatePotentialEnergy ( Element rElement)

Assign and compute potential energy*.

◆ CalculatePotentialEnergy() [2/2]

double Kratos::MPMEnergyCalculationUtility::CalculatePotentialEnergy ( ModelPart rModelPart)

◆ CalculateStrainEnergy() [1/2]

double Kratos::MPMEnergyCalculationUtility::CalculateStrainEnergy ( Element rElement)

◆ CalculateStrainEnergy() [2/2]

double Kratos::MPMEnergyCalculationUtility::CalculateStrainEnergy ( ModelPart rModelPart)

◆ CalculateTotalEnergy() [1/2]

double Kratos::MPMEnergyCalculationUtility::CalculateTotalEnergy ( Element rElement)

Assign and compute total energy.

Compute total energy inside particle, summing potential, kinetic and strain energy

◆ CalculateTotalEnergy() [2/2]

double Kratos::MPMEnergyCalculationUtility::CalculateTotalEnergy ( ModelPart rModelPart)