From f25d7b3f7be71e13e9ac8b0a0a5e17a4848327b3 Mon Sep 17 00:00:00 2001 From: bangerth Date: Fri, 19 Sep 2008 18:57:23 +0000 Subject: [PATCH] Use a slightly smaller time step that is actually stable. git-svn-id: https://svn.dealii.org/trunk@16861 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/examples/step-32/step-32.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deal.II/examples/step-32/step-32.cc b/deal.II/examples/step-32/step-32.cc index ec451be4a2..d760a01758 100644 --- a/deal.II/examples/step-32/step-32.cc +++ b/deal.II/examples/step-32/step-32.cc @@ -1272,7 +1272,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(), 1.e-5); -- 2.39.5