From: bangerth Date: Fri, 19 Sep 2008 18:57:23 +0000 (+0000) Subject: Use a slightly smaller time step that is actually stable. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f25d7b3f7be71e13e9ac8b0a0a5e17a4848327b3;p=dealii-svn.git Use a slightly smaller time step that is actually stable. git-svn-id: https://svn.dealii.org/trunk@16861 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 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);