///////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////// Demonstrate how to solve OscRingNSt problem in deformable domain with mesh adaptation
930 unsigned nstep_per_period=40;
934 unsigned nstep=nstep_per_period*nperiod;
935 double dt=1.0/
double(nstep_per_period);
945 bool restarted=
false;
948 ifstream* restart_file_pt=0;
954 cout <<
"No restart" << std::endl;
968 problem.set_initial_condition();
980 if (restart_file_pt!=0)
983 " for restart. " << std::endl;
987 std::ostringstream error_stream;
988 error_stream <<
"ERROR while trying to open "
990 <<
" for restart." << std::endl;
997 problem.restart(*restart_file_pt);
1005 cout <<
"Only doing nstep steps for validation: " << nstep << std::endl;
1020 problem.unsteady_run(nstep,restarted,doc_info);
1042 restarted_doc_info.
number()=0;
1045 restart_file_pt=
new ifstream(
"RESLT/restart2.dat");
1048 restarted_problem.restart(*restart_file_pt);
1052 bool restarted=
true;
1053 restarted_problem.unsteady_run(nstep,restarted,restarted_doc_info);
Definition: interaction/fsi_osc_ring/osc_ring_alg.cc:86
Definition: oomph_utilities.h:499
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
Definition: oomph_definitions.h:222
void setup(Time *time_pt)
Create all GeomObjects needed to define the cylinder and the flag.
Definition: turek_flag_non_fsi.cc:277
void full_exact_soln(const double &time, const Vector< double > &x, Vector< double > &soln)
Full exact solution: x,y,u,v,p,du/dt,dv/dt,diss.
Definition: navier_stokes/osc_ring/osc_ring_alg.cc:539
char ** Argv
Arguments themselves.
Definition: oomph_utilities.cc:410
int Argc
Number of arguments + 1.
Definition: oomph_utilities.cc:407
#define OOMPH_EXCEPTION_LOCATION
Definition: oomph_definitions.h:61
#define OOMPH_CURRENT_FUNCTION
Definition: oomph_definitions.h:86
Constructor for SteadyAxisymAdvectionDiffusion problem
Definition: steady_axisym_advection_diffusion.cc:213