From 1cf67a03efb6e7cedfe2d1c6ac8cfa397469a643 Mon Sep 17 00:00:00 2001 From: bangerth Date: Fri, 19 Sep 2008 18:55:49 +0000 Subject: [PATCH] Use a slightly smaller time step that is actually stable. git-svn-id: https://svn.dealii.org/trunk@16860 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/examples/step-31/step-31.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deal.II/examples/step-31/step-31.cc b/deal.II/examples/step-31/step-31.cc index db3be88046..e550f9b7c3 100644 --- a/deal.II/examples/step-31/step-31.cc +++ b/deal.II/examples/step-31/step-31.cc @@ -1826,7 +1826,7 @@ void BoussinesqFlowProblem::solve () } old_time_step = time_step; - time_step = 1./(std::sqrt(2.)*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(), .01); -- 2.39.5