Chaste Commit::f2ff7ee04e70ac9d06c57344df8d017dbb12b97b
SchmidCostaExponentialLaw2d Class Reference

#include <SchmidCostaExponentialLaw2d.hpp>

+ Inheritance diagram for SchmidCostaExponentialLaw2d:
+ Collaboration diagram for SchmidCostaExponentialLaw2d:

Public Member Functions

 SchmidCostaExponentialLaw2d ()
 
void ComputeStressAndStressDerivative (c_matrix< double, 2, 2 > &rC, c_matrix< double, 2, 2 > &rInvC, double pressure, c_matrix< double, 2, 2 > &rT, FourthOrderTensor< 2, 2, 2, 2 > &rDTdE, bool computeDTdE)
 
double GetA ()
 
std::vector< std::vector< double > > GetB ()
 
double GetZeroStrainPressure ()
 
- Public Member Functions inherited from AbstractIncompressibleMaterialLaw< 2 >
 AbstractIncompressibleMaterialLaw ()
 
virtual ~AbstractIncompressibleMaterialLaw ()
 
- Public Member Functions inherited from AbstractMaterialLaw< DIM >
 AbstractMaterialLaw ()
 
virtual ~AbstractMaterialLaw ()
 
virtual void ComputeStressAndStressDerivative (c_matrix< double, DIM, DIM > &rC, c_matrix< double, DIM, DIM > &rInvC, double pressure, c_matrix< double, DIM, DIM > &rT, FourthOrderTensor< DIM, DIM, DIM, DIM > &rDTdE, bool computeDTdE)=0
 
void ComputeCauchyStress (c_matrix< double, DIM, DIM > &rF, double pressure, c_matrix< double, DIM, DIM > &rSigma)
 
void Compute1stPiolaKirchoffStress (c_matrix< double, DIM, DIM > &rF, double pressure, c_matrix< double, DIM, DIM > &rS)
 
void Compute2ndPiolaKirchoffStress (c_matrix< double, DIM, DIM > &rC, double pressure, c_matrix< double, DIM, DIM > &rT)
 
virtual void ScaleMaterialParameters (double scaleFactor)
 
void SetChangeOfBasisMatrix (c_matrix< double, DIM, DIM > &rChangeOfBasisMatrix)
 
void ResetToNoChangeOfBasisMatrix ()
 

Private Attributes

double mA
 
std::vector< std::vector< double > > mB
 
c_matrix< double, 2, 2 > mIdentity
 

Additional Inherited Members

- Protected Member Functions inherited from AbstractMaterialLaw< DIM >
void ComputeTransformedDeformationTensor (c_matrix< double, DIM, DIM > &rC, c_matrix< double, DIM, DIM > &rInvC, c_matrix< double, DIM, DIM > &rCTransformed, c_matrix< double, DIM, DIM > &rInvCTransformed)
 
void TransformStressAndStressDerivative (c_matrix< double, DIM, DIM > &rT, FourthOrderTensor< DIM, DIM, DIM, DIM > &rDTdE, bool transformDTdE)
 
- Protected Attributes inherited from AbstractMaterialLaw< DIM >
c_matrix< double, DIM, DIM > * mpChangeOfBasisMatrix
 

Detailed Description

A 2d version of the material law in Costa, Holmes, McCulloch "Modelling Cardiac Mechanical Properties in Three Dimensions" Philo. Trans. R. Soc.

W = a[exp(Q)-1]/2 where Q = bff*Eff^2 + bfs*Efs^2 + bsf*Esf^2 + bss*Ess^2

where the parameters are taken from the fitting in Schmid,Nash,Young,Hunter "Myocardial Material Parameter Estimation - A Comparative Study for Simple Shear" Transactions of the ASME.

