refineable_simple_shear.cc File Reference
#include "generic.h"
#include "solid.h"
#include "meshes/simple_cubic_mesh.template.h"

Classes

class  RefineableElasticCubicMesh< ELEMENT >
 Simple cubic mesh upgraded to become a solid mesh. More...
 
class  SimpleShearProblem< ELEMENT >
 Boundary-driven elastic deformation of fish-shaped domain. More...
 

Namespaces

 Global_Physical_Variables
 Global variables.
 

Functions

void Global_Physical_Variables::body_force (const Vector< double > &xi, const double &t, Vector< double > &b)
 Body force vector: Vertically downwards with magnitude Gravity. More...
 
int main ()
 Driver for simple elastic problem. More...
 

Function Documentation

◆ main()

int main ( )

Driver for simple elastic problem.

408 {
409 
410  //Initialise physical parameters
414 
415 
416  // Define a strain energy function: Generalised Mooney Rivlin
421 
422  // Define a constitutive law (based on strain energy function)
426 
427  {
428  //Set up the problem with pure displacement formulation
430  problem.run("RESLT_ref");
431  }
432 
433  {
434  //Set up the problem with displacement and pressure
436  problem.run("RESLT_pres_ref");
437  }
438 
439  {
440  //Set up the problem with displacement and continuous pressure
442  problem(false);
443  problem.run("RESLT_cont_pres_ref");
444  }
445 
446 
447 
448 }
Boundary-driven elastic deformation of fish-shaped domain.
Definition: refineable_simple_shear.cc:138
Definition: constitutive_laws.h:215
Definition: constitutive_laws.h:801
double E
Elastic modulus.
Definition: TwenteMeshGluing.cpp:68
double Nu
Poisson's ratio.
Definition: TwenteMeshGluing.cpp:71
ConstitutiveLaw * Constitutive_law_pt
Pointer to constitutive law.
Definition: TwenteMeshGluing.cpp:65
double C1
"Mooney Rivlin" coefficient for generalised Mooney Rivlin law
Definition: TwenteMeshGluing.cpp:74
StrainEnergyFunction * Strain_energy_function_pt
Pointer to strain energy function.
Definition: TwenteMeshGluing.cpp:62
Constructor for SteadyAxisymAdvectionDiffusion problem
Definition: steady_axisym_advection_diffusion.cc:213

References Global_Physical_Variables::C1, Global_Physical_Variables::Constitutive_law_pt, Global_Physical_Variables::E, Global_Physical_Variables::Nu, problem, and Global_Physical_Variables::Strain_energy_function_pt.