simple_spine_channel.cc File Reference

Classes

class  WavyWall
 
class  SimpleSpineMesh< ELEMENT >
 
class  ChannelSpineFlowProblem< ELEMENT >
 

Namespaces

 Global_Physical_Variables
 Global variables.
 

Functions

double Global_Physical_Variables::height (const double &x)
 Height of domain. More...
 
int main ()
 Driver for channel flow problem with spine mesh. More...
 

Variables

double Global_Physical_Variables::X_indent_start =0.5
 Start of indented region. More...
 
double Global_Physical_Variables::L_total =4.0
 Total length of domain. More...
 

Function Documentation

◆ main()

int main ( )

Driver for channel flow problem with spine mesh.

655 {
656 
657  // Set output directory
658  DocInfo doc_info;
659  doc_info.set_directory("RESLT");
660  doc_info.number()=0;
661 
662  // Solve problem with Taylor Hood elements
663  //---------------------------------------
664  {
665  //Build problem
667 
668  // Solve the problem
669  problem.newton_solve();
670 
671  //Output solution
672  problem.doc_solution(doc_info);
673 
674  // Step number
675  doc_info.number()++;
676 
677  } // end of Taylor Hood elements
678 
679 
680  // Solve problem with Crouzeix Raviart elements
681  //--------------------------------------------
682  {
683  // Build problem
685  problem;
686 
687  // Solve the problem with automatic adaptation
688  problem.newton_solve();
689 
690  //Output solution
691  problem.doc_solution(doc_info);
692  // Step number
693  doc_info.number()++;
694 
695  } // end of Crouzeix Raviart elements
696 
697 
698 
699 } // end_of_main
Definition: simple_spine_channel.cc:459
Definition: oomph_utilities.h:499
void set_directory(const std::string &directory)
Definition: oomph_utilities.cc:298
unsigned & number()
Number used (e.g.) for labeling output files.
Definition: oomph_utilities.h:554
Constructor for SteadyAxisymAdvectionDiffusion problem
Definition: steady_axisym_advection_diffusion.cc:213

References oomph::DocInfo::number(), problem, and oomph::DocInfo::set_directory().