Stellar Atmosphere Codes III. Mats Carlsson Rosseland Centre for Solar Physics, Univ Oslo La Laguna, November

Similar documents
Numerical simulations - supporting design of facilities and interpretations

Modeling of the solar chromosphere

Chromospheric heating and structure as determined from high resolution 3D simulations

Observable consequences

Chapter 1. Introduction. 1.1 Why study the sun?

The Solar Chromosphere

The Sun. Basic Properties. Radius: Mass: Luminosity: Effective Temperature:

Opacity and Optical Depth

NON-EQUILIBRIUM HELIUM IONIZATION IN AN MHD SIMULATION OF THE SOLAR ATMOSPHERE

IRIS views on how the low solar atmosphere is energized

B.V. Gudiksen. 1. Introduction. Mem. S.A.It. Vol. 75, 282 c SAIt 2007 Memorie della

The Solar Chromosphere

The Interior Structure of the Sun

Supporting Calculations for NASA s IRIS Mission. I. Overview

The Sun: A Star of Our Own ASTR 2110 Sarazin

(c) Sketch the ratio of electron to gas pressure for main sequence stars versus effective temperature. [1.5]

Coronal Heating Problem

2. Stellar atmospheres: Structure

arxiv: v1 [astro-ph.sr] 26 Jan 2010

A revolutionizing new view of our Sun with ALMA

A solar surface dynamo

What does the Sun tell us about circular polarization on stars? Stephen White

Spicule-like structures observed in 3D realistic MHD simulations

Influence of Mass Flows on the Energy Balance and Structure of the Solar Transition Region

RESEARCH PROFILE OF DR. SVEN WEDEMEYER

6. Interstellar Medium. Emission nebulae are diffuse patches of emission surrounding hot O and

The Sun. Nearest Star Contains most of the mass of the solar system Source of heat and illumination

Learning Objectives. wavelengths of light do we use to see each of them? mass ejections? Which are the most violent?

SISD Training Lectures in Spectroscopy

MHD Simulation of Solar Chromospheric Evaporation Jets in the Oblique Coronal Magnetic Field

The Sun. The Sun is a star: a shining ball of gas powered by nuclear fusion. Mass of Sun = 2 x g = 330,000 M Earth = 1 M Sun

MHD turbulence in the solar corona and solar wind

VII. Hydrodynamic theory of stellar winds

Solar Flare. A solar flare is a sudden brightening of solar atmosphere (photosphere, chromosphere and corona)

Tutorial on Bifrost simulations: hands on lab and quicklook tools

The stellar atmosphere simulation code Bifrost

Model Atmospheres. Model Atmosphere Assumptions

Reduced MHD. Nick Murphy. Harvard-Smithsonian Center for Astrophysics. Astronomy 253: Plasma Astrophysics. February 19, 2014

PROBLEM 1 (15 points) In a Cartesian coordinate system, assume the magnetic flux density

14.1 A Closer Look at the Sun

Stars AS4023: Stellar Atmospheres (13) Stellar Structure & Interiors (11)

A Multi-ion Model of the Heliosphere with Secondary Charge Exchange

The interior of the Sun. Space Physics - Project by Christopher Keil. October 17, Supervisor: Prof. Kjell Rnnemark

Survey of the Solar System. The Sun Giant Planets Terrestrial Planets Minor Planets Satellite/Ring Systems

THE MYSTERIOUS SOLAR CHROMOSPHERE

Time-dependent hydrogen ionisation in 3D simulations of the solar chromosphere. Methods and first results

Hydrogen Burning in More Massive Stars and The Sun.

An Overview of the Details

Our Star: The Sun. Layers that make up the Sun. Understand the Solar cycle. Understand the process by which energy is generated by the Sun.

Damping of MHD waves in the solar partially ionized plasmas

arxiv:astro-ph/ v1 21 Dec 2006

Astr 1050 Mon. March 30, 2015 This week s Topics

Radiative Cooling of Joule Heating Events in MHD Simulations of the Solar Corona

arxiv: v1 [astro-ph.sr] 30 Jun 2009

Surface Convection INTRODUCTION

