bretherton.cc File Reference
#include <algorithm>
#include "generic.h"
#include "navier_stokes.h"
#include "fluid_interface.h"
#include "meshes/bretherton_spine_mesh.h"

Classes

class  BrethertonElement< ELEMENT >
 
class  oomph::FaceGeometry< BrethertonElement< SpineElement< QCrouzeixRaviartElement< 2 > > > >
 Face geometry of the Bretherton 2D Crouzeix_Raviart spine elements. More...
 
class  oomph::FaceGeometry< BrethertonElement< SpineElement< QTaylorHoodElement< 2 > > > >
 Face geometry of the Bretherton 2D Taylor Hood spine elements. More...
 
class  oomph::FaceGeometry< FaceGeometry< BrethertonElement< SpineElement< QCrouzeixRaviartElement< 2 > > > > >
 
class  oomph::FaceGeometry< FaceGeometry< BrethertonElement< SpineElement< QTaylorHoodElement< 2 > > > > >
 
class  BrethertonProblem< ELEMENT >
 Bretherton problem. More...
 

Namespaces

 Global_Physical_Variables
 Global variables.
 
 oomph
 DRAIG: Change all instances of (SPATIAL_DIM) to (DIM-1).
 

Functions

Vector< doubleGlobal_Physical_Variables::G (2)
 Direction of gravity. More...
 
void Global_Physical_Variables::inflow (const Vector< double > &x, Vector< double > &veloc)
 
int main (int argc, char *argv[])
 

Variables

doubleGlobal_Physical_Variables::H_lo_pt
 Pointer to film thickness at outflow on the lower wall. More...
 
doubleGlobal_Physical_Variables::H_up_pt
 Pointer to film thickness at outflow on the upper wall. More...
 
doubleGlobal_Physical_Variables::Y_lo_pt
 Pointer to y-position at inflow on the lower wall. More...
 
doubleGlobal_Physical_Variables::Y_up_pt
 Pointer to y-position at inflow on the upper wall. More...
 

Function Documentation

◆ main()

int main ( int argc  ,
char argv[] 
)

Driver code for unsteady two-layer fluid problem. If there are any command line arguments, we regard this as a validation run and perform only a single step.

917 {
918 
919 
920  // Store command line arguments
921  CommandLineArgs::setup(argc,argv);
922 
923  // Set physical parameters:
924 
925  //Set direction of gravity: Vertically downwards
928 
929  // Womersley number = Reynolds number (St = 1)
932 
933  // The Capillary number
935 
936  // Re/Fr -- a measure of gravity...
938 
939  //Set up the problem
941 
942  // Self test:
943  problem.self_test();
944 
945  // Number of steps:
946  unsigned nstep;
947  if (CommandLineArgs::Argc>1)
948  {
949  // Validation run: Just one step
950  nstep=2;
951  }
952  else
953  {
954  // Full run otherwise
955  nstep=30;
956  }
957 
958  // Run the parameter study: Perform nstep steps
959  problem.parameter_study(nstep);
960 
961 }
Bretherton problem.
Definition: bretherton.cc:465
void setup(Time *time_pt)
Create all GeomObjects needed to define the cylinder and the flag.
Definition: turek_flag_non_fsi.cc:277
double ReSt
Womersley number.
Definition: rayleigh_instability.cc:56
double Ca
Capillary number.
Definition: fibre.cc:61
double ReInvFr
Product of Reynolds number and inverse of Froude number.
Definition: fibre.cc:58
double Re
Reynolds number.
Definition: fibre.cc:55
Vector< double > G(3)
Direction of gravity.
Definition: spherical_shell_convection.cc:62
int Argc
Number of arguments + 1.
Definition: oomph_utilities.cc:407
Constructor for SteadyAxisymAdvectionDiffusion problem
Definition: steady_axisym_advection_diffusion.cc:213

References oomph::CommandLineArgs::Argc, Global_Physical_Variables::Ca, Global_Physical_Variables::G, problem, Global_Physical_Variables::Re, Global_Physical_Variables::ReInvFr, Global_Physical_Variables::ReSt, and Flag_definition::setup().