From 25c8671c695d73a3d1f4831f7884e32fd83d3bcf Mon Sep 17 00:00:00 2001 From: bangerth Date: Wed, 28 Jan 2009 23:54:13 +0000 Subject: [PATCH] Reset to the same testcase as in step-31 so we can compare. git-svn-id: https://svn.dealii.org/trunk@18308 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/examples/step-32/step-32.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/deal.II/examples/step-32/step-32.cc b/deal.II/examples/step-32/step-32.cc index e6a6c9c47c..7c2e42c43a 100644 --- a/deal.II/examples/step-32/step-32.cc +++ b/deal.II/examples/step-32/step-32.cc @@ -1307,7 +1307,7 @@ void BoussinesqFlowProblem::solve () computing_timer.enter_section (" Assemble temperature rhs"); old_time_step = time_step; - time_step = 1./(1.9*dim*std::sqrt(1.*dim)) / + time_step = 1./(1.6*dim*std::sqrt(1.*dim)) / temperature_degree * GridTools::minimal_cell_diameter(triangulation) / std::max (get_maximal_velocity(), 0.01); @@ -1522,7 +1522,7 @@ void BoussinesqFlowProblem::refine_mesh (const unsigned int max_grid_level) template void BoussinesqFlowProblem::run () { - const unsigned int initial_refinement = (dim == 2 ? 3 : 2); + const unsigned int initial_refinement = (dim == 2 ? 4 : 2); const unsigned int n_pre_refinement_steps = (dim == 2 ? 4 : 3); //GridGenerator::half_hyper_shell (triangulation, @@ -1662,7 +1662,7 @@ int main (int argc, char *argv[]) Utilities::System::MPI_InitFinalize mpi_initialization(argc, argv); - BoussinesqFlowProblem<3> flow_problem; + BoussinesqFlowProblem<2> flow_problem; flow_problem.run (); } catch (std::exception &exc) -- 2.39.5