diff --git a/examples/euler_2d/shock_bubble_interaction.py b/examples/euler_2d/shock_bubble_interaction.py index 354cd24fa..351f73208 100755 --- a/examples/euler_2d/shock_bubble_interaction.py +++ b/examples/euler_2d/shock_bubble_interaction.py @@ -1,6 +1,6 @@ #!/usr/bin/env python # encoding: utf-8 -""" +r""" Compressible Euler flow in cylindrical symmetry =============================================== @@ -185,6 +185,8 @@ def setup(use_petsc=False,solver_type='classic', outdir='_output', kernel_langua solver.step_source = step_Euler_radial solver.source_split = 1 solver.limiters = [4,4,4,4,2] + solver.cfl_max = 0.5 + solver.cfl_desired = 0.45 x = pyclaw.Dimension('x',0.0,2.0,mx) y = pyclaw.Dimension('y',0.0,0.5,my) @@ -198,9 +200,6 @@ def setup(use_petsc=False,solver_type='classic', outdir='_output', kernel_langua qinit(state) auxinit(state) - solver.cfl_max = 0.5 - solver.cfl_desired = 0.45 - solver.dt_initial=0.005 solver.user_bc_lower = incoming_shock solver.bc_lower[0]=pyclaw.BC.custom diff --git a/examples/shallow_2d/radial_dam_break.py b/examples/shallow_2d/radial_dam_break.py index 3c3e3523c..ea0510869 100755 --- a/examples/shallow_2d/radial_dam_break.py +++ b/examples/shallow_2d/radial_dam_break.py @@ -1,7 +1,9 @@ #!/usr/bin/env python # encoding: utf-8 +r""" +2D shallow water: radial dam break +================================== -""" Solve the 2D shallow water equations: .. :math: diff --git a/examples/shallow_sphere/Rossby_wave.py b/examples/shallow_sphere/Rossby_wave.py index 975f4f5cd..935f7a949 100755 --- a/examples/shallow_sphere/Rossby_wave.py +++ b/examples/shallow_sphere/Rossby_wave.py @@ -1,6 +1,9 @@ #!/usr/bin/env python # encoding: utf-8 """ +Shallow water flow on the sphere +================================ + 2D shallow water equations on a spherical surface. The approximation of the three-dimensional equations is restricted to the surface of the sphere. Therefore only the solution on the surface is updated.