SlideShare a Scribd company logo
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.

More Related Content

More from Simon Candelaresi

Polynomial knot invariants in the dynamics of braided magnetic fields
Polynomial knot invariants in the dynamics of braided magnetic fieldsPolynomial knot invariants in the dynamics of braided magnetic fields
Polynomial knot invariants in the dynamics of braided magnetic fields
Simon Candelaresi
 
Twist and Current Alignment within non-trivial Magnetic Field Topologies
Twist and Current Alignment within non-trivial Magnetic Field TopologiesTwist and Current Alignment within non-trivial Magnetic Field Topologies
Twist and Current Alignment within non-trivial Magnetic Field Topologies
Simon Candelaresi
 
Stabilizing Effect of Magnetic Helicity on Magnetic Cavities in the Intergala...
Stabilizing Effect of Magnetic Helicity on Magnetic Cavities in the Intergala...Stabilizing Effect of Magnetic Helicity on Magnetic Cavities in the Intergala...
Stabilizing Effect of Magnetic Helicity on Magnetic Cavities in the Intergala...
Simon Candelaresi
 
Magnetic Helicity in Periodic Domains
Magnetic Helicity in Periodic DomainsMagnetic Helicity in Periodic Domains
Magnetic Helicity in Periodic Domains
Simon Candelaresi
 
Vortex Reconnection and the Role of Topology
Vortex Reconnection and the Role of TopologyVortex Reconnection and the Role of Topology
Vortex Reconnection and the Role of Topology
Simon Candelaresi
 
Stabilizing Effect of Magnetic Helicity on Magnetic Cavities in the Intergala...
Stabilizing Effect of Magnetic Helicity on Magnetic Cavities in the Intergala...Stabilizing Effect of Magnetic Helicity on Magnetic Cavities in the Intergala...
Stabilizing Effect of Magnetic Helicity on Magnetic Cavities in the Intergala...
Simon Candelaresi
 
Estimating the rate of field line braiding in the solar corona by photospheri...
Estimating the rate of field line braiding in the solar corona by photospheri...Estimating the rate of field line braiding in the solar corona by photospheri...
Estimating the rate of field line braiding in the solar corona by photospheri...
Simon Candelaresi
 
Topology Conserving Magnetic Field Evolution
Topology Conserving Magnetic Field EvolutionTopology Conserving Magnetic Field Evolution
Topology Conserving Magnetic Field Evolution
Simon Candelaresi
 
Magnetic Field Line Tangling and Topological Entropy
Magnetic Field Line Tangling and Topological EntropyMagnetic Field Line Tangling and Topological Entropy
Magnetic Field Line Tangling and Topological Entropy
Simon Candelaresi
 
Magnetic field line braiding in the solar atmosphere
Magnetic field line braiding in the solar atmosphereMagnetic field line braiding in the solar atmosphere
Magnetic field line braiding in the solar atmosphere
Simon Candelaresi
 
Fractional approaches in dielectric broadband spectroscopy
Fractional approaches in dielectric broadband spectroscopyFractional approaches in dielectric broadband spectroscopy
Fractional approaches in dielectric broadband spectroscopy
Simon Candelaresi
 
Superflares in G, K and M Type Dwarfs from Kepler Observations
Superflares in G, K and M Type Dwarfs from Kepler ObservationsSuperflares in G, K and M Type Dwarfs from Kepler Observations
Superflares in G, K and M Type Dwarfs from Kepler Observations
Simon Candelaresi
 
Current Formation During Magnetic Field Relaxation
Current Formation During Magnetic Field RelaxationCurrent Formation During Magnetic Field Relaxation
Current Formation During Magnetic Field Relaxation
Simon Candelaresi
 
Magnetic Vector Potentials and Helicity in Periodic Domains
Magnetic Vector Potentials and Helicity in Periodic DomainsMagnetic Vector Potentials and Helicity in Periodic Domains
Magnetic Vector Potentials and Helicity in Periodic Domains
Simon Candelaresi
 
Lagrangian Relaxation of Magnetic Fields
Lagrangian Relaxation of Magnetic FieldsLagrangian Relaxation of Magnetic Fields
Lagrangian Relaxation of Magnetic Fields
Simon Candelaresi
 
How much helicity is needed to drive large-scale dynamos?
How much helicity is needed to drive large-scale dynamos?How much helicity is needed to drive large-scale dynamos?
How much helicity is needed to drive large-scale dynamos?
Simon Candelaresi
 
