//////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// Driver code for a driven cavity problem with FSI. Presence of command line arguments indicates validation run with coarse resolution and small number of steps.
398 double gap_fraction=1.0/16.0;
408 double dt=period/40.0;
417 problem.set_initial_condition();
430 problem.doc_solution(doc_info, trace_file);
436 unsigned nstep =
unsigned(t_max/dt);
443 for (
unsigned istep=0;istep<nstep;istep++)
453 problem.setup_segregated_solver();
458 conv_data=
problem.unsteady_segregated_solve(dt);
464 << std::endl << std::endl << std::endl
465 <<
"PERCENTAGE OF CPU TIME SPENT IN COMPUTATION OF GLOBAL RESIDUAL="
468 << std::endl << std::endl << std::endl <<std::endl;
471 <<
"PERCENTAGE OF CPU TIME SPENT IN COMPUTATION OF NON-ESSENTIAL BITS="
476 << std::endl << std::endl << std::endl <<std::endl;
485 problem.doc_solution(doc_info, trace_file);
Definition: fsi_driven_cavity_segregated_driver.cc:48
Definition: oomph_utilities.h:499
std::string directory() const
Output directory.
Definition: oomph_utilities.h:524
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
Object that collates convergence data of Picard iteration.
Definition: segregated_fsi_solver.h:40
double & cpu_for_global_residual()
Definition: segregated_fsi_solver.h:80
double & essential_cpu_total()
Definition: segregated_fsi_solver.h:71
double & cpu_total()
Total CPU time for segregated solve.
Definition: segregated_fsi_solver.h:63
void setup(Time *time_pt)
Create all GeomObjects needed to define the cylinder and the flag.
Definition: turek_flag_non_fsi.cc:277
string filename
Definition: MergeRestartFiles.py:39
const double ly
Definition: ConstraintElementsUnitTest.cpp:34
const double lx
Definition: ConstraintElementsUnitTest.cpp:33
const unsigned nx
Definition: ConstraintElementsUnitTest.cpp:30
const unsigned ny
Definition: ConstraintElementsUnitTest.cpp:31
int Argc
Number of arguments + 1.
Definition: oomph_utilities.cc:407
Constructor for SteadyAxisymAdvectionDiffusion problem
Definition: steady_axisym_advection_diffusion.cc:213