rayleigh_instability_insoluble_surfactant.cc File Reference

Classes

class  oomph::SpineAxisymmetricMarangoniSurfactantFluidInterfaceElement< ELEMENT >
 
class  oomph::MyHorizontalSingleLayerSpineMesh< ELEMENT >
 
class  InterfaceProblem< ELEMENT, TIMESTEPPER >
 Single axisymmetric fluid interface problem in rectangular domain. More...
 

Namespaces

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

Functions

int main (int argc, char *argv[])
 Driver code for single fluid axisymmetric horizontal interface problem. More...
 

Variables

Vector< doubleGlobal_Physical_Variables::G (3) = 1.0
 Direction of gravity. More...
 

Function Documentation

◆ main()

int main ( int argc  ,
char argv[] 
)

Driver code for single fluid axisymmetric horizontal interface problem.

//////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////

Maximum time

Duration of timestep

1256 {
1257 
1258  // Store command line arguments
1259  CommandLineArgs::setup(argc,argv);
1260 
1262  double t_max = 1000.0;
1263 
1265  const double dt = 0.1;
1266 
1267  // If we are doing validation run, use smaller number of timesteps
1268  if(CommandLineArgs::Argc>1)
1269  {
1270  t_max = 0.5;
1271  }
1272 
1273  // Number of elements in radial (r) direction
1274  const unsigned n_r = 10;
1275 
1276  // Number of elements in axial (z) direction
1277  const unsigned n_z = 80;
1278 
1279  // Height of domain
1281 
1282  // Set direction of gravity (vertically downwards)
1286 
1287  // Set up the spine test problem with AxisymmetricQCrouzeixRaviartElements,
1288  // using the BDF<2> timestepper
1290  problem(n_r,n_z,l_z);
1291 
1292  // Run the unsteady simulation
1293  problem.unsteady_run(t_max,dt);
1294 } // End of main
Single axisymmetric fluid interface problem in rectangular domain.
Definition: rayleigh_instability.cc:87
double Pi
Definition: two_d_biharmonic.cc:235
void setup(Time *time_pt)
Create all GeomObjects needed to define the cylinder and the flag.
Definition: turek_flag_non_fsi.cc:277
double Alpha
Scaling factor for wall thickness (to be used in an exercise)
Definition: unsteady_ring.cc:73
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 Global_Physical_Variables::Alpha, oomph::CommandLineArgs::Argc, Global_Physical_Variables::G, oomph::MathematicalConstants::Pi, problem, and oomph::CommandLineArgs::setup().