Topological restrictions in magnetic field dynamics and reconnection
Topological restrictions in magnetic field dynamics and reconnectionTopological restrictions in magnetic field dynamics and reconnection
Topological restrictions in magnetic field dynamics and reconnection
Simon Candelaresi
 
Magnetic helicity transport in the advective gauge family
Magnetic helicity transport in the advective gauge familyMagnetic helicity transport in the advective gauge family
Magnetic helicity transport in the advective gauge familySimon Candelaresi
 
Magnetic Helicity Fluxes and their Effect on the Solar Dynamo
Magnetic Helicity Fluxes and their Effect on the Solar DynamoMagnetic Helicity Fluxes and their Effect on the Solar Dynamo
Magnetic Helicity Fluxes and their Effect on the Solar Dynamo
Simon Candelaresi
 
Decay of helical and non-helical magnetic links and knots
Decay of helical and non-helical magnetic links and knotsDecay of helical and non-helical magnetic links and knots
Decay of helical and non-helical magnetic links and knots
Simon Candelaresi
 

More from Simon Candelaresi (20)

Polynomial knot invariants in the dynamics of braided magnetic fields
Polynomial knot invariants in the dynamics of braided magnetic fieldsPolynomial knot invariants in the dynamics of braided magnetic fields
Polynomial knot invariants in the dynamics of braided magnetic fields
 
Twist and Current Alignment within non-trivial Magnetic Field Topologies
Twist and Current Alignment within non-trivial Magnetic Field TopologiesTwist and Current Alignment within non-trivial Magnetic Field Topologies
Twist and Current Alignment within non-trivial Magnetic Field Topologies
 
Stabilizing Effect of Magnetic Helicity on Magnetic Cavities in the Intergala...
Stabilizing Effect of Magnetic Helicity on Magnetic Cavities in the Intergala...Stabilizing Effect of Magnetic Helicity on Magnetic Cavities in the Intergala...
Stabilizing Effect of Magnetic Helicity on Magnetic Cavities in the Intergala...
 
Magnetic Helicity in Periodic Domains
Magnetic Helicity in Periodic DomainsMagnetic Helicity in Periodic Domains
Magnetic Helicity in Periodic Domains
 
Vortex Reconnection and the Role of Topology
Vortex Reconnection and the Role of TopologyVortex Reconnection and the Role of Topology
Vortex Reconnection and the Role of Topology
 
Stabilizing Effect of Magnetic Helicity on Magnetic Cavities in the Intergala...
Stabilizing Effect of Magnetic Helicity on Magnetic Cavities in the Intergala...Stabilizing Effect of Magnetic Helicity on Magnetic Cavities in the Intergala...
Stabilizing Effect of Magnetic Helicity on Magnetic Cavities in the Intergala...
 
Estimating the rate of field line braiding in the solar corona by photospheri...
Estimating the rate of field line braiding in the solar corona by photospheri...Estimating the rate of field line braiding in the solar corona by photospheri...
Estimating the rate of field line braiding in the solar corona by photospheri...
 
Topology Conserving Magnetic Field Evolution
Topology Conserving Magnetic Field EvolutionTopology Conserving Magnetic Field Evolution
Topology Conserving Magnetic Field Evolution
 
Magnetic Field Line Tangling and Topological Entropy
Magnetic Field Line Tangling and Topological EntropyMagnetic Field Line Tangling and Topological Entropy
Magnetic Field Line Tangling and Topological Entropy
 
Magnetic field line braiding in the solar atmosphere
Magnetic field line braiding in the solar atmosphereMagnetic field line braiding in the solar atmosphere
Magnetic field line braiding in the solar atmosphere
 
Fractional approaches in dielectric broadband spectroscopy
Fractional approaches in dielectric broadband spectroscopyFractional approaches in dielectric broadband spectroscopy
Fractional approaches in dielectric broadband spectroscopy
 
Superflares in G, K and M Type Dwarfs from Kepler Observations
Superflares in G, K and M Type Dwarfs from Kepler ObservationsSuperflares in G, K and M Type Dwarfs from Kepler Observations
Superflares in G, K and M Type Dwarfs from Kepler Observations
 
Current Formation During Magnetic Field Relaxation
Current Formation During Magnetic Field RelaxationCurrent Formation During Magnetic Field Relaxation
Current Formation During Magnetic Field Relaxation
 
