osc_quarter_ellipse.cc File Reference

Classes

class  MyEllipse
 
class  OscEllipseProblem< ELEMENT, TIMESTEPPER >
 Navier-Stokes problem in an oscillating ellipse domain. More...
 

Namespaces

 Global_Physical_Variables
 Global variables.
 

Functions

void Global_Physical_Variables::get_exact_u (const double &t, const Vector< double > &x, Vector< double > &u)
 Exact solution of the problem as a vector containing u,v,p. More...
 
int main (int argc, char *argv[])
 

Variables

double Global_Physical_Variables::A =1.0
 x-Half axis length More...
 
double Global_Physical_Variables::A_hat =0.1
 x-Half axis amplitude More...
 

Function Documentation

◆ main()

int main ( int argc  ,
char argv[] 
)

///////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////// Driver code for unsteady Navier-Stokes flow, driven by oscillating ellipse. If the code is executed with command line arguments, a validation run is performed.

625 {
626 
627  // Store command line arguments
628  CommandLineArgs::setup(argc,argv);
629 
630 
631  // Solve with Crouzeix-Raviart elements
632  {
633  // Create DocInfo object with suitable directory name for output
634  DocInfo doc_info;
635  doc_info.set_directory("RESLT_CR");
636 
637  //Set up problem
639 
640  // Run the unsteady simulation
641  problem.unsteady_run(doc_info);
642  }
643 
644  // Solve with Taylor-Hood elements
645  {
646  // Create DocInfo object with suitable directory name for output
647  DocInfo doc_info;
648  doc_info.set_directory("RESLT_TH");
649 
650  //Set up problem
652 
653  // Run the unsteady simulation
654  problem.unsteady_run(doc_info);
655  }
656 
657 
658 }; // end of main
Navier-Stokes problem in an oscillating ellipse domain.
Definition: osc_quarter_ellipse.cc:179
Definition: oomph_utilities.h:499
void set_directory(const std::string &directory)
Definition: oomph_utilities.cc:298
void setup(Time *time_pt)
Create all GeomObjects needed to define the cylinder and the flag.
Definition: turek_flag_non_fsi.cc:277
Constructor for SteadyAxisymAdvectionDiffusion problem
Definition: steady_axisym_advection_diffusion.cc:213

References problem, oomph::DocInfo::set_directory(), and Flag_definition::setup().