periodic_load.cc File Reference

Classes

class  PeriodicLoadProblem< ELEMENT >
 Periodic loading problem. More...
 

Namespaces

 Global_Parameters
 Namespace for global parameters.
 

Functions

TimeHarmonicIsotropicElasticityTensor Global_Parameters::E (Nu)
 The elasticity tensor for the solid. More...
 
void Global_Parameters::exact_solution (const Vector< double > &x, Vector< double > &u)
 The exact solution for infinite depth case. More...
 
void Global_Parameters::periodic_traction (const double &time, const Vector< double > &x, const Vector< double > &n, Vector< double > &result)
 The traction function. More...
 
int main (int argc, char *argv[])
 Driver code for PeriodicLoad linearly elastic problem. More...
 

Variables

double Global_Parameters::Amplitude = 1.0
 Amplitude of traction applied. More...
 
bool Global_Parameters::Finite =false
 
double Global_Parameters::Lx = 1.0
 Length of domain in x direction. More...
 
double Global_Parameters::Ly = 2.0
 Length of domain in y direction. More...
 

Function Documentation

◆ main()

int main ( int argc  ,
char argv[] 
)

Driver code for PeriodicLoad linearly elastic problem.

291 {
292  // Number of elements in x-direction
293  unsigned nx=5;
294 
295  // Number of elements in y-direction (for (approximately) square elements)
297 
298  // Set up doc info
299  DocInfo doc_info;
300 
301  // Set output directory
302  doc_info.set_directory("RESLT");
303 
304  // Set up problem
307 
308  // Solve
309  problem.newton_solve();
310 
311  // Output the solution
312  problem.doc_solution(doc_info);
313 
314 } // end_of_main
Periodic loading problem.
Definition: periodic_load.cc:92
Definition: oomph_utilities.h:499
void set_directory(const std::string &directory)
Definition: oomph_utilities.cc:298
double Ly
Length of domain in y direction.
Definition: periodic_load.cc:58
double Lx
Length of domain in x direction.
Definition: periodic_load.cc:55
const unsigned nx
Definition: ConstraintElementsUnitTest.cpp:30
const unsigned ny
Definition: ConstraintElementsUnitTest.cpp:31
Constructor for SteadyAxisymAdvectionDiffusion problem
Definition: steady_axisym_advection_diffusion.cc:213

References Global_Parameters::Lx, Global_Parameters::Ly, Mesh_Parameters::nx, Mesh_Parameters::ny, problem, and oomph::DocInfo::set_directory().