Limb Darkening. Limb Darkening. Limb Darkening. Limb Darkening. Empirical Limb Darkening. Betelgeuse. At centre see hotter gas than at edges

Ay 1 Lecture 8. Stellar Structure and the Sun

The Sun as Our Star. Properties of the Sun. Solar Composition. Last class we talked about how the Sun compares to other stars in the sky

9-1 The Sun s energy is generated by thermonuclear reactions in its core The Sun s luminosity is the amount of energy emitted each second and is

Vincent van Gogh s The Starry Night (1889) the view from the window of his asylum room at Saint-Rémy-de-Provence / 15

Physical modeling of coronal magnetic fields and currents

The General Properties of the Sun

physics of the solar chromosphere

Chapter 10 Our Star. X-ray. visible

The Sun. October 21, ) H-R diagram 2) Solar Structure 3) Nuclear Fusion 4) Solar Neutrinos 5) Solar Wind/Sunspots

What do we see on the face of the Sun? Lecture 3: The solar atmosphere

The Sun Our Extraordinary Ordinary Star

An Overview of the Details

Chapter 14 Our Star A Closer Look at the Sun. Why was the Sun s energy source a major mystery?

Chapter 8 The Sun Our Star

A Closer Look at the Sun

Konvektion und solares Magnetfeld

Astronomy 114. Lecture 13: Energy generation, magnetic fields. Martin D. Weinberg. UMass/Astronomy Department

Stellar Magnetospheres part deux: Magnetic Hot Stars. Stan Owocki

Magnetohydrodynamic Simulations at IRSOL

Random Walk on the Surface of the Sun

Name: Date: 2. The temperature of the Sun's photosphere is A) close to 1 million K. B) about 10,000 K. C) 5800 K. D) 4300 K.

McMath-Pierce Adaptive Optics Overview. Christoph Keller National Solar Observatory, Tucson

Solar Astrophysics with ALMA. Sujin Kim KASI/EA-ARC

Turbulent Origins of the Sun s Hot Corona and the Solar Wind

Radiative Transfer in Axial Symmetry

10/17/ A Closer Look at the Sun. Chapter 11: Our Star. Why does the Sun shine? Lecture Outline

The Sun Our Star. Properties Interior Atmosphere Photosphere Chromosphere Corona Magnetism Sunspots Solar Cycles Active Sun

NUMERICAL METHODS IN ASTROPHYSICS An Introduction

Study of Electron Energy and Angular Distributions and Calculations of X-ray, EUV Line Flux and Rise Times

X-ray observations of Solar Flares. Marina Battaglia Fachhochschule Nordwestschweiz (FHNW)

The Stars. Chapter 14

Introduction to Plasma Physics

Lecture 17 The Sun October 31, 2018

O 5+ at a heliocentric distance of about 2.5 R.

Molecular hydrogen in the chromosphere IRIS observations and a simple model

Announcements. - Homework #5 due today - Review on Monday 3:30 4:15pm in RH103 - Test #2 next Tuesday, Oct 11

Ion-neutral Coupling in Prominences

Recent Highlights on Solar Coronal Abundances from Hinode

The Sun s Dynamic Atmosphere

Asynchronous 3D HYPERS Simulations of Compact Toroids and Magnetoplasmas

Collisions and transport phenomena

1 Energy dissipation in astrophysical plasmas

A100 Exploring the Universe: How Stars Work. Martin D. Weinberg UMass Astronomy

A100 Exploring the Universe: How Stars Work. Martin D. Weinberg UMass Astronomy

Transcription:

Stellar Atmosphere Codes III Mats Carlsson Rosseland Centre for Solar Physics, Univ Oslo La Laguna, November 14-15 2017

What physics need to be included when modeling the solar chromosphere?

Boundaries Dynamics and energy supply from the convection zone lower boundary should be in the convection zone upper boundary in the corona large enough box to contain return flux Open system open top and bottom boundaries Magnetic field topology should be contained in the box

Energy balance Radiation in strong lines from H, Ca, Mg, He non-lte 6-12 levels per element incident coronal radiation field Radiation in very many weak lines many frequencies needed non-lte Fe: many levels needed

