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::ExplicitIntegrationUtilities Namespace Reference

Typedefs

typedef std::size_t SizeType
 The size type definition. More...
 
typedef std::size_t IndexType
 The index type definition. More...
 
typedef ModelPart::ElementsContainerType ElementsArrayType
 The arrays of elements and nodes. More...
 
typedef ModelPart::NodesContainerType NodesArrayType
 

Functions

double CalculateDeltaTime (ModelPart &rModelPart, Parameters ThisParameters=Parameters(R"({})"))
 This method computes the necessry delta time to avoid numerical instabilities. More...
 
double InnerCalculateDeltaTime (ModelPart &rModelPart, const double TimeStepPredictionLevel, const double MaxDeltaTime, const double SafetyFactor, const double MassFactor)
 This method computes the necessry delta time to avoid numerical instabilities (inner method) More...
 

Typedef Documentation

◆ ElementsArrayType

The arrays of elements and nodes.

◆ IndexType

The index type definition.

◆ NodesArrayType

◆ SizeType

The size type definition.

Function Documentation

◆ CalculateDeltaTime()

double Kratos::ExplicitIntegrationUtilities::CalculateDeltaTime ( ModelPart rModelPart,
Parameters  ThisParameters = Parameters(R"({})") 
)

This method computes the necessry delta time to avoid numerical instabilities.

Parameters
rModelPartThe model of the problem to solve
ThisParametersThe configuration parameters
Returns
The critical delta time

◆ InnerCalculateDeltaTime()

double Kratos::ExplicitIntegrationUtilities::InnerCalculateDeltaTime ( ModelPart rModelPart,
const double  TimeStepPredictionLevel,
const double  MaxDeltaTime,
const double  SafetyFactor,
const double  MassFactor 
)

This method computes the necessry delta time to avoid numerical instabilities (inner method)

Parameters
rModelPartThe model of the problem to solve
TimeStepPredictionLevelThe prediction level
MaxDeltaTimeThe max delta time
SafetyFactorThe safety factor
MassFactorThe factor that multiplies the mass
Returns
The critical delta time