Functions | Variables
Global_Parameters Namespace Reference

/////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////// More...

Functions

void gravity (const double &time, const Vector< double > &xi, Vector< double > &b)
 Non-dimensional gravity as body force. More...
 
void 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...
 

Variables

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

Detailed Description

/////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////

Global variables

Function Documentation

◆ constant_pressure()

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.

Definition at line 114 of file unstructured_three_d_solid.cc.

References P.

Referenced by UnstructuredSolidProblem< ELEMENT >::create_traction_elements().

◆ gravity()

void Global_Parameters::gravity ( const double &  time,
const Vector< double > &  xi,
Vector< double > &  b 
)

Non-dimensional gravity as body force.

Definition at line 97 of file unstructured_three_d_solid.cc.

References Gravity.

Referenced by UnstructuredSolidProblem< ELEMENT >::UnstructuredSolidProblem().

Variable Documentation

◆ Constitutive_law_pt

ConstitutiveLaw* Global_Parameters::Constitutive_law_pt =new GeneralisedHookean(&Nu)

Create constitutive law.

Definition at line 91 of file unstructured_three_d_solid.cc.

Referenced by UnstructuredSolidProblem< ELEMENT >::UnstructuredSolidProblem().

◆ Gravity

double Global_Parameters::Gravity =0.0

Non-dim gravity.

Definition at line 94 of file unstructured_three_d_solid.cc.

Referenced by gravity(), and main().

◆ Nu

double Global_Parameters::Nu =0.3

Poisson's ratio.

Definition at line 88 of file unstructured_three_d_solid.cc.

◆ P

double Global_Parameters::P = 0.0

Uniform pressure.

Definition at line 107 of file unstructured_three_d_solid.cc.

Referenced by constant_pressure(), and main().