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

Defining all the methods and variables required in fatigue simulations. More...

#include <hcf_data_container.h>

Collaboration diagram for Kratos::HCFDataContainer:

Classes

struct  FatigueVariables
 

Public Member Functions

 HCFDataContainer ()
 
void CalculateSminAndSmax (const double CurrentStress, HCFDataContainer::FatigueVariables &rFatigueVariables)
 This method sets maximum and minimum stresses for fatigue calculations. More...
 
double CalculateTensionOrCompressionIdentifier (const Vector &rStressVector)
 This method identifies if the overall load state is tension or compression. More...
 
double CalculateReversionFactor (const double MaxStress, const double MinStress)
 This method calculates the reversion factor based on the maximum and minimum stresses. More...
 
void CalculateFatigueParameters (const Properties &rMaterialParameters, HCFDataContainer::FatigueVariables &rFatigueVariables)
 This method sets the variables required for calculating fatigue reduction factor and Wohler stress. More...
 
void CalculateFatigueReductionFactorAndWohlerStress (const Properties &rMaterialParameters, HCFDataContainer::FatigueVariables &rFatigueVariables)
 This method calculates fatigue reduction factor and Wohler stress. More...
 
void InitializeFatigueVariables (HCFDataContainer::FatigueVariables &rFatigueVariables)
 This method initializes all the values in the FatigueVariables. More...
 
void UpdateFatigueVariables (HCFDataContainer::FatigueVariables &rFatigueVariables)
 This method updates all member variables. More...
 
void FinalizeSolutionStep (HCFDataContainer::FatigueVariables &rFatigueVariables, const Properties &rMaterialProperties, const ProcessInfo &rCurrentProcessInfo, ConstitutiveLaw::StressVectorType stress_vector, double uniaxial_stress)
 This method computes fatigue-related quantities. More...
 
int Check (const Properties &rMaterialProperties)
 This method checks the fatigue inout properties. More...
 

Static Public Attributes

static constexpr double tolerance = 1.0e-3
 

Friends

class Serializer
 

Detailed Description

Defining all the methods and variables required in fatigue simulations.

Give access to methods and restores all member variables in fatigue simulations

Author
Alireza Taherzadeh-Fard, Alejandro Cornejo

Constructor & Destructor Documentation

◆ HCFDataContainer()

Kratos::HCFDataContainer::HCFDataContainer ( )
inline

Member Function Documentation

◆ CalculateFatigueParameters()

void Kratos::HCFDataContainer::CalculateFatigueParameters ( const Properties rMaterialParameters,
HCFDataContainer::FatigueVariables rFatigueVariables 
)

This method sets the variables required for calculating fatigue reduction factor and Wohler stress.

◆ CalculateFatigueReductionFactorAndWohlerStress()

void Kratos::HCFDataContainer::CalculateFatigueReductionFactorAndWohlerStress ( const Properties rMaterialParameters,
HCFDataContainer::FatigueVariables rFatigueVariables 
)

This method calculates fatigue reduction factor and Wohler stress.

◆ CalculateReversionFactor()

double Kratos::HCFDataContainer::CalculateReversionFactor ( const double  MaxStress,
const double  MinStress 
)

This method calculates the reversion factor based on the maximum and minimum stresses.

◆ CalculateSminAndSmax()

void Kratos::HCFDataContainer::CalculateSminAndSmax ( const double  CurrentStress,
HCFDataContainer::FatigueVariables rFatigueVariables 
)

This method sets maximum and minimum stresses for fatigue calculations.

◆ CalculateTensionOrCompressionIdentifier()

double Kratos::HCFDataContainer::CalculateTensionOrCompressionIdentifier ( const Vector rStressVector)

This method identifies if the overall load state is tension or compression.

◆ Check()

int Kratos::HCFDataContainer::Check ( const Properties rMaterialProperties)

This method checks the fatigue inout properties.

◆ FinalizeSolutionStep()

void Kratos::HCFDataContainer::FinalizeSolutionStep ( HCFDataContainer::FatigueVariables rFatigueVariables,
const Properties rMaterialProperties,
const ProcessInfo rCurrentProcessInfo,
ConstitutiveLaw::StressVectorType  stress_vector,
double  uniaxial_stress 
)

This method computes fatigue-related quantities.

◆ InitializeFatigueVariables()

void Kratos::HCFDataContainer::InitializeFatigueVariables ( HCFDataContainer::FatigueVariables rFatigueVariables)

This method initializes all the values in the FatigueVariables.

◆ UpdateFatigueVariables()

void Kratos::HCFDataContainer::UpdateFatigueVariables ( HCFDataContainer::FatigueVariables rFatigueVariables)

This method updates all member variables.

Friends And Related Function Documentation

◆ Serializer

friend class Serializer
friend

Member Data Documentation

◆ tolerance

constexpr double Kratos::HCFDataContainer::tolerance = 1.0e-3
staticconstexpr

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