Driver for RefineableSphericalSpinUp test problem using a.
///////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////
489 cout <<
"Doing QCrouzeixRaviartElement" << std::endl;
496 trace_file <<
"time " <<
"u " <<
"v " <<
"w "
507 problem.set_initial_condition();
510 problem.mesh_pt()->max_permitted_error() = 1.0e-2;
511 problem.mesh_pt()->min_permitted_error() = 1.0e-3;
514 problem.mesh_pt()->max_refinement_level() = 4;
515 problem.mesh_pt()->min_refinement_level() = 1;
519 problem.mesh_pt()->spatial_error_estimator_pt());
523 problem.doc_solution(doc_info,trace_file);
529 unsigned max_adapt = 3;
534 for (
unsigned istep=0;istep<nstep;istep++)
536 cout <<
" Timestep " << istep << std::endl;
539 problem.unsteady_newton_solve(dt,max_adapt,first);
546 problem.doc_solution(doc_info,trace_file);
549 problem.mesh_pt()->node_pt(50);
551 trace_file <<
problem.time() <<
" "
552 << nod_pt->
x(0) <<
" " << nod_pt->
x(1)
553 <<
" " << 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