spherical_navier_stokes/spin_up/spin_up.cc File Reference

Classes

class  SphericalSpinUpProblem< ELEMENT >
 SpinUp problem in a sphere. More...
 

Namespaces

 Global_Physical_Variables
 Global variables.
 
 Boundary_Items
 

Functions

void Boundary_Items::boundary_velocity (double &time, const Vector< double > &x, double &u)
 
int main ()
 Driver for SphericalSpinUp test problem using a. More...
 

Function Documentation

◆ main()

int main ( )

Driver for SphericalSpinUp test problem using a.

///////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////

470 {
471 
472 
473  //Set the timestep
474  double dt=0.05;
475  //Set the number of steps
476  unsigned nstep = 3;
477 
478  // Doing QTaylorHoodElements
479  {
480  // Build the problem with QTaylorHoodElements
482  cout << "Doing QTaylorHoodElement" << std::endl;
483 
484  problem.timestep(dt,nstep,"RESLT_TH");
485  } // end of QTaylorHoodElements
486 
487 
488  // Doing QCrouzeixRaviartElements
489  {
490  // Build the problem with QCrouzeixRaviartElements
492  cout << "Doing QCrouzeixRaviartElement" << std::endl;
493 
494  problem.timestep(dt,nstep,"RESLT_CR");
495  } // end of QCrouzeixRaviartElements
496 
497 
498 } // end_of_main
SpinUp problem in a sphere.
Definition: spherical_navier_stokes/spin_up/spin_up.cc:85
Constructor for SteadyAxisymAdvectionDiffusion problem
Definition: steady_axisym_advection_diffusion.cc:213

References problem.