Numerical Wave Damping
in the Pencil Code
Simon Candelaresi, Eilidh Ryan
101
102
n
10−8
10−7
10−6
10−5
10−4
10−3
λ
∗
n−3
What is Numerical Diffusion?
2
Everyone is talking about it,
but no one knows what is really is.
Analytical Approach
3
Local Truncation Error
4
discretized exact
This is solved exactly.
(see: Naveen)
Numerical Diffusion
5
How does the numerical diffusion
depend on the grid resolution?
numerical diffusion:
Alfvén Wave Damping
6
wave propagation:
wave damping
damping parameter:
numerical damping:
Perform linear Alfven wave simulations
and measure the numerical damping.
Inviscid Navier-Stokes 3d
7
101
102
n
10−8
10−7
10−6
10−5
10−4
10−3
λ
∗
n−3
Numerical Experiments
8
Wave Damping
9
Conclusions
simon.candelaresi@gmail.com
●
Numerical viscosity and diffusion can be calculated analytically.
●
Find numerical diffusion in numerical experiments.
●
Power law of -3.

Numerical Wave Damping in the Pencil Code