Driver for RefineableSphericalSpinUp test problem using a.
///////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////
459 cout <<
"Doing QCrouzeixRaviartElement" << std::endl;
466 trace_file <<
"time " <<
"u " <<
"v " <<
"w "
478 problem.set_initial_condition();
481 problem.mesh_pt()->max_permitted_error() = 1.0e-2;
482 problem.mesh_pt()->min_permitted_error() = 1.0e-3;
485 problem.mesh_pt()->max_refinement_level() = 4;
486 problem.mesh_pt()->min_refinement_level() = 1;
490 problem.mesh_pt()->spatial_error_estimator_pt());
494 problem.doc_solution(doc_info,trace_file);
499 unsigned max_adapt = 3;
504 for (
unsigned istep=0;istep<nstep;istep++)
506 cout <<
" Timestep " << istep << std::endl;
509 problem.unsteady_newton_solve(dt,max_adapt,first);
516 problem.doc_solution(doc_info,trace_file);
519 problem.mesh_pt()->node_pt(50);
521 trace_file <<
problem.time() <<
" "
522 << nod_pt->
x(0) <<
" " << nod_pt->
x(1)
523 <<
" " << nod_pt->
value(2) << std::endl;
Driven cavity problem in rectangular domain - time dependent version.
Definition: refineable_spin_up.cc:91
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
double & x(const unsigned &i)
Return the i-th nodal coordinate.
Definition: nodes.h:1060
double value(const unsigned &i) const
Definition: nodes.cc:2408
Definition: error_estimator.h:266
double & reference_flux_norm()
Access function for prescribed reference flux norm.
Definition: error_estimator.h:355
string filename
Definition: MergeRestartFiles.py:39
Constructor for SteadyAxisymAdvectionDiffusion problem
Definition: steady_axisym_advection_diffusion.cc:213