Note, by default, the fibre direction is assumed to be THE X-DIRECTION, and the sheet direction the Y-DIRECTION (ie sheets in the XY plane). Call SetChangeOfBasisMatrix() before ComputeStressAndStressDerivative(), with the matrix P = [fibre_vec, sheet_vec, normal_vec] if this is not the case.

Definition at line 58 of file SchmidCostaExponentialLaw2d.hpp.

Constructor & Destructor Documentation

◆ SchmidCostaExponentialLaw2d()

SchmidCostaExponentialLaw2d::SchmidCostaExponentialLaw2d ( )

Constructor.

Definition at line 38 of file SchmidCostaExponentialLaw2d.cpp.

References mA, mB, and mIdentity.

Member Function Documentation

◆ ComputeStressAndStressDerivative()

void SchmidCostaExponentialLaw2d::ComputeStressAndStressDerivative ( c_matrix< double, 2, 2 > &  rC,
c_matrix< double, 2, 2 > &  rInvC,
double  pressure,
c_matrix< double, 2, 2 > &  rT,
FourthOrderTensor< 2, 2, 2, 2 > &  rDTdE,
bool  computeDTdE 
)

Compute the (2nd Piola Kirchoff) stress T and the stress derivative dT/dE for a given strain.

NOTE: the strain E is not expected to be passed in, instead the Lagrangian deformation tensor C is required (recall, E = 0.5(C-I))

dT/dE is a fourth-order tensor, where dT/dE[M][N][P][Q] = dT^{MN}/dE_{PQ}

Parameters
rCThe Lagrangian deformation tensor (F^T F)
rInvCThe inverse of C. Should be computed by the user. (Change this?)
pressurethe current pressure
rTthe stress will be returned in this parameter
rDTdEthe stress derivative will be returned in this parameter, assuming the final parameter is true
computeDTdEa boolean flag saying whether the stress derivative is required or not.

Definition at line 66 of file SchmidCostaExponentialLaw2d.cpp.

References AbstractMaterialLaw< DIM >::ComputeTransformedDeformationTensor(), mA, mB, mIdentity, AbstractMaterialLaw< DIM >::TransformStressAndStressDerivative(), and FourthOrderTensor< DIM1, DIM2, DIM3, DIM4 >::Zero().

◆ GetA()

double SchmidCostaExponentialLaw2d::GetA ( )
Returns
mA.

Definition at line 125 of file SchmidCostaExponentialLaw2d.cpp.

References mA.

◆ GetB()

std::vector< std::vector< double > > SchmidCostaExponentialLaw2d::GetB ( )
Returns
mB.

Definition at line 130 of file SchmidCostaExponentialLaw2d.cpp.

References mB.

◆ GetZeroStrainPressure()

double SchmidCostaExponentialLaw2d::GetZeroStrainPressure ( )
virtual
Returns
the pressure corresponding to E=0, i.e. C=identity.

Implements AbstractIncompressibleMaterialLaw< 2 >.

Definition at line 135 of file SchmidCostaExponentialLaw2d.cpp.

Member Data Documentation

◆ mA

double SchmidCostaExponentialLaw2d::mA
private

Parameter a. (kPa)

Definition at line 63 of file SchmidCostaExponentialLaw2d.hpp.

Referenced by SchmidCostaExponentialLaw2d(), ComputeStressAndStressDerivative(), and GetA().

◆ mB

std::vector<std::vector<double> > SchmidCostaExponentialLaw2d::mB
private

Matrix of parameters b (dimensionless).

Definition at line 66 of file SchmidCostaExponentialLaw2d.hpp.

Referenced by SchmidCostaExponentialLaw2d(), ComputeStressAndStressDerivative(), and GetB().

◆ mIdentity

c_matrix<double,2,2> SchmidCostaExponentialLaw2d::mIdentity
private

2D identity matrix.

Definition at line 69 of file SchmidCostaExponentialLaw2d.hpp.

Referenced by SchmidCostaExponentialLaw2d(), and ComputeStressAndStressDerivative().


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