torus.cc File Reference
#include "generic.h"
#include "axisym_navier_stokes.h"
#include "navier_stokes.h"
#include "meshes/full_circle_mesh.h"

Classes

class  FilledCircle
 
class  TorusProblem< ELEMENT >
 Solve the Axisymmetric Navier Stokes equations in a torus. More...
 

Namespaces

 Global_Physical_Variables
 Global variables.
 

Functions

int main ()
 

Variables

double Global_Physical_Variables::Delta = 0.128
 The curvature of the torus. More...
 

Function Documentation

◆ main()

int main ( )
436 {
437  //Construct and solve the problem
438  //This maximum refinement level means that we fit (easily) into a
439  //1G machine, but it could probably go higher if you start to
440  //see refinement being overruled.
441  //If you have this too high you get ridiculous refinement at early
442  //times that isn't really necessary.
443  unsigned max_refinement_level = 6;
444  double max_error = 1.0e-3;
445  double min_error = 1.0e-5;
447  max_refinement_level,min_error,max_error);
448 
449  //Refine uniformly once
450  problem.refine_uniformly();
451 
452  //Now timestep
453  problem.solve_system(0.01,2);
454 }
Solve the Axisymmetric Navier Stokes equations in a torus.
Definition: torus.cc:125
double min_error
Definition: MortaringCantileverCompareToNonMortaring.cpp:189
double max_error
Definition: MortaringCantileverCompareToNonMortaring.cpp:188
Constructor for SteadyAxisymAdvectionDiffusion problem
Definition: steady_axisym_advection_diffusion.cc:213

References MeshRefinement::max_error, MeshRefinement::min_error, and problem.