v0.14.0
Public Member Functions | List of all members
GelModule::UserGelConstitutiveEquation< TYPE > Struct Template Reference

User (hackable) Gel model. More...

#include <users_modules/gels/src/UserGelModel.hpp>

Inheritance diagram for GelModule::UserGelConstitutiveEquation< TYPE >:
[legend]
Collaboration diagram for GelModule::UserGelConstitutiveEquation< TYPE >:
[legend]

Public Member Functions

 UserGelConstitutiveEquation (map< int, Gel::BlockMaterialData > &data)
 
- Public Member Functions inherited from GelModule::Gel::ConstitutiveEquation< TYPE >
 ConstitutiveEquation (map< int, BlockMaterialData > &data)
 
virtual ~ConstitutiveEquation ()
 
virtual PetscErrorCode calculateCauchyDefromationTensor ()
 
virtual PetscErrorCode calculateStrainTotal ()
 Calculate total strain. More...
 
virtual PetscErrorCode calculateTraceStrainTotalDot ()
 
virtual PetscErrorCode calculateStressAlpha ()
 Calculate stress in spring alpha. More...
 
virtual PetscErrorCode calculateStressBeta ()
 Calculate stress in spring beta. More...
 
virtual PetscErrorCode calculateStrainHatFlux ()
 Calculate rate of strain hat. More...
 
virtual PetscErrorCode calculateStressBetaHat ()
 Calculate stress due to concentration of solvent molecules. More...
 
virtual PetscErrorCode calculateStressTotal ()
 
virtual PetscErrorCode calculateResidualStrainHat ()
 
virtual PetscErrorCode calculateSolventFlux ()
 Calculate flux. More...
 
virtual PetscErrorCode calculateSolventConcentrationDot ()
 Calculate solvent concentration rate. More...
 

Additional Inherited Members

- Public Attributes inherited from GelModule::Gel::ConstitutiveEquation< TYPE >
int iD
 
map< int, BlockMaterialData > & dAta
 
ublas::matrix< TYPE, ublas::row_major, ublas::bounded_array< TYPE, 9 > > F
 Gradient of deformation. More...
 
ublas::matrix< TYPE, ublas::row_major, ublas::bounded_array< TYPE, 9 > > FDot
 Rate of gradient of deformation. More...
 
ublas::matrix< TYPE, ublas::row_major, ublas::bounded_array< TYPE, 9 > > strainHat
 Internal variable, strain in dashpot beta. More...
 
ublas::matrix< TYPE, ublas::row_major, ublas::bounded_array< TYPE, 9 > > strainHatDot
 Internal variable, strain in dashpot beta. More...
 
TYPE mU
 Solvent concentration. More...
 
ublas::vector< TYPE, ublas::bounded_array< TYPE, 3 > > gradientMu
 Gradient of solvent concentration. More...
 
ublas::matrix< TYPE, ublas::row_major, ublas::bounded_array< TYPE, 9 > > C
 Cauchy deformation. More...
 
ublas::matrix< TYPE, ublas::row_major, ublas::bounded_array< TYPE, 9 > > gradientU
 Gradient of displacements. More...
 
ublas::matrix< TYPE, ublas::row_major, ublas::bounded_array< TYPE, 9 > > strainTotal
 Total strain applied at integration point. More...
 
ublas::matrix< TYPE, ublas::row_major, ublas::bounded_array< TYPE, 9 > > stressAlpha
 Stress generated by spring alpha. More...
 
ublas::matrix< TYPE, ublas::row_major, ublas::bounded_array< TYPE, 9 > > stressBeta
 Stress generated by spring beta. More...
 
ublas::matrix< TYPE, ublas::row_major, ublas::bounded_array< TYPE, 9 > > strainHatFlux
 Rate of dashpot (beta) strain. More...
 
ublas::matrix< TYPE, ublas::row_major, ublas::bounded_array< TYPE, 9 > > stressBetaHat
 Stress as result of volume change due to solvent concentration. More...
 
TYPE traceStrainTotal
 
TYPE traceStrainHat
 
TYPE traceStressBeta
 
TYPE traceStrainTotalDot
 
ublas::matrix< TYPE, ublas::row_major, ublas::bounded_array< TYPE, 9 > > stressTotal
 Total stress. More...
 
ublas::vector< TYPE, ublas::bounded_array< TYPE, 9 > > solventFlux
 Solvent flux. More...
 
TYPE solventConcentrationDot
 Volume rate change. More...
 
ublas::matrix< TYPE, ublas::row_major, ublas::bounded_array< TYPE, 9 > > residualStrainHat
 Residual for calculation epsilon hat. More...
 

Detailed Description

template<typename TYPE>
struct GelModule::UserGelConstitutiveEquation< TYPE >

User (hackable) Gel model.

Member functions of Gel::ConstitutiveEquation can be overloaded and user constitutive equation can be implemented. Since ADOL-C is used all tangent matrices are automatically calculated and physical nonlinearities easily added to the model.

Definition at line 39 of file UserGelModel.hpp.

Constructor & Destructor Documentation

◆ UserGelConstitutiveEquation()

template<typename TYPE >
GelModule::UserGelConstitutiveEquation< TYPE >::UserGelConstitutiveEquation ( map< int, Gel::BlockMaterialData > &  data)
inline

Definition at line 41 of file UserGelModel.hpp.

41  :
42  Gel::ConstitutiveEquation<TYPE>(data) {
43  }

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