Classes | Namespaces | Functions | Variables
unstructured_three_d_solid.cc File Reference

Go to the source code of this file.

Classes

class  MySolidTetgenMesh< ELEMENT >
 Tetgen-based mesh upgraded to become a solid mesh. More...
 
class  UnstructuredSolidProblem< ELEMENT >
 Unstructured solid problem. More...
 

Namespaces

 Global_Parameters
 /////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////
 

Functions

void Global_Parameters::gravity (const double &time, const Vector< double > &xi, Vector< double > &b)
 Non-dimensional gravity as body force. More...
 
void Global_Parameters::constant_pressure (const Vector< double > &xi, const Vector< double > &x, const Vector< double > &n, Vector< double > &traction)
 Constant pressure load. The arguments to this function are imposed on us by the SolidTractionElements which allow the traction to depend on the Lagrangian and Eulerian coordinates x and xi, and on the outer unit normal to the surface. Here we only need the outer unit normal. More...
 
int main (int argc, char **argv)
 Demonstrate how to solve an unstructured 3D solid problem. More...
 

Variables

double Global_Parameters::Nu =0.3
 Poisson's ratio. More...
 
ConstitutiveLaw * Global_Parameters::Constitutive_law_pt =new GeneralisedHookean(&Nu)
 Create constitutive law. More...
 
double Global_Parameters::Gravity =0.0
 Non-dim gravity. More...
 
double Global_Parameters::P = 0.0
 Uniform pressure. More...
 

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

Demonstrate how to solve an unstructured 3D solid problem.

Definition at line 380 of file unstructured_three_d_solid.cc.

References UnstructuredSolidProblem< ELEMENT >::doc_solution(), Global_Parameters::Gravity, and Global_Parameters::P.