Radiative transfer in energy balance in 3D simulations non-locality - parallelization frequency integration scattering

Energy balance Shock dissipation high spatial resolution Conduction time-scales short Magnetic field reconnection high wave speeds: time-scales short Particle beams

Ionization equilibrium Timescales for hydrogen ionization balance long need to solve rate equations for hydrogen

MHD? Chromosphere mostly neutral ion-neutral effects kinetic modelling non-maxwellian distribution functions

Can we do this? In principle, yes In practice, no 20 km resolution, 50 Mm box, NLTE H+Ca+He+Mg: 6 million years on 5000 CPUs for one hour of solar time

The chromosphere is challenging to model Testbed for approximations/methods non-lte non-equilibrium ionization shocks ion-neutral effects magnetic fields/reconnection

The MHD equations ρ (ρu ) t + = 0 e t + (eu) + p u = F r + F c + ηj 2 + Q visc B t = (u B) + η 2 B ρu t + (ρuu + τ) = p + j B gρ with some equation of state... T g,p g = EOS(e, )

Bif-rost

BIFROST Gudiksen et al 2011, A&A 531, A154 6th order scheme, with artificial viscosity/diffusion Open vertical boundaries, horizontally periodic Possible to introduce field through bottom boundary Realistic EOS Detailed radiative transfer along 24 rays Multi group opacities (4 bins) with scattering NLTE losses in the chromosphere, optically thin in corona Conduction along field lines Operator split and solved by using multi grid method Non-equilibrium Hydrogen ionization Non-equilibrium Helium ionization Generalized Ohm s Law

Optically thin losses

Cooling in Hydrogen

Escape probability

Optically thick hydrogen cooling

Optically thick cooling recipe

enhanced network simulation http://sdc.uio.no/search/simulations IRIS Technical Note 33; Carlsson et al 2016, A&A 585, A4 Corona Transition region Chromosphere Photosphere Convection zone

We will discuss 3 simulations 24x24x(-2.5-14.3) Mm Δxy=31 km, Δz=12 km 1. enhanced network. Two main polarities 8 Mm apart 2. Quiet Sun. Only local dynamo field < B (z=0)>=39 G 3. Coronal hole = Quiet Sun + 2 G vertical field

< B >= 52 G enhanced network

Transition region corrugated Body Level One Body Level Two Body Level Three Body Level Four Body Level Five

< B >= 39 G quiet Sun

enhanced network

quiet Sun

coronal hole

quiet Sun

lg T quiet Sun β=1

β quiet Sun β=1

quiet Sun

coronal hole

Mg k peak intensity

k2 peak separation Simulation Observations

Chromospheric structure and dynamics critically dependent on the magnetic field topology Interaction of ambient and emergent field important All spatial scales matter too narrow profiles

Too narrow profiles Need flatter temperature structure: more heating low down Need more chromospheric material Lack of numerical resolution Ion-neutral effects Magnetic field history

Effects of numerical resolution

Uz at z=0

Non-Equilibrium ionization The Astrophysical Journal, 817:125 (13pp), 2016 February 1 Golding, Leenaarts, & Carlsson Golding, Leenaarts, Carlsson, 2016 ApJ 817, 125

Public release of Bifrost simulations

Bifrost coordinate system Variables on staggered grid Internal units (Mm, hs, 10-7 g cm -3, Mm/hs etc) * Uz, Bz X Y * Ux, Bx * * Uy, By e, ρ, Tg, Z

FITS files Z Variables all cell centered SI units (Mm, s, kg m -3, m/s, T, etc) Y * e, ρ, Tg, Ux, Uy, Uz, Bx, By, Bz,... X

Format Level 2: D(x,y,z) one file per variable per timestep (481 MB) Level 3: D(x,y,z,t) one file per variable (76 GB) Level 2 Level 3 with provided SW Level 3 transpose (D(z,t,x,y)) with provided SW it=385+indgen(157) br_make_fits_level3, en024048_hion,it, lgtg br_transpose_fits_level3, BIFROST_en024048_hion_lgtg_im.fits