Magnetic Vector Potentials and Helicity in Periodic Domains
Magnetic Vector Potentials and Helicity in Periodic DomainsMagnetic Vector Potentials and Helicity in Periodic Domains
Magnetic Vector Potentials and Helicity in Periodic Domains
 
Lagrangian Relaxation of Magnetic Fields
Lagrangian Relaxation of Magnetic FieldsLagrangian Relaxation of Magnetic Fields
Lagrangian Relaxation of Magnetic Fields
 
How much helicity is needed to drive large-scale dynamos?
How much helicity is needed to drive large-scale dynamos?How much helicity is needed to drive large-scale dynamos?
How much helicity is needed to drive large-scale dynamos?
 
Topological restrictions in magnetic field dynamics and reconnection
Topological restrictions in magnetic field dynamics and reconnectionTopological restrictions in magnetic field dynamics and reconnection
Topological restrictions in magnetic field dynamics and reconnection
 
Magnetic helicity transport in the advective gauge family
Magnetic helicity transport in the advective gauge familyMagnetic helicity transport in the advective gauge family
Magnetic helicity transport in the advective gauge family
 
Magnetic Helicity Fluxes and their Effect on the Solar Dynamo
Magnetic Helicity Fluxes and their Effect on the Solar DynamoMagnetic Helicity Fluxes and their Effect on the Solar Dynamo
Magnetic Helicity Fluxes and their Effect on the Solar Dynamo
 
Decay of helical and non-helical magnetic links and knots
Decay of helical and non-helical magnetic links and knotsDecay of helical and non-helical magnetic links and knots
Decay of helical and non-helical magnetic links and knots
 

Recently uploaded

Deep Software Variability and Frictionless Reproducibility
Deep Software Variability and Frictionless ReproducibilityDeep Software Variability and Frictionless Reproducibility
Deep Software Variability and Frictionless Reproducibility
University of Rennes, INSA Rennes, Inria/IRISA, CNRS
 
Phenomics assisted breeding in crop improvement
Phenomics assisted breeding in crop improvementPhenomics assisted breeding in crop improvement
Phenomics assisted breeding in crop improvement
IshaGoswami9
 
Shallowest Oil Discovery of Turkiye.pptx
Shallowest Oil Discovery of Turkiye.pptxShallowest Oil Discovery of Turkiye.pptx
Shallowest Oil Discovery of Turkiye.pptx
Gokturk Mehmet Dilci
 
Nutraceutical market, scope and growth: Herbal drug technology
Nutraceutical market, scope and growth: Herbal drug technologyNutraceutical market, scope and growth: Herbal drug technology
Nutraceutical market, scope and growth: Herbal drug technology
Lokesh Patil
 
Orion Air Quality Monitoring Systems - CWS
Orion Air Quality Monitoring Systems - CWSOrion Air Quality Monitoring Systems - CWS
Orion Air Quality Monitoring Systems - CWS
Columbia Weather Systems
 
Richard's aventures in two entangled wonderlands
Richard's aventures in two entangled wonderlandsRichard's aventures in two entangled wonderlands
Richard's aventures in two entangled wonderlands
Richard Gill
 
Comparing Evolved Extractive Text Summary Scores of Bidirectional Encoder Rep...
Comparing Evolved Extractive Text Summary Scores of Bidirectional Encoder Rep...Comparing Evolved Extractive Text Summary Scores of Bidirectional Encoder Rep...
Comparing Evolved Extractive Text Summary Scores of Bidirectional Encoder Rep...
University of Maribor
 
3D Hybrid PIC simulation of the plasma expansion (ISSS-14)
3D Hybrid PIC simulation of the plasma expansion (ISSS-14)3D Hybrid PIC simulation of the plasma expansion (ISSS-14)
3D Hybrid PIC simulation of the plasma expansion (ISSS-14)
David Osipyan
 
ISI 2024: Application Form (Extended), Exam Date (Out), Eligibility
ISI 2024: Application Form (Extended), Exam Date (Out), EligibilityISI 2024: Application Form (Extended), Exam Date (Out), Eligibility
ISI 2024: Application Form (Extended), Exam Date (Out), Eligibility
SciAstra
 
Leaf Initiation, Growth and Differentiation.pdf
Leaf Initiation, Growth and Differentiation.pdfLeaf Initiation, Growth and Differentiation.pdf
Leaf Initiation, Growth and Differentiation.pdf
RenuJangid3
 
