SOFA API  fdacdac3
Open source framework for multi-physics simuation
sofa::component::solidmechanics::fem::hyperelastic::material::NeoHookean< DataTypes > Class Template Reference

#include <NeoHookean.h>

Inheritance diagram for sofa::component::solidmechanics::fem::hyperelastic::material::NeoHookean< DataTypes >:

Detailed Description

template<class DataTypes>
class sofa::component::solidmechanics::fem::hyperelastic::material::NeoHookean< DataTypes >

Compressible Neo-Hookean material

Static Public Attributes

static constexpr std::string_view Name = "NeoHookean"
 

Public Member Functions

Real getStrainEnergy (StrainInformation< DataTypes > *sinfo, const MaterialParameters< DataTypes > &param) override
 
void deriveSPKTensor (StrainInformation< DataTypes > *sinfo, const MaterialParameters< DataTypes > &param, MatrixSym &SPKTensorGeneral) override
 
void applyElasticityTensor (StrainInformation< DataTypes > *sinfo, const MaterialParameters< DataTypes > &param, const MatrixSym &inputTensor, MatrixSym &outputTensor) override
 
void ElasticityTensor (StrainInformation< DataTypes > *sinfo, const MaterialParameters< DataTypes > &param, Matrix6 &outputTensor) override
 
- Public Member Functions inherited from sofa::component::solidmechanics::fem::hyperelastic::material::HyperelasticMaterial< DataTypes >
virtual ~HyperelasticMaterial ()
 

Attribute details

◆ Name

template<class DataTypes >
constexpr std::string_view sofa::component::solidmechanics::fem::hyperelastic::material::NeoHookean< DataTypes >::Name = "NeoHookean"
staticconstexpr

Function details

◆ applyElasticityTensor()

template<class DataTypes >
void sofa::component::solidmechanics::fem::hyperelastic::material::NeoHookean< DataTypes >::applyElasticityTensor ( StrainInformation< DataTypes > *  ,
const MaterialParameters< DataTypes > &  ,
const MatrixSym ,
MatrixSym  
)
inlineoverridevirtual

computes the Elasticity Tensor of the current configuration

Reimplemented from sofa::component::solidmechanics::fem::hyperelastic::material::HyperelasticMaterial< DataTypes >.

◆ deriveSPKTensor()

template<class DataTypes >
void sofa::component::solidmechanics::fem::hyperelastic::material::NeoHookean< DataTypes >::deriveSPKTensor ( StrainInformation< DataTypes > *  sinfo,
const MaterialParameters< DataTypes > &  param,
MatrixSym SPKTensorGeneral 
)
inlineoverridevirtual

Compute the second Piola-Kirchhoff stress tensor in terms of the right Cauchy-Green deformation tensor

Reimplemented from sofa::component::solidmechanics::fem::hyperelastic::material::HyperelasticMaterial< DataTypes >.

◆ ElasticityTensor()

template<class DataTypes >
void sofa::component::solidmechanics::fem::hyperelastic::material::NeoHookean< DataTypes >::ElasticityTensor ( StrainInformation< DataTypes > *  sinfo,
const MaterialParameters< DataTypes > &  param,
Matrix6 outputTensor 
)
inlineoverridevirtual

◆ getStrainEnergy()

template<class DataTypes >
Real sofa::component::solidmechanics::fem::hyperelastic::material::NeoHookean< DataTypes >::getStrainEnergy ( StrainInformation< DataTypes > *  sinfo,
const MaterialParameters< DataTypes > &  param 
)
inlineoverridevirtual

Strain energy density function for a compressible Neo-Hookean material, taken from: "Javier Bonet and Richard D Wood. 2008. Nonlinear continuum mechanics for finite element analysis. Cambridge University Press"

Reimplemented from sofa::component::solidmechanics::fem::hyperelastic::material::HyperelasticMaterial< DataTypes >.