thermo.cc File Reference
#include "generic.h"
#include "solid.h"
#include "unsteady_heat.h"
#include "meshes/rectangular_quadmesh.h"

Classes

class  QThermalPVDElement< DIM >
 
class  ThermalProblem< ELEMENT >
 

Namespaces

 Global_Physical_Variables
 Global variables.
 

Functions

int main (int argc, char **argv)
 Driver code for 2D Thermoelasticity problem. More...
 

Function Documentation

◆ main()

int main ( int argc  ,
char **  argv 
)

Driver code for 2D Thermoelasticity problem.

407 {
408 
409  // "Big G" Linear constitutive equations:
413 
414  //Construct our problem
416 
417  //Number of quasi-steady steps
418  unsigned n_steps = 11;
419  //If we have additional command line arguemnts, take fewer steps
420  if(argc > 1) {n_steps = 2;}
421  for(unsigned i=0;i<n_steps;i++)
422  {
423  //Increase the thermal expansion coefficient
425 
426  //Perform a single steady newton solve
427  problem.newton_solve();
428  //Document the solution
429  problem.doc_solution();
430  }
431 } // end of main
int i
Definition: BiCGSTAB_step_by_step.cpp:9
Definition: thermo.cc:251
Definition: constitutive_laws.h:699
double E
Elastic modulus.
Definition: TwenteMeshGluing.cpp:68
double Nu
Poisson's ratio.
Definition: TwenteMeshGluing.cpp:71
ConstitutiveLaw * Constitutive_law_pt
Pointer to constitutive law.
Definition: TwenteMeshGluing.cpp:65
double Alpha
Scaling factor for wall thickness (to be used in an exercise)
Definition: unsteady_ring.cc:73
Constructor for SteadyAxisymAdvectionDiffusion problem
Definition: steady_axisym_advection_diffusion.cc:213

References Global_Physical_Variables::Alpha, Global_Physical_Variables::Constitutive_law_pt, Global_Physical_Variables::E, i, oomph::Global_Physical_Variables::Nu, and problem.