The Pencil Code, a modular MPI code for partial differential equations and particles: multipurpose and multiuser-maintained

A Brandenburg, A Johansen, PA Bourdin… - arxiv preprint arxiv …, 2020 - arxiv.org
The Pencil Code is a highly modular physics-oriented simulation code that can be adapted
to a wide range of applications. It is primarily designed to solve partial differential equations …

Numerical evidence for a small-scale dynamo approaching solar magnetic Prandtl numbers

J Warnecke, MJ Korpi-Lagg, FA Gent… - Nature Astronomy, 2023 - nature.com
Magnetic fields on small scales are ubiquitous in the Universe. Although they can often be
observed in detail, their generation mechanisms are not fully understood. One possibility is …

Data-driven simulations of magnetic field evolution in active region 11429: Magneto-frictional method using pencil code

P Vemareddy, J Warnecke… - Research in Astronomy …, 2024 - iopscience.iop.org
Coronal magnetic fields evolve quasi-statically over long timescales and dynamically over
short timescales. As of now there exist no regular measurements of coronal magnetic fields …

Dust growth by accretion of molecules in supersonic interstellar turbulence

XY Li, L Mattsson - The Astrophysical Journal, 2020 - iopscience.iop.org
We show that the growth rate of dust grains in cold molecular clouds is enhanced by the
high degree of compressibility of a turbulent, dilute gas. By means of high-resolution (1024 …

Constraining the inner boundaries of COCONUT through plasma β and Alfvén speed

M Brchnelova, B Gudiksen, M Carlsson, A Lani… - Astronomy & …, 2025 - aanda.org
Context. Space weather modelling has been gaining importance due to our increasing
dependency on technology sensitive to space weather effects, such as satellite services, air …

Granulation and Convectional Driving on Stellar Surfaces

J Tschernitz, PA Bourdin - The Astrophysical Journal Letters, 2025 - iopscience.iop.org
Surface convection is important for the presence of magnetic activity at stars. So far, this
convection is thought to be a result of heating from below, where convection cells rise and …

Investigating numerical stability by scaling heat conduction in a 1D hydrodynamic model of the solar atmosphere

V Pandey, PA Bourdin - Astronomy & Astrophysics, 2025 - aanda.org
Context. Numerical models of the solar atmosphere are widely used in solar research and
provide insights into unsolved problems such as the heating of coronal loops. A prerequisite …

Coagulation of inertial particles in supersonic turbulence

XY Li, L Mattsson - Astronomy & Astrophysics, 2021 - aanda.org
Coagulation driven by supersonic turbulence is primarily an astrophysical problem because
coagulation processes on Earth are normally associated with incompressible fluid flows at …