Previous Up Next

4.2  PASS: Convergence for a simple periodic problem

Author
Stéphane Popinet
Command
sh periodic.sh periodic.gfs
Version
0.6.4
Required files
periodic.gfs (view) (download)
periodic.sh r0.ref r1.ref r2.ref
Running time
47 minutes 45 seconds

This is one of the test cases presented in Popinet [31]. Following Minion [29] and Almgren et al. [1], this convergence test illustrates the second-order accuracy of Gerris for flows without solid boundaries. This problem uses a square unit domain with periodic boundary conditions in both directions. The initial conditions are taken as

u(x,y)=1−2cos(2π x)sin(2π y), 
v(x,y)=1+2sin(2π x)cos(2π y).

The exact solution of the Euler equations for these initial conditions is

u(x,y,t)=1−2cos(2π(xt))sin(2π(yt)), 
v(x,y,t)=1+2sin(2π(xt))cos(2π(yt)), 
p(x,y,t)=−cos(4π(xt))−cos(4π(yt)).

As in [1] nine runs are performed on grids with L=5,6 and 7 levels of refinement (labelled “uniform”) and with one (labelled r=1) or two (labelled r=2) additional levels added only within the square defined by the points (−0.25,−0.25) and (0.25,0.25). The length of the run for each case is 0.5, the CFL number is 0.75. For each run both the L2 and L norms of the error in the x-component of the velocity is computed. Table 3 gives the errors and order of convergence obtained.

Close to second-order convergence is obtained (asymptotically in L) for the L2 and L norms. The values obtained are comparable to that in [29, 1].


Table 3: Errors and convergence orders in the x-component of the velocity for a simple periodic problem. The reference solution values are given in blue.
 L2
 L=5O2L=6O2L=7
Uniform8.27e-032.841.15e-032.482.07e-04
 8.27e-032.841.15e-032.482.07e-04
r=18.35e-032.291.70e-032.113.96e-04
 8.35e-032.291.70e-032.113.96e-04
r=21.06e-022.082.50e-032.006.24e-04
 1.06e-022.082.50e-032.006.24e-04
 L
 L=5OL=6OL=7
Uniform1.97e-022.663.10e-032.615.08e-04
 1.97e-022.663.10e-032.615.08e-04
r=12.20e-022.214.77e-032.061.14e-03
 2.20e-022.214.77e-032.061.14e-03
r=22.82e-022.116.54e-031.991.65e-03
 2.82e-022.116.54e-031.991.65e-03


Previous Up Next