Global_Physical_Variables Namespace Reference

Global variables. 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

 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 178 of file airy_cantilever.cc.

References P.

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

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

Non-dimensional gravity as body force.

Definition at line 193 of file airy_cantilever.cc.

References Gravity.

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

## Variable Documentation

 double Global_Physical_Variables::C1 =1.3

"Mooney Rivlin" coefficient for generalised Mooney Rivlin law

Definition at line 162 of file airy_cantilever2.cc.

Referenced by main().

 double Global_Physical_Variables::C2 =1.3

"Mooney Rivlin" coefficient for generalised Mooney Rivlin law

Definition at line 165 of file airy_cantilever2.cc.

Referenced by main().

 ConstitutiveLaw * Global_Physical_Variables::Constitutive_law_pt

Pointer to constitutive law.

Definition at line 162 of file airy_cantilever.cc.

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

 double Global_Physical_Variables::E =1.0

Elastic modulus.

Definition at line 165 of file airy_cantilever.cc.

Referenced by main().

 double Global_Physical_Variables::Gravity =0.0

Non-dim gravity.

Definition at line 190 of file airy_cantilever.cc.

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

 double Global_Physical_Variables::H =0.5

Half height of beam.

Definition at line 156 of file airy_cantilever.cc.

 double Global_Physical_Variables::L =10.0

Length of beam.

Definition at line 159 of file airy_cantilever.cc.

 double Global_Physical_Variables::Nu =0.3

Poisson's ratio.

Definition at line 168 of file airy_cantilever.cc.

Referenced by main().

 double Global_Physical_Variables::P = 0.0

Uniform pressure.

Definition at line 171 of file airy_cantilever.cc.

 StrainEnergyFunction* Global_Physical_Variables::Strain_energy_function_pt

Pointer to strain energy function.

Definition at line 159 of file airy_cantilever2.cc.

Referenced by main().