///////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////// Demonstrate how to solve OscRingNSt problem in deformable domain with mesh adaptation
928 unsigned nstep_per_period=40;
932 unsigned nstep=nstep_per_period*nperiod;
933 double dt=1.0/
double(nstep_per_period);
943 bool restarted=
false;
946 ifstream* restart_file_pt=0;
952 cout <<
"No restart" << std::endl;
965 problem.set_initial_condition();
977 if (restart_file_pt!=0)
980 " for restart. " << std::endl;
984 std::ostringstream error_stream;
985 error_stream <<
"ERROR while trying to open "
987 <<
" for restart." << std::endl;
994 problem.restart(*restart_file_pt);
1002 cout <<
"Only doing nstep steps for validation: " << nstep << std::endl;
1017 problem.unsteady_run(nstep,restarted,doc_info);
1040 restarted_doc_info.
number()=0;
1043 restart_file_pt=
new ifstream(
"RESLT/restart2.dat");
1046 restarted_problem.restart(*restart_file_pt);
1050 bool restarted=
true;
1051 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: macro_element_node_update_element.h:265
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