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)

## Variables

StrainEnergyFunction * Strain_energy_function_pt
Pointer to strain energy function. 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 C1 = 1.3
"Mooney Rivlin" coefficient for generalised Mooney Rivlin law More...

double P = 0.0
Uniform pressure. More...

double lenScale = 1
Length scale. More...

double timeScale = 1
Time scale. More...

## Detailed Description

Global variables.

## ◆ constant_pressure()

 void Global_Physical_Variables::constant_pressure ( const Vector< double > & xi, const Vector< double > & x, const Vector< double > & n, Vector< double > & traction )

77  {
78  unsigned dim = traction.size();
79  for (unsigned i = 0; i < dim; i++) {
80  traction[i] = -P * n[i];
81  }
82
83  } // end of pressure load
const unsigned n
Definition: CG3DPackingUnitTest.cpp:32
double P
Uniform pressure.
Definition: TwenteMeshGluing.cpp:73
const std::complex< Mdouble > i
Definition: ExtendedMath.h:51

References constants::i, n, and P.

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

## ◆ C1

 double Global_Physical_Variables::C1 = 1.3

"Mooney Rivlin" coefficient for generalised Mooney Rivlin law

Referenced by SinterLinInteraction::computeNormalForce(), main(), and CFile::writeP4C().

## ◆ Constitutive_law_pt

 ConstitutiveLaw * Global_Physical_Variables::Constitutive_law_pt

Pointer to constitutive law.

## ◆ E

 double Global_Physical_Variables::E = 1.0

Elastic modulus.

## ◆ lenScale

 double Global_Physical_Variables::lenScale = 1

## ◆ Nu

 double Global_Physical_Variables::Nu = 0.3

Poisson's ratio.

## ◆ Strain_energy_function_pt

 StrainEnergyFunction * Global_Physical_Variables::Strain_energy_function_pt

Pointer to strain energy function.

Referenced by main().

## ◆ timeScale

 double Global_Physical_Variables::timeScale = 1

Time scale.