tfel
Loading...
Searching...
No Matches
castem::CastemFiniteStrain Struct Reference

#include </home/runner/work/tfel/tfel/mfront/include/MFront/Castem/CastemFiniteStrain.hxx>

Public Types

template<unsigned short N>
using LogarithmicStrainHandler
 a simple alias
using LSHandler
 generic union storing logarithmic strain handlers for all space dimensions.

Static Public Member Functions

static void computeGreenLagrangeStrain (CastemReal *const, const CastemReal *const, const CastemInt, const CastemInt)
 compute the Green-Lagrange strain from the material deformation gradient tensor F.
static void computeCauchyStressFromSecondPiolaKirchhoffStress (CastemReal *const, const CastemReal *const, const CastemInt, const CastemInt, const CastemReal)
 compute the Cauchy stress tensor from the second Piola Kirchhoff stress.
static void computeSecondPiolaKirchhoffStressFromCauchyStress (CastemReal *const, const CastemReal *const, const CastemReal *const, const CastemInt, const CastemInt, const CastemReal)
 compute the second Piola Kirchhoff stress from the Cauchy stress.
static void computeSecondPiolaKirchhoffStressFromCauchyStress (CastemReal *const, const CastemReal *const, const CastemInt, const CastemInt, const CastemReal)
 compute the second Piola Kirchhoff stress from the Cauchy stress.
static void convertCSEtoCauchyTruesdellRateModuli (CastemReal *const, const CastemReal *const, const CastemReal *const, const CastemInt, const CastemInt, const CastemReal)
 compute the moduli associated to the Truesdell rate of the Cauchy stress
static void initializeLogarithmicStrainHandler (LSHandler &, const CastemReal *const, const CastemInt)
 initialize the logarithmic strain and its derivatives
static void computeLogarithmicStrainAndDerivative (CastemReal *const, CastemReal *const, const CastemReal *const, const CastemInt, const CastemInt)
 compoute the logarithmic strain and its derivatives
static void computeDualStressOfLogarithmicStrainFromCauchyStress (CastemReal *const, const CastemReal *const, const CastemReal *const, const CastemReal *const, const CastemInt, const CastemInt, const CastemReal)
 compute the stress dual to the logarithmic strain from the Cauchy stress.
static void computeCauchyStressFromDualStressOfLogarithmicStrain (CastemReal *const, const CastemReal *const, const CastemReal *const, const CastemReal *const, const CastemInt, const CastemInt, const CastemReal)
 compute the Cauchy stress from the stress dual to the logarithmic strain.

Detailed Description

An helper structure providing utilities to implement various finite strain strategies.

Member Typedef Documentation

◆ LogarithmicStrainHandler

template<unsigned short N>
using castem::CastemFiniteStrain::LogarithmicStrainHandler
Initial value:
This class gathers various methods used to.
Definition LogarithmicStrainHandler.hxx:60

a simple alias

◆ LSHandler

Initial value:
tfel::utilities::GenType<LogarithmicStrainHandler<1u>,
tfel::material::LogarithmicStrainHandler< N, CastemReal > LogarithmicStrainHandler
a simple alias
Definition CastemFiniteStrain.hxx:31

generic union storing logarithmic strain handlers for all space dimensions.

Note
Such union has been introduced to keep the current implementation of the Cast3M interface mostly unchanged. A more appriopriate evolution of the interface would have been to create an implementation of the umat functions per modelling hypothesis...

Member Function Documentation

◆ computeCauchyStressFromDualStressOfLogarithmicStrain()

void castem::CastemFiniteStrain::computeCauchyStressFromDualStressOfLogarithmicStrain ( CastemReal * const ,
const CastemReal * const ,
const CastemReal * const ,
const CastemReal * const ,
const CastemInt ,
const CastemInt ,
const CastemReal  )
static

compute the Cauchy stress from the stress dual to the logarithmic strain.

Parameters
[out]STRESS: Cauchy stress expressed using the umat conventions
[in]s: stress dual to the logarithmic strain using the umat conventions
[in]P: derivative of the logarithmic strain with respect to the right Cauchy tensor
[in]F: deformation gradient tensor F expressed as a fortran matrix
[in]NTENS: number of components of the strain tensor
[in]NDI: modelling hypothesis
[in]Fzz: axial deformation gradient if mandatory

◆ computeCauchyStressFromSecondPiolaKirchhoffStress()

void castem::CastemFiniteStrain::computeCauchyStressFromSecondPiolaKirchhoffStress ( CastemReal * const ,
const CastemReal * const ,
const CastemInt ,
const CastemInt ,
const CastemReal  )
static

compute the Cauchy stress tensor from the second Piola Kirchhoff stress.

Parameters
[in,out]s: stress expressed using umat conventions
[in]F: deformation gradient tensor F expressed as a fortran matrix
[in]NTENS: number of components of the strain tensor
[in]NDI: modelling hypothesis
[in]Fzz: axial deformation gradient if mandatory

