///////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////// Driver code for 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.
556 trace_file <<
"VARIABLES=\"time\",\"u<SUB>FE</SUB>\","
557 <<
"\"u<SUB>exact</SUB>\",\"norm of error\",\"norm of solution\""
564 problem.set_initial_condition();
567 problem.doc_solution(doc_info,trace_file);
578 double dt=
problem.time_pt()->dt();
581 unsigned nstep =
unsigned(t_max/dt);
584 for (
unsigned istep=0;istep<nstep;istep++)
587 problem.unsteady_newton_solve(dt);
590 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