From: Wolfgang Bangerth Date: Wed, 19 Aug 2009 03:16:25 +0000 (+0000) Subject: Back down again on the time step -- this wasn't the problem with stability. X-Git-Tag: v8.0.0~7260 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3189953de811ff31a8be0d88d92e93c01645785f;p=dealii.git Back down again on the time step -- this wasn't the problem with stability. git-svn-id: https://svn.dealii.org/trunk@19308 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/examples/step-32/step-32.cc b/deal.II/examples/step-32/step-32.cc index f1f46a3a61..a702b6cd9c 100644 --- a/deal.II/examples/step-32/step-32.cc +++ b/deal.II/examples/step-32/step-32.cc @@ -2684,12 +2684,12 @@ void BoussinesqFlowProblem::solve () old_time_step = time_step; const double maximal_velocity = get_maximal_velocity(); if (maximal_velocity > 1e-10) - time_step = 1./(1.8*dim*std::sqrt(1.*dim)) / + time_step = 1./(1.6*dim*std::sqrt(1.*dim)) / temperature_degree * GridTools::minimal_cell_diameter(triangulation) / maximal_velocity; else - time_step = 1./(1.8*dim*std::sqrt(1.*dim)) / + time_step = 1./(1.6*dim*std::sqrt(1.*dim)) / temperature_degree * GridTools::minimal_cell_diameter(triangulation) / 1e-10;