◆ computeDualStressOfLogarithmicStrainFromCauchyStress()

void castem::CastemFiniteStrain::computeDualStressOfLogarithmicStrainFromCauchyStress ( CastemReal * const ,
const CastemReal * const ,
const CastemReal * const ,
const CastemReal * const ,
const CastemInt ,
const CastemInt ,
const CastemReal  )
static

compute the stress dual to the logarithmic strain from the Cauchy stress.

Parameters
[out]s: stress dual to the logarithmic strain using the umat conventions
[in]STRESS: second Piola Kirchhoff stress expressed using umat conventions
[in]P: derivative of the logarithmic strain with respect to the right Cauchy tensor
[in]F: deformation gradient tensor F expressed as a fortran matrix
[in]NTENS: number of components of the strain tensor
[in]NDI: modelling hypothesis
[in]Fzz: axial deformation gradient if mandatory

◆ computeGreenLagrangeStrain()

void castem::CastemFiniteStrain::computeGreenLagrangeStrain ( CastemReal * const ,
const CastemReal * const ,
const CastemInt ,
const CastemInt  )
static

compute the Green-Lagrange strain from the material deformation gradient tensor F.

Parameters
[in]e: Green-Lagrange strain 0.5*(tFF-1) expressed using umat conventions
[in]F: deformation gradient tensor F expressed as a fortran matrix
[in]NTENS: number of components of the strain tensor
[in]NDI: modelling hypothesis

◆ computeLogarithmicStrainAndDerivative()

void castem::CastemFiniteStrain::computeLogarithmicStrainAndDerivative ( CastemReal * const ,
CastemReal * const ,
const CastemReal * const ,
const CastemInt ,
const CastemInt  )
static

compoute the logarithmic strain and its derivatives

Parameters
[out]P: derivative of the logarithmic strain with respect to the right cauchy tensor, multiplied by two
[out]E: logarithmic strain expressed using umat conventions
[in]NTENS: number of components of the strain tensor
[in]NDI: modelling hypothesis
Note
this works in plane stress even though the axial deformation gradient is not known

◆ computeSecondPiolaKirchhoffStressFromCauchyStress() [1/2]

void castem::CastemFiniteStrain::computeSecondPiolaKirchhoffStressFromCauchyStress ( CastemReal * const ,
const CastemReal * const ,
const CastemInt ,
const CastemInt ,
const CastemReal  )
static

compute the second Piola Kirchhoff stress from the Cauchy stress.

Parameters
[out]STRESS: second Piola Kirchhoff stress expressed using umat conventions
[in]F: deformation gradient tensor F expressed as a fortran matrix
[in]NTENS: number of components of the strain tensor
[in]NDI: modelling hypothesis
[in]Fzz: axial deformation gradient if mandatory

◆ computeSecondPiolaKirchhoffStressFromCauchyStress() [2/2]

void castem::CastemFiniteStrain::computeSecondPiolaKirchhoffStressFromCauchyStress ( CastemReal * const ,
const CastemReal * const ,
const CastemReal * const ,
const CastemInt ,
const CastemInt ,
const CastemReal  )
static

compute the second Piola Kirchhoff stress from the Cauchy stress.

Parameters
[out]sk2: second Piola Kirchhoff stress expressed using umat conventions
[in]STRESS: cauchy stress expressed using umat conventions
[in]F: deformation gradient tensor F expressed as a fortran matrix
[in]NTENS: number of components of the strain tensor
[in]NDI: modelling hypothesis
[in]Fzz: axial deformation gradient if mandatory

◆ convertCSEtoCauchyTruesdellRateModuli()

void castem::CastemFiniteStrain::convertCSEtoCauchyTruesdellRateModuli ( CastemReal * const ,
const CastemReal * const ,
const CastemReal * const ,
const CastemInt ,
const CastemInt ,
const CastemReal  )
static

compute the moduli associated to the Truesdell rate of the Cauchy stress

Parameters
[in,out]DDSDDEon input, CSE expressed using umat conventions. On output, the moduli associated to the Truesdell rate of the Cauchy stress, expressed using umat conventions.
[out]STRESSCauchy stress expressed using umat conventions
[in]Fdeformation gradient tensor F expressed as a fortran matrix
[in]NTENS: number of components of the strain tensor
[in]NDI: modelling hypothesis
[in]Fzz: axial deformation gradient if mandatory

◆ initializeLogarithmicStrainHandler()

void castem::CastemFiniteStrain::initializeLogarithmicStrainHandler ( LSHandler & ,
const CastemReal * const ,
const CastemInt  )
static

initialize the logarithmic strain and its derivatives

Parameters
[out]hhandler
[in]Fvdeformation gradient tensor F expressed as a fortran matrix
[in]NTENSnumber of components of the strain tensor
Note
this works in plane stress even though the axial deformation gradient is not known

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