Functions | Variables
Global_Physical_Variables Namespace Reference

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

Functions

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

Variables

double H =0.5
 Half height of beam. More...
 
double L =10.0
 Length of beam. More...
 
ConstitutiveLaw * Constitutive_law_pt
 Pointer to constitutive law. More...
 
double E =1.0
 Elastic modulus. More...
 
double Nu =0.3
 Poisson's ratio. More...
 
double P = 0.0
 Uniform pressure. More...
 
double Gravity =0.0
 Non-dim gravity. More...
 
StrainEnergyFunction * Strain_energy_function_pt
 Pointer to strain energy function. More...
 
double C1 =1.3
 "Mooney Rivlin" coefficient for generalised Mooney Rivlin law More...
 
double C2 =1.3
 "Mooney Rivlin" coefficient for generalised Mooney Rivlin law More...
 

Detailed Description

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

Global variables

Function Documentation

◆ constant_pressure()

void Global_Physical_Variables::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 174 of file airy_cantilever.cc.

References P.

Referenced by CantileverProblem< ELEMENT >::set_traction_pt().

◆ gravity()

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

Non-dimensional gravity as body force.

Definition at line 189 of file airy_cantilever.cc.

References Gravity.

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

Variable Documentation

◆ C1

double Global_Physical_Variables::C1 =1.3

"Mooney Rivlin" coefficient for generalised Mooney Rivlin law

Definition at line 158 of file airy_cantilever2.cc.

Referenced by main().

◆ C2

double Global_Physical_Variables::C2 =1.3

"Mooney Rivlin" coefficient for generalised Mooney Rivlin law

Definition at line 161 of file airy_cantilever2.cc.

Referenced by main().

◆ Constitutive_law_pt

ConstitutiveLaw * Global_Physical_Variables::Constitutive_law_pt

Pointer to constitutive law.

Definition at line 158 of file airy_cantilever.cc.

Referenced by CantileverProblem< ELEMENT >::CantileverProblem(), and main().

◆ E

double Global_Physical_Variables::E =1.0

Elastic modulus.

Definition at line 161 of file airy_cantilever.cc.

Referenced by main().

◆ Gravity

double Global_Physical_Variables::Gravity =0.0

Non-dim gravity.

Definition at line 186 of file airy_cantilever.cc.

Referenced by gravity(), main(), and CantileverProblem< ELEMENT >::run_it().

◆ H

double Global_Physical_Variables::H =0.5

◆ L

double Global_Physical_Variables::L =10.0

◆ Nu

double Global_Physical_Variables::Nu =0.3

Poisson's ratio.

Definition at line 164 of file airy_cantilever.cc.

Referenced by main().

◆ P

double Global_Physical_Variables::P = 0.0

◆ Strain_energy_function_pt

StrainEnergyFunction* Global_Physical_Variables::Strain_energy_function_pt

Pointer to strain energy function.

Definition at line 155 of file airy_cantilever2.cc.

Referenced by main().