platelets_clotting_biogenesis.clot retractionpptx
platelets_clotting_biogenesis.clot retractionpptxplatelets_clotting_biogenesis.clot retractionpptx
platelets_clotting_biogenesis.clot retractionpptx
muralinath2
 
nodule formation by alisha dewangan.pptx
nodule formation by alisha dewangan.pptxnodule formation by alisha dewangan.pptx
nodule formation by alisha dewangan.pptx
alishadewangan1
 
Salas, V. (2024) "John of St. Thomas (Poinsot) on the Science of Sacred Theol...
Salas, V. (2024) "John of St. Thomas (Poinsot) on the Science of Sacred Theol...Salas, V. (2024) "John of St. Thomas (Poinsot) on the Science of Sacred Theol...
Salas, V. (2024) "John of St. Thomas (Poinsot) on the Science of Sacred Theol...
Studia Poinsotiana
 
ANAMOLOUS SECONDARY GROWTH IN DICOT ROOTS.pptx
ANAMOLOUS SECONDARY GROWTH IN DICOT ROOTS.pptxANAMOLOUS SECONDARY GROWTH IN DICOT ROOTS.pptx
ANAMOLOUS SECONDARY GROWTH IN DICOT ROOTS.pptx
RASHMI M G
 
In silico drugs analogue design: novobiocin analogues.pptx
In silico drugs analogue design: novobiocin analogues.pptxIn silico drugs analogue design: novobiocin analogues.pptx
In silico drugs analogue design: novobiocin analogues.pptx
AlaminAfendy1
 
THEMATIC APPERCEPTION TEST(TAT) cognitive abilities, creativity, and critic...
THEMATIC  APPERCEPTION  TEST(TAT) cognitive abilities, creativity, and critic...THEMATIC  APPERCEPTION  TEST(TAT) cognitive abilities, creativity, and critic...
THEMATIC APPERCEPTION TEST(TAT) cognitive abilities, creativity, and critic...
Abdul Wali Khan University Mardan,kP,Pakistan
 
The use of Nauplii and metanauplii artemia in aquaculture (brine shrimp).pptx
The use of Nauplii and metanauplii artemia in aquaculture (brine shrimp).pptxThe use of Nauplii and metanauplii artemia in aquaculture (brine shrimp).pptx
The use of Nauplii and metanauplii artemia in aquaculture (brine shrimp).pptx
MAGOTI ERNEST
 
Unveiling the Energy Potential of Marshmallow Deposits.pdf
Unveiling the Energy Potential of Marshmallow Deposits.pdfUnveiling the Energy Potential of Marshmallow Deposits.pdf
Unveiling the Energy Potential of Marshmallow Deposits.pdf
Erdal Coalmaker
 
SAR of Medicinal Chemistry 1st by dk.pdf
SAR of Medicinal Chemistry 1st by dk.pdfSAR of Medicinal Chemistry 1st by dk.pdf
SAR of Medicinal Chemistry 1st by dk.pdf
KrushnaDarade1
 
20240520 Planning a Circuit Simulator in JavaScript.pptx
20240520 Planning a Circuit Simulator in JavaScript.pptx20240520 Planning a Circuit Simulator in JavaScript.pptx
20240520 Planning a Circuit Simulator in JavaScript.pptx
Sharon Liu
 

Recently uploaded (20)

Deep Software Variability and Frictionless Reproducibility
Deep Software Variability and Frictionless ReproducibilityDeep Software Variability and Frictionless Reproducibility
Deep Software Variability and Frictionless Reproducibility
 
Phenomics assisted breeding in crop improvement
Phenomics assisted breeding in crop improvementPhenomics assisted breeding in crop improvement
Phenomics assisted breeding in crop improvement
 
Shallowest Oil Discovery of Turkiye.pptx
Shallowest Oil Discovery of Turkiye.pptxShallowest Oil Discovery of Turkiye.pptx
Shallowest Oil Discovery of Turkiye.pptx
 
Nutraceutical market, scope and growth: Herbal drug technology
Nutraceutical market, scope and growth: Herbal drug technologyNutraceutical market, scope and growth: Herbal drug technology
Nutraceutical market, scope and growth: Herbal drug technology
 
Orion Air Quality Monitoring Systems - CWS
Orion Air Quality Monitoring Systems - CWSOrion Air Quality Monitoring Systems - CWS
Orion Air Quality Monitoring Systems - CWS
 
