///////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////// Demonstrate how to solve OscRingNSt problem in deformable domain with mesh adaptation
1819 unsigned nstep_per_period=40;
1823 unsigned nstep=nstep_per_period*nperiod;
1824 double dt=1.0/
double(nstep_per_period);
1834 bool restarted=
false;
1837 ifstream* restart_file_pt=0;
1843 cout <<
"No restart" << std::endl;
1857 problem.set_initial_condition();
1868 if (restart_file_pt!=0)
1871 " for restart. " << std::endl;
1875 std::ostringstream error_stream;
1878 " for restart." << std::endl;
1885 problem.restart(*restart_file_pt);
1893 cout <<
"Only doing nstep steps for validation: " << nstep << std::endl;
1907 problem.unsteady_run(nstep,restarted,doc_info);
1929 restarted_doc_info.
number()=0;
1932 restart_file_pt=
new ifstream(
"RESLT/restart2.dat");
1935 restarted_problem.restart(*restart_file_pt);
1939 bool restarted=
true;
1940 restarted_problem.unsteady_run(nstep,restarted,restarted_doc_info);
Definition: interaction/fsi_osc_ring/osc_ring_alg.cc:86
Definition: timesteppers.h:1165
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