From 78c109664eac851500d4dd5312ebecd210590eaf Mon Sep 17 00:00:00 2001 From: bangerth Date: Wed, 20 Aug 2008 17:12:09 +0000 Subject: [PATCH] Use a better cutoff for the velocity in computing the time step. git-svn-id: https://svn.dealii.org/trunk@16614 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 be3ed10c0e..075a0574b6 100644 --- a/deal.II/examples/step-31/step-31.cc +++ b/deal.II/examples/step-31/step-31.cc @@ -2023,7 +2023,7 @@ void BoussinesqFlowProblem::solve () // bigger time step) old_time_step = time_step; time_step = GridTools::minimal_cell_diameter(triangulation) / - std::max (get_maximal_velocity(), .05) / 4; + std::max (get_maximal_velocity(), .01) / 4; temperature_solution = old_temperature_solution; -- 2.39.5