Richard's aventures in two entangled wonderlands
Richard's aventures in two entangled wonderlandsRichard's aventures in two entangled wonderlands
Richard's aventures in two entangled wonderlands
 
Comparing Evolved Extractive Text Summary Scores of Bidirectional Encoder Rep...
Comparing Evolved Extractive Text Summary Scores of Bidirectional Encoder Rep...Comparing Evolved Extractive Text Summary Scores of Bidirectional Encoder Rep...
Comparing Evolved Extractive Text Summary Scores of Bidirectional Encoder Rep...
 
3D Hybrid PIC simulation of the plasma expansion (ISSS-14)
3D Hybrid PIC simulation of the plasma expansion (ISSS-14)3D Hybrid PIC simulation of the plasma expansion (ISSS-14)
3D Hybrid PIC simulation of the plasma expansion (ISSS-14)
 
ISI 2024: Application Form (Extended), Exam Date (Out), Eligibility
ISI 2024: Application Form (Extended), Exam Date (Out), EligibilityISI 2024: Application Form (Extended), Exam Date (Out), Eligibility
ISI 2024: Application Form (Extended), Exam Date (Out), Eligibility
 
Leaf Initiation, Growth and Differentiation.pdf
Leaf Initiation, Growth and Differentiation.pdfLeaf Initiation, Growth and Differentiation.pdf
Leaf Initiation, Growth and Differentiation.pdf
 
platelets_clotting_biogenesis.clot retractionpptx
platelets_clotting_biogenesis.clot retractionpptxplatelets_clotting_biogenesis.clot retractionpptx
platelets_clotting_biogenesis.clot retractionpptx
 
nodule formation by alisha dewangan.pptx
nodule formation by alisha dewangan.pptxnodule formation by alisha dewangan.pptx
nodule formation by alisha dewangan.pptx
 
Salas, V. (2024) "John of St. Thomas (Poinsot) on the Science of Sacred Theol...
Salas, V. (2024) "John of St. Thomas (Poinsot) on the Science of Sacred Theol...Salas, V. (2024) "John of St. Thomas (Poinsot) on the Science of Sacred Theol...
Salas, V. (2024) "John of St. Thomas (Poinsot) on the Science of Sacred Theol...
 
ANAMOLOUS SECONDARY GROWTH IN DICOT ROOTS.pptx
ANAMOLOUS SECONDARY GROWTH IN DICOT ROOTS.pptxANAMOLOUS SECONDARY GROWTH IN DICOT ROOTS.pptx
ANAMOLOUS SECONDARY GROWTH IN DICOT ROOTS.pptx
 
In silico drugs analogue design: novobiocin analogues.pptx
In silico drugs analogue design: novobiocin analogues.pptxIn silico drugs analogue design: novobiocin analogues.pptx
In silico drugs analogue design: novobiocin analogues.pptx
 
THEMATIC APPERCEPTION TEST(TAT) cognitive abilities, creativity, and critic...
THEMATIC  APPERCEPTION  TEST(TAT) cognitive abilities, creativity, and critic...THEMATIC  APPERCEPTION  TEST(TAT) cognitive abilities, creativity, and critic...
THEMATIC APPERCEPTION TEST(TAT) cognitive abilities, creativity, and critic...
 
The use of Nauplii and metanauplii artemia in aquaculture (brine shrimp).pptx
The use of Nauplii and metanauplii artemia in aquaculture (brine shrimp).pptxThe use of Nauplii and metanauplii artemia in aquaculture (brine shrimp).pptx
The use of Nauplii and metanauplii artemia in aquaculture (brine shrimp).pptx
 
Unveiling the Energy Potential of Marshmallow Deposits.pdf
Unveiling the Energy Potential of Marshmallow Deposits.pdfUnveiling the Energy Potential of Marshmallow Deposits.pdf
Unveiling the Energy Potential of Marshmallow Deposits.pdf
 
SAR of Medicinal Chemistry 1st by dk.pdf
SAR of Medicinal Chemistry 1st by dk.pdfSAR of Medicinal Chemistry 1st by dk.pdf
SAR of Medicinal Chemistry 1st by dk.pdf
 
20240520 Planning a Circuit Simulator in JavaScript.pptx
20240520 Planning a Circuit Simulator in JavaScript.pptx20240520 Planning a Circuit Simulator in JavaScript.pptx
20240520 Planning a Circuit Simulator in JavaScript.pptx
 

Numerical Wave Damping in the Pencil Code