///////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////// Driver code for the adaptive solution of an unsteady heat equation with option for restart from disk: Only a single command line argument is allowed. If specified it is interpreted as the name of the restart file.
636 trace_file <<
"VARIABLES=\"time\",\"dt\",\"u<SUB>FE</SUB>\","
637 <<
"\"u<SUB>exact</SUB>\",\"norm of error\",\"norm of solution\""
644 problem.set_initial_condition();
649 double dt=
problem.time_pt()->dt();
652 problem.doc_solution(doc_info,trace_file);
658 double epsilon_t=1.0e-4;
662 while (
problem.time_pt()->time()<t_max)
671 double dt_next=
problem.adaptive_unsteady_newton_solve(dt,epsilon_t);
677 problem.doc_solution(doc_info,trace_file);
UnsteadyHeat problem.
Definition: pretend_melt.cc:80
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
void get_source(const double &time, const Vector< double > &x, double &source)
Source function to make it an exact solution.
Definition: heat_transfer_and_melting/two_d_unsteady_heat_melt/two_d_unsteady_heat.cc:79
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
Constructor for SteadyAxisymAdvectionDiffusion problem
Definition: steady_axisym_advection_diffusion.cc:213