Public Member Functions | Private Attributes | List of all members
oomph::MooneyRivlin Class Reference

///////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////// More...

#include <constitutive_laws.h>

+ Inheritance diagram for oomph::MooneyRivlin:

Public Member Functions

 MooneyRivlin (double *c1_pt, double *c2_pt)
 Constructor takes the pointer to the value of the constants. More...
 
virtual ~MooneyRivlin ()
 Empty Virtual destructor. More...
 
double W (const DenseMatrix< double > &gamma)
 Return the strain energy in terms of strain tensor. More...
 
double W (const Vector< double > &I)
 Return the strain energy in terms of the strain invariants. More...
 
void derivatives (Vector< double > &I, Vector< double > &dWdI)
 Return the derivatives of the strain energy function with respect to the strain invariants. More...
 
bool requires_incompressibility_constraint ()
 Pure virtual function in which the user must declare if the constitutive equation requires an incompressible formulation in which the volume constraint is enforced explicitly. Used as a sanity check in PARANOID mode. True. More...
 
- Public Member Functions inherited from oomph::StrainEnergyFunction
 StrainEnergyFunction ()
 Constructor takes no arguments. More...
 
virtual ~StrainEnergyFunction ()
 Empty virtual destructor. More...
 
virtual void derivative (const DenseMatrix< double > &gamma, DenseMatrix< double > &dWdgamma)
 Return the derivatives of the strain energy function with respect to the components of the strain tensor (default is to use finite differences). More...
 

Private Attributes

double * C1_pt
 Pointer to first Mooney Rivlin constant. More...
 
double * C2_pt
 Pointer to second Mooney Rivlin constant. More...
 

Detailed Description

///////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////

MooneyRivlin strain-energy function. with constitutive parameters C1 and C2:

\[ W = C_1 (I_0 - 3) + C_2 (I_1 - 3) \]

where incompressibility ( $ I_2 \equiv 1$) is assumed.

Definition at line 144 of file constitutive_laws.h.

Constructor & Destructor Documentation

◆ MooneyRivlin()

oomph::MooneyRivlin::MooneyRivlin ( double *  c1_pt,
double *  c2_pt 
)
inline

Constructor takes the pointer to the value of the constants.

Definition at line 148 of file constitutive_laws.h.

◆ ~MooneyRivlin()

virtual oomph::MooneyRivlin::~MooneyRivlin ( )
inlinevirtual

Empty Virtual destructor.

Definition at line 154 of file constitutive_laws.h.

Member Function Documentation

◆ derivatives()

void oomph::MooneyRivlin::derivatives ( Vector< double > &  I,
Vector< double > &  dWdI 
)
inlinevirtual

Return the derivatives of the strain energy function with respect to the strain invariants.

Reimplemented from oomph::StrainEnergyFunction.

Definition at line 171 of file constitutive_laws.h.

◆ requires_incompressibility_constraint()

bool oomph::MooneyRivlin::requires_incompressibility_constraint ( )
inlinevirtual

Pure virtual function in which the user must declare if the constitutive equation requires an incompressible formulation in which the volume constraint is enforced explicitly. Used as a sanity check in PARANOID mode. True.

Implements oomph::StrainEnergyFunction.

Definition at line 182 of file constitutive_laws.h.

◆ W() [1/2]

double oomph::MooneyRivlin::W ( const DenseMatrix< double > &  gamma)
inlinevirtual

Return the strain energy in terms of strain tensor.

Reimplemented from oomph::StrainEnergyFunction.

Definition at line 157 of file constitutive_laws.h.

References oomph::StrainEnergyFunction::W().

◆ W() [2/2]

double oomph::MooneyRivlin::W ( const Vector< double > &  I)
inlinevirtual

Return the strain energy in terms of the strain invariants.

Reimplemented from oomph::StrainEnergyFunction.

Definition at line 163 of file constitutive_laws.h.

References C1_pt, C2_pt, and oomph::MathematicalConstants::I().

Member Data Documentation

◆ C1_pt

double* oomph::MooneyRivlin::C1_pt
private

Pointer to first Mooney Rivlin constant.

Definition at line 190 of file constitutive_laws.h.

Referenced by W().

◆ C2_pt

double* oomph::MooneyRivlin::C2_pt
private

Pointer to second Mooney Rivlin constant.

Definition at line 193 of file constitutive_laws.h.

Referenced by W().


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