]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Use a better cutoff for the velocity in computing the time step.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 20 Aug 2008 17:12:09 +0000 (17:12 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 20 Aug 2008 17:12:09 +0000 (17:12 +0000)
git-svn-id: https://svn.dealii.org/trunk@16614 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/examples/step-31/step-31.cc

index be3ed10c0e8f820623a02933fb8aec7b9e6dd5af..075a0574b60d147815cf1c8fcbceb2c3e64b56f2 100644 (file)
@@ -2023,7 +2023,7 @@ void BoussinesqFlowProblem<dim>::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;
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.