TwenteMeshGluing2.cpp File Reference
#include "generic.h"
#include "solid.h"
#include "meshes/simple_cubic_mesh.h"
#include "glued_mesh_stuff.h"

Classes

class  SheetGlueProblem< ELEMENT >
 Deformation of elastic pouch. More...
 

Namespaces

 Global_Physical_Variables
 Global variables.
 

Functions

void Global_Physical_Variables::constant_pressure (const Vector< double > &xi, const Vector< double > &x, const Vector< double > &n, Vector< double > &traction)
 Constant pressure load. More...
 
int main (int argc, char **argv)
 Driver for simple elastic problem. More...
 

Function Documentation

◆ main()

int main ( int argc  ,
char **  argv 
)

Driver for simple elastic problem.

857 {
858 
859  // Store command line arguments
860  CommandLineArgs::setup(argc,argv);
861 
862  //Initialise physical parameters
866 
867 
868  // Define a strain energy function: Generalised Mooney Rivlin
870  new GeneralisedMooneyRivlin(&Global_Physical_Variables::Nu,
873 
874  // Define a constitutive law (based on strain energy function)
876  new IsotropicStrainEnergyFunctionConstitutiveLaw(
878 
879  //Set up the problem with pure displacement formulation
881  problem.run("./");
882 }
Deformation of elastic pouch.
Definition: TwenteMeshGluing.cpp:98
void run(const std::string &dirname)
Run simulation.
Definition: TwenteMeshGluing.cpp:465
double E
Elastic modulus.
Definition: TwenteMeshGluing.cpp:64
double Nu
Poisson's ratio.
Definition: TwenteMeshGluing.cpp:67
ConstitutiveLaw * Constitutive_law_pt
Pointer to constitutive law.
Definition: TwenteMeshGluing.cpp:61
double C1
"Mooney Rivlin" coefficient for generalised Mooney Rivlin law
Definition: TwenteMeshGluing.cpp:70
StrainEnergyFunction * Strain_energy_function_pt
Pointer to strain energy function.
Definition: TwenteMeshGluing.cpp:58

References Global_Physical_Variables::C1, Global_Physical_Variables::Constitutive_law_pt, Global_Physical_Variables::E, Global_Physical_Variables::Nu, SheetGlueProblem< ELEMENT >::run(), and Global_Physical_Variables::Strain_energy_function_pt.