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

Neo Hookean constitutive law (incompressible version) No argument for Poisson ratio here - it must be equal to 0.5. More...

#include <constitutive_laws.h>

+ Inheritance diagram for oomph::IncompressibleNeoHookean:

Public Member Functions

 IncompressibleNeoHookean (double *e_pt)
 The constructor takes Young's modulus as an argument.
 
 IncompressibleNeoHookean ()
 Argument-free constructor.
 
virtual ~IncompressibleNeoHookean ()
 Virtual destructor.
 
double W (const DenseMatrix< double > &gamma)
 Return the strain energy in terms of strain tensor.
 
double W (const Vector< double > &I)
 Return the strain energy in terms of the strain invariants.
 
void derivatives (Vector< double > &I, Vector< double > &dWdI)
 Return the derivatives of the strain energy function with respect to the strain invariants.
 
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.
 
- Public Member Functions inherited from oomph::StrainEnergyFunction
 StrainEnergyFunction ()
 Constructor takes no arguments.
 
virtual ~StrainEnergyFunction ()
 Empty virtual destructor.
 
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).
 

Private Attributes

doubleE_pt
 Young's modulus.
 
bool Must_delete_e
 Boolean indicating if Young's modulus must be deleted in destructor.
 

Detailed Description

Neo Hookean constitutive law (incompressible version) No argument for Poisson ratio here - it must be equal to 0.5.

Definition at line 396 of file constitutive_laws.h.

Constructor & Destructor Documentation

◆ IncompressibleNeoHookean() [1/2]

oomph::IncompressibleNeoHookean::IncompressibleNeoHookean ( double e_pt)
inline

The constructor takes Young's modulus as an argument.

Definition at line 400 of file constitutive_laws.h.

◆ IncompressibleNeoHookean() [2/2]

oomph::IncompressibleNeoHookean::IncompressibleNeoHookean ( )
inline

Argument-free constructor.

Definition at line 406 of file constitutive_laws.h.

◆ ~IncompressibleNeoHookean()

virtual oomph::IncompressibleNeoHookean::~IncompressibleNeoHookean ( )
inlinevirtual

Virtual destructor.

Definition at line 412 of file constitutive_laws.h.

References E_pt, and Must_delete_e.

Member Function Documentation

◆ derivatives()

void oomph::IncompressibleNeoHookean::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 433 of file constitutive_laws.h.

References e, and E_pt.

◆ requires_incompressibility_constraint()

bool oomph::IncompressibleNeoHookean::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 446 of file constitutive_laws.h.

◆ W() [1/2]

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

Return the strain energy in terms of strain tensor.

Reimplemented from oomph::StrainEnergyFunction.

Definition at line 418 of file constitutive_laws.h.

References oomph::StrainEnergyFunction::W().

◆ W() [2/2]

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

Return the strain energy in terms of the strain invariants.

Reimplemented from oomph::StrainEnergyFunction.

Definition at line 424 of file constitutive_laws.h.

References e, and E_pt.

Member Data Documentation

◆ E_pt

double* oomph::IncompressibleNeoHookean::E_pt
private

Young's modulus.

Definition at line 453 of file constitutive_laws.h.

Referenced by derivatives(), W(), and ~IncompressibleNeoHookean().

◆ Must_delete_e

bool oomph::IncompressibleNeoHookean::Must_delete_e
private

Boolean indicating if Young's modulus must be deleted in destructor.

Definition at line 456 of file constitutive_laws.h.

Referenced by ~IncompressibleNeoHookean().


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