Hi all,
If I understand correctly, when solving the FV 1d Burgers eqation with WENO5, the rate of convergence should be 5 on smooth solutions.
I got this rate of convergence with FDM, but I fail to get that order with FV method, including clawpack's SharpClawSolver1D.
The IC is defined with 1/2 + sin(\pi x) where 0 <= x<= 2.
What am I doing wrong?
best regards,
grinderfox
For clarity, here is my setup:
...
riemann_solver = riemann.burgers_1D
solver = pyclaw.SharpClawSolver1D(riemann_solver=riemann_solver)
solver.kernel_language = 'Fortran'
solver.cfl_desired = 0.001 # 1.
solver.cfl_max = 0.01
solver.num_waves = num_waves
solver.num_eqn = num_eqn
solver.lim_type = 2
solver.weno_order = 5
solver.bc_lower[0] = pyclaw.BC.periodic
solver.bc_upper[0] = pyclaw.BC.periodic
solution = pyclaw.Solution(solver.num_eqn, domain)
state = pyclaw.State(domain, num_eqn)
xc = state.grid.x.centers
state.q[0,:] = np.sin(np.pi*xc) + 0.5