all_foeppl_von_karman/circular_disk.cc File Reference
#include <fenv.h>
#include "generic.h"
#include "foeppl_von_karman.h"
#include "meshes/triangle_mesh.h"

Classes

class  UnstructuredFvKProblem< ELEMENT >
 Class definition. More...
 

Namespaces

 GlobalParameters
 Global parameters.
 

Functions

void GlobalParameters::get_pressure (const Vector< double > &x, double &pressure)
 Pressure depending on the position (x,y) More...
 
void GlobalParameters::zero (const Vector< double > &x, Vector< double > &u)
 
int main (int argc, char **argv)
 Driver code for demo of inline triangle mesh generation. More...
 

Variables

double GlobalParameters::Eta = 2.39e6
 FvK parameter. More...
 
double GlobalParameters::R_b = 0.1
 The "bubble" radius. More...
 
double GlobalParameters::Pressure =0.0
 The pressure. More...
 

Function Documentation

◆ main()

int main ( int argc  ,
char **  argv 
)

Driver code for demo of inline triangle mesh generation.

499 {
500 
501  // Store command line arguments
502  CommandLineArgs::setup(argc,argv);
503 
504  // Define possible command line arguments and parse the ones that
505  // were actually specified
507 
508  // Parse command line
510 
511 
512 
513  // Doc what has actually been specified on the command line
515 
516  // Problem instance
518  problem(0.01);
519 
520  double dp=0.1;
521  unsigned n_step=10;
523  {
524  n_step=2;
525  }
526  for (unsigned i=0;i<n_step;i++)
527  {
528  oomph_info << "Solving for p = " << GlobalParameters::Pressure << std::endl;
529 
530  // Solve the problem
531  problem.newton_solve();
532 
533  //Output solution
534  problem.doc_solution();
535 
536  // Increment pressure
538  }
539 
540 
541 } //End of main
int i
Definition: BiCGSTAB_step_by_step.cpp:9
Class definition.
Definition: all_foeppl_von_karman/circular_disk.cc:86
void setup(Time *time_pt)
Create all GeomObjects needed to define the cylinder and the flag.
Definition: turek_flag_non_fsi.cc:277
double Pressure
The pressure.
Definition: all_foeppl_von_karman/circular_disk.cc:57
bool command_line_flag_has_been_set(const std::string &flag)
Definition: oomph_utilities.cc:501
void specify_command_line_flag(const std::string &command_line_flag, const std::string &doc)
Specify possible argument-free command line flag.
Definition: oomph_utilities.cc:451
void parse_and_assign(int argc, char *argv[], const bool &throw_on_unrecognised_args)
Definition: oomph_utilities.cc:760
void doc_specified_flags()
Document specified command line flags.
Definition: oomph_utilities.cc:610
OomphInfo oomph_info
Definition: oomph_definitions.cc:319
Constructor for SteadyAxisymAdvectionDiffusion problem
Definition: steady_axisym_advection_diffusion.cc:213

References oomph::CommandLineArgs::command_line_flag_has_been_set(), oomph::CommandLineArgs::doc_specified_flags(), i, oomph::oomph_info, oomph::CommandLineArgs::parse_and_assign(), GlobalParameters::Pressure, problem, Flag_definition::setup(), and oomph::CommandLineArgs::specify_command_line_flag().