This test case solves the sole diffusion equation with explicit and implicit schemes.
A cubic cavity of unit length is used to test advection schemes in the 3 directions. Explicit schemes are integrated with a second order RK scheme and implicit schemes with a second order BDF.
Main parameters to run this test case are:
o2_centered
, in red), explicit fourth order centered (o4_centered
, in orange), implicit second order centered w/ first order Euler (o2_centered
w/ time_order_discretization 1
, in light green w/ triangles, outside of the plot's range), implicit second order centered w/ second order BDF (o2_centered
w/ time_order_discretization 2
, in olive w/ triangles), implicit second order centered w/ third order BDF (o2_centered
w/ time_order_discretization 3
, in turquoise w/ triangles). We confirm that the first and second order implicit BDF schemes, coupled with the second order centered scheme, are less diffusive than expected. On the contrary, the third order BDF scheme is more diffusive. The explicit schemes, coupled with RK2, are also less diffusive than the exact solution, with a smaller error for the fourth order scheme.