simple_segregated_driver.cc File Reference
#include "generic.h"
#include "navier_stokes.h"
#include "beam.h"
#include "multi_physics.h"
#include "meshes/one_d_lagrangian_mesh.h"
#include "meshes/collapsible_channel_mesh.h"
#include "fsi_chan_problem.h"

Classes

class  SegregatedFSICollapsibleChannelProblem< ELEMENT >
 

Namespaces

 Flags
 Extend namespace for flags.
 

Functions

int main ()
 Driver code for a segregated collapsible channel problem with FSI. More...
 

Function Documentation

◆ main()

int main ( )

Driver code for a segregated collapsible channel problem with FSI.

446 {
447  // Number of elements in the domain
448  unsigned nup=4*Flags::Resolution_factor;
449  unsigned ncollapsible=20*Flags::Resolution_factor;
450  unsigned ndown=40*Flags::Resolution_factor;
451  unsigned ny=4*Flags::Resolution_factor;
452 
453 
454  // Geometry of the domain
455  double lup=1.0;
456  double lcollapsible=5.0;
457  double ldown=10.0;
458  double ly=1.0;
459 
460  // Steady run by default
461  bool steady_flag=true;
462  // with displacement control
463  bool displ_control=true;
464 
465  // Build the problem with QTaylorHoodElements
468  problem(nup, ncollapsible, ndown, ny,
469  lup, lcollapsible, ldown, ly, displ_control,
470  steady_flag);
471 
472  //Perform a steady run
473  problem.steady_run();
474 
475 }//end of main
Definition: fsi_chan_seg_driver.cc:216
Definition: algebraic_elements.h:540
unsigned Resolution_factor
Resolution factor (multiplier for number of elements across channel)
Definition: fsi_chan_problem.h:236
const double ly
Definition: ConstraintElementsUnitTest.cpp:34
const unsigned ny
Definition: ConstraintElementsUnitTest.cpp:31
Constructor for SteadyAxisymAdvectionDiffusion problem
Definition: steady_axisym_advection_diffusion.cc:213

References Mesh_Parameters::ly, Mesh_Parameters::ny, problem, and Flags::Resolution_factor.