Variables e, Ux, Uy, Uz, ρ, Bx, By, Bz Tg, Pg, Ne en024048_hion: 831 GB

FITS BIFROST_en024048_hion_lgtg_385.fits SIMPLE = T / Written by IDL: Fri Jul 12 22:13:21 2013 BITPIX = -32 / Number of bits per data pixel NAXIS = 3 / Number of data axes NAXIS1 = 504 / NAXIS2 = 504 / NAXIS3 = 496 / EXTEND = T / FITS data may contain extensions INSTRUME= 'Bifrost ' / Data generated by the Bifrost code OBJECT = 'en024048_hion' / Bifrost run name BTYPE = 'lg(tg) ' / Data variable BUNIT = 'K ' / Data unit CDELT1 = 0.0476190 / [Mm] x-coordinate increment CDELT2 = 0.0476190 / [Mm] y-coordinate increment CDELT3 = 0.0971498 / [Mm] (non-uniform) z-coordinate increment CRPIX1 = 1 / Reference pixel x-coordinate CRPIX2 = 1 / Reference pixel y-coordinate CRPIX3 = 1 / Reference pixel z-coordinate CRVAL1 = 0.00000 / [Mm] Position ref-pixel x-coordinate CRVAL2 = 0.00000 / [Mm] Position ref-pixel y-coordinate CRVAL3 = -2.44401 / [Mm] Position ref-pixel z-coordinate CTYPE1 = 'x ' / [Mm] Label for x-coordinate CTYPE2 = 'y ' / [Mm] Label for y-coordinate CTYPE3 = 'z ' / [Mm] Label for z-coordinate CUNIT1 = 'Mm ' / Unit for x-coordinate CUNIT2 = 'Mm ' / Unit for y-coordinate CUNIT3 = 'Mm ' / Unit for z-coordinate RUNID = 'Bifrost_cb24bih' / Run ID for identification of input files ELAPSED = 3850.00 / [s] Time of snapshot DATA_LEV= 2 / Data level ZTAU51 = 0.0613866 / [Mm] Average height of tau(500nm)=1 ORIGIN = ' ITA/Oslo' / Origin of data COMMENT Variables from.idl file:...

Documents Paper describing simulation characteristics Carlsson et al, 2016, A&A 585, A4 ITN 33 giving technical details format, keywords, auxiliary software

Enhanced network 24x24x17 Mm (2.5 Mm below, 14.5 Mm above z=0) 504x504x496 grid 48 km horizontal, 19-97 km vertical polarities separated by 8 Mm < B >=30-50 G en024048_hion (1600s) http:sdc.uio.no/search/simulations

Radiative transfer products NUV passband FITS files Mg II h&k + background lines 252 x 252 grid, vertical rays intensity as function of wavelength z(τ ν =1) as function of wavelength ITN 35 describes format, approximations etc

The Future - EXASCALE computing

Scaling problems Traditional domain decomposition Split the problem into a large number of sub-domains Each sub-domain needs extra (guard-) cells from neighbouring domains Guard cells are communicated with MPI must be finished before updates Sensitive to latency out-liers worst case rules! All sub-domains are updated simultaneously, using the same time step The larger the problem, the more wasteful this is

Way out - asynchronous computation Task based, asynchronous computation over OpenMP and MPI Allow sub-domains to update semi-independently Requires (only) that a number of (~ ½ a dozen) timeslices are saved Each task has a list of generalized neighbors, which it depends on Oversubscription of tasks (~ x50), executing asynchronously keeps all cores busy!

DISPATCH code framework q Uses asynchronous evolution of sub-domains (patches) q Uses local time steps; determined independently for each patch q Uses task-based scheduling, via OpenMP inside nodes q Uses neighborhood-limited MPI between nodes q Uses any preferred solver inside patches, balancing speed against quality and guard zone requirements o Can include Multiple-Domain-Multiple-Physics e.g. PIC codes for kinetic simulations inside MHD dust+gas dynamics for planet formation q Also allows adaptive mesh refinement o no modification of solver required o a solver is always presented with a complete 3D cube, on a single core