From 3189953de811ff31a8be0d88d92e93c01645785f Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Wed, 19 Aug 2009 03:16:25 +0000 Subject: [PATCH] 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 --- deal.II/examples/step-32/step-32.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.39.5