RFFGen
 All Classes Namespaces Files Functions Typedefs Enumerations Groups
Namespaces | Functions
mooneyRivlin.hh File Reference

Models based on the Mooney-Rivlin material law. Input argument is the deformation gradient. More...

#include <iostream>
#include "../../identity.hh"
#include "../../LinearAlgebra/strainTensor.hh"
#include "../../LinearAlgebra/unitMatrix.hh"
#include "../../LinearAlgebra/principalInvariants.hh"
#include "../../generate.hh"

Go to the source code of this file.

Namespaces

 RFFGen
 Main namespace of the RFFGen library.
 

Functions

template<class Matrix , int offset = LinearAlgebra::dimension<Matrix>()>
auto RFFGen::incompressibleMooneyRivlin (double c0, double c1, const Matrix &F)
 Generate an "incompressible" Mooney-Rivlin material law $ W(F)=c_0\iota_1(F^T F) + c_1\iota_2(F^T F) $, where $\iota_1$ is the first and $\iota_2$ the second principal matrix invariant.
 
template<class InflationPenalty , class CompressionPenalty , class Matrix , int offset = LinearAlgebra::dimension<Matrix>()>
auto RFFGen::compressibleMooneyRivlin (double c0, double c1, double d0, double d1, const Matrix &F)
 Generate a compressible Mooney-Rivlin material law $ W(F)=c_0\iota_1(F^T F) + c_1\iota_2(F^T F) + d_0\Gamma_\mathrm{In}(\det(F))+d_1\Gamma_\mathrm{Co}(\det(F)) $, where $\iota_1$ is the first and $\iota_2$ the second principal matrix invariant.
 

Detailed Description

Models based on the Mooney-Rivlin material law. Input argument is the deformation gradient.