In this paper
AbstractIntroductionMethodsEquation of stateOpacity packageLine opacitiesInput model atmospheresRadiative transferNLTE model atomsStatistical equilibrium solverAtmosphere projectionResults and discussionAtmosphere projection validationCode validation3D SEDsBalmer seriesTime-variable spectraMg abundance correctionsConclusionsData availabilityAcknowledgementsThe DISPATCH frameworkAtmosphere interpolationOrganising NLTE radiative transfer in tasksParallelisationOptimised computational framework for line opacitySeparation of variablesInner loop minimisationCode validationNLTE comparison with MULTI3D NLTE comparison with MULTI3DSED comparison with TurbospectrumNLTELine damping recipesReferencesWorksPhysics and Astronomy
The OpenMULTI3D stellar analysis package. A 3D non-LTE spectrum synthesis code for AFGKM-type stars within the DISPATCH framework
Abstract
Upcoming large spectroscopic surveys such as WEAVE, 4MOST, and SDSS-V will provide millions of high-resolution stellar spectra. This motivates the development of efficient codes to perform three-dimensional (3D) non-local thermodynamic equilibrium (non-LTE) radiative transfer (RT) calculations, in order to meet the requirements on efficiency and data analysis quality set by these surveys. We present a new open access 3D non-LTE spectrum synthesis code OpenMULTI3D, based on its predecessor MULTI3D, which was never released. This code can be used to compute large grids of spectra of AFGKM-type stars and will aid the exploitation of large-scale spectroscopic surveys such as 4MOST. We summarise the main input micro- and macro-physics of the code, describe its numerical implementation and provide selected test cases. The outputs of the code are compared with standard results in the literature, including the NLTE departure coefficients in 1D and 3D, the 3D NLTE abundance corrections, 3D synthetic spectral energy distributions for three types of stars, and 3D NLTE Balmer-line profiles of a metal-poor red giant. We also demonstrate how the code can be used to compute time-dependent spectra of stars, which may be relevant in precision stellar physics and analyses of exoplanet spectra. OpenMULTI3D offers an accessible and efficient platform for high-fidelity stellar analysis in the era of large-scale spectroscopic surveys.
Introduction
Physically-realistic models of stellar spectra are central to many areas of astrophysics, including the determination of stellar chemical composition, interpretation of exoplanet transit light curves, and studies of stellar populations in the context of Galactic evolution [65, 8, 52, 159, 23] (Oh et al. 2005).
Most studies in astronomy still rely on simple spectral models computed under the assumptions of 1D geometry, hydrostatic equilibrium (HE), and Local Thermodynamic Equilibrium (LTE). While the past decade has seen major advances in sophisticated radiative transfer methods [72, 145, 5] (Štěpán & Trujillo Bueno 2013), their computational complexity continues to restrict their large-scale applicability. Modern astronomical surveys, such as 4MOST [16, 18], will observe millions of stars. These surveys require tens to hundreds of thousands of synthetic spectra to encompass the dimensionality of the observed data and the associated astrophysical diagnostics [112, 138, 50, 136, 150, 151]. For example, in the analysis of the APOGEE spectra, over 808 thousand atmospheric models and synthetic spectra were utilised in the calculations of stellar parameters and abundances [112]. Furthermore, high-resolution instruments like ESPRESSO and ANDES provide spectra of exquisite quality, enabling the tracing of stellar convection signatures through line bisectors [46, 48], which further necessitates the transition beyond 1D LTE frameworks.
This creates a discrepancy between the high-fidelity spectroscopic data provided by modern facilities and standard astrophysical codes, which are necessary to convert observed fluxes into fundamental stellar parameters, such as effective temperature, surface gravity, and detailed chemical abundances [120, 80]. On the one hand, reliance on 1D LTE models severely limits the accuracy and precision of these derived parameters [7, 99, 23]. On the other hand, the use of such highly-parametrised 1D static stellar models precludes studying quantitatively and from first principles, many physical phenomena which are dynamic in nature. This is particularly evident in investigations of stellar convection [44, 110, 45] and its subsequent influence on the analysis of exoplanet spectra [35 b]. To fully exploit the potential of upcoming astronomical observations, the community requires open-access 3D non-LTE (NLTE)-capable stellar spectrum synthesis codes that rely on realistic, time-dependent stellar physics. In this paper, we introduce OpenMULTI3D, an open-access code, designed to compute NLTE synthetic spectra using 3D radiation-hydrodynamics (RHD) stellar model atmospheres for AFGKM-type stars. It is an OpenMP-parallelised Fortran code integrated into the task-based DISPATCH framework [122, 50]. The code has been optimised and carefully tested with the goal to synthesise spatially-resolved and integrated flux spectra of stars using the M3DIS 3D RHD models, which share the same micro-physics. But our code is also compatible with other model atmospheres, such as 3D STAGGER [104, 135], MURAM [155, 156] and CO5BOLD [54], as well as average <3D> [26, 88, 20], and classical 1D HE models [92, 68]. Most importantly, our code directly computes the statistical equilibrium for ions and molecules, and therefore self-consistent NLTE level populations for the full 3D cube can be employed in the multi-element 3D NLTE spectrum synthesis calculations for any stellar model in the AFGKM parameter space.
We in particular emphasise the high efficiency of the code. A broad-band detailed high-resolution spectrum (from 4000 to 9000 Å) of a typical G-type solar-metallicity star can be computed with a resolution of in 3.2 seconds on a laptop (MacBook Pro, M1, 2020). This benchmark was done using a filtered line list with 325 923 atomic and molecular lines (). The line filtering method is outlined in Sect. 2.3. Using the same line list, we computed the spectrum from a 3D snapshot with spatial points in 17 minutes on a medium-sized compute node (32× Intel Xeon E5-2683, 2.1 GHz). We further benchmarked the synthesis of departure coefficients for a small model atom such as oxygen (41 energy levels, 278 transitions, 3869 radiative frequency points) and an large atom like Fe (607 levels, 13 241 transitions, 138 604 radiative frequency points) for the same star on both machines. The benchmarks are presented in Table 5.
We organise the paper as follows. In Sect. 2, we detail the underlying microphysics, the numerical implementation and the radiative transfer methods for NLTE calculations and spectrum synthesis. In Sect. 3, we compare our results with established codes and discuss 3D NLTE effects on SEDs, Balmer lines and Mg i abundances, alongside time-variable spectra. We present our conclusions in Sect. 4.
Methods
In this section, we outline the components and methods used in OpenMULTI3D in detail. Most critically, however, OpenMULTI3D supports NLTE treatment for bound-bound and bound-free transitions. The code computes the full statistical equilibrium for a system of energy states, which may represent a single ion or multiple ionisation stages of a chemical element or molecule. It employs the assumption of a trace ion, that is, no impact of the NLTE energy state populations on the model atmosphere structure or the equation of state (EOS). OpenMULTI3D comes with the NLTE model atoms and molecules from our previous dedicated studies, and these models are provided in Table 3 and described in Sect. 2.6.
| Atom | Literature study |
| H | Mashonkina et al. [107] |
| O | Bergemann et al. [24] |
| Na | Ezzeddine et al. [53] |
| Mg | Bergemann et al. [20] |
| Al | Ezzeddine et al. [53] |
| Si | Bergemann et al. [25]a |
| Ca | Mashonkina et al. [106]b |
| Ti | Bergemann [17] |
| Cr | Bergemann & Cescutti [19] |
| Mn | Bergemann et al. [21] |
| Fe | Bergemann et al. [26]b |
| Co | Bergemann et al. [28]c |
| Ni | Bergemann et al. [24]d |
| Sr | Bergemann et al. [22] |
| Ba | Gallagher et al. [56] |
| Y | Storm & Bergemann [149] |
| Eu | Storm et al. [148] |
| CH | Hoppe et al. [75] |
Table 3. Adopted sources of NLTE model atoms and molecules distributed with the code.
OpenMULTI3D relies on a wealth of atomic and molecular data, including ionisation/dissociation energies, partition functions, absorption cross-sections and damping constants. All of these parameters can be updated in dedicated text files and multiple input sets exist for backward compatibility. Input atmosphere models, NLTE atomic/molecular models, line lists, chemical abundances and isotopic fractions are flexible and can be customised to a given science problem.
In the following we will discuss our standard and carefully vetted, and therefore default inputs. Following the classification of Pecaut & Mamajek [127], we tailor our treatment of the underlying microphysics to the atmospheric parameters of late-B and AFGKM-type stars. This includes all evolutionary phases covered by these spectral types: main-sequence, subgiants, red giants, AGB, and red supergiants. In particular, the line lists and opacity sources cover the ions and molecules that represent the conditions in those systems (Sect. 2.1). According to our tests with M3DIS model atmospheres [50, 51] and 1D hydrostatic model atmospheres, such as M1DIS, MAFAGS-OS [66 b] and MARCS [69], our code is suitable for the calculation of synthetic stellar spectra in the following space of stellar parameters:
Consequently, the code is intended for diagnostic spectroscopy applications within this space of stellar parameters.
Equation of state
The EOS was taken over from MULTI3D, but features a novel implementation in modern Fortran 2018. Here, we present the code that runs and compiles with GNU Fortran Compiler (gfortran) 10 and Intel Fortran Compiler Classic (ifort) 2021.
We have added the option to use polynomial partition functions and extended the molecular equilibrium to handle an arbitrary number of molecules. The default files include data for the first 92 elements of the periodic table going up to C iv, N v, O vi, Ne vi, Al iv and X iii for all other elements. The following 26 molecules are included: non-polar molecules H, H, C, N, O, as well as dipolar molecules (those with a permanent dipole moment), HO, CH, NH, OH, CN, CO, NO, MgH, AlH, SiH, CaH, CrH, FeH, SiO, TiO, VO, ZrO, SiS, MgO, AlO and CaO.
The partition functions for all atoms are adopted from Irwin [78]. The partition functions and dissociation energies for all above-mentioned molecules, with the exception of HO, are from Barklem & Collet [11], which only provides data for diatomic molecules. The HO partition function is adopted from Barber et al. [9], and it is consistent with the adopted HO line list and the dissociation energy is taken from Irwin [79], as in TurbospectrumNLTE, for backward compatibility. Molecular equilibrium constants are computed directly from these partition functions and dissociation energies, rather than interpolated in tabulated equilibrium constants. The partition functions entering the equilibrium constants are thereby identical to those used to convert number densities into level populations for the opacities, as required for consistency [78]. Neutral hydrogen level populations are determined using the occupation probability formalism [77] following the implementation of HLINOP [10].
The reference set of solar abundances is taken from Magg et al. [103]. In that study, the solar abundances were derived using different solar model atmospheres and NLTE line formation for C, N, O, Mg, Si, Ca, Fe and Ni computed using TurbospectrumNLTE and MULTI2.3 [58], with model atoms of the kind described in Sect. 2.6, and this dataset also includes NLTE values of abundances of other chemical elements (Na, Al, S, K, Sc, Ti, V, Cr, Mn, and Co) adopted from previous studies. We use this solar data set because it maximises internal consistency with our model atmosphere calculations with the M3DIS code [50, 51], which are the standard inputs to our code, sharing the same micro-physics as OpenMULTI3D for full consistency. We note that these solar abundances fulfil helioseismic constraints on the solar interior [141, 103] and latest comprehensive neutrino results for the pp chain and CNO cycle [6, 13, 61], but the user may flexibly choose any other solar composition because it is tabulated in a single text file. The isotopic weights and fractions are compiled from Bergemann et al. [27].
Opacity package
The continuum opacities employed by OpenMULTI3D are provided alongside their references in Table 1.
| Species | Type | Source |
| H | bf, ff | Karzas & Latter [87] |
| H | bf | McLaughlin et al. [111] |
| He, C, N, O, Mg | bf | TOPbase [139] |
| Al, Si, Ca, Fe | bf | TOPbase [139] |
| CH, OH | bf | Kurucz et al. [94] |
| H | ff | Bell & Berrington [14] |
| He, C, Mg, Si | ff | Peach [126] |
| other metals | ff | Peach [126] |
| He | ff | John [83] |
| H, O, CO | ff | John (1975a,b) |
| HO | ff | John (1975a,b) |
| N | ff | Ramsbottom et al. [133] |
| H | ff | Mihalas [116] |
| H + H | cia | Doyle [43] |
| H + He | cia | Gustafsson & Frommhold [70] |
| H + H | cia | Gustafsson & Frommhold [71] |
| H + H | cia | Borysow et al. [30] |
| H + He | cia | Jørgensen et al. [86] |
| e | scat | Mihalas [117] |
| H | scat | Dalgarno as in Gingrich (1964) |
| H | scat | Dalgarno & Williams [41] |
| He | scat | Bues & Wehrse [32] |
Table 1. Default continuum opacities and their sources.
We have updated all absorption cross-sections to match those used by MARCS and TurbospectrumNLTE. The input formats and interpolation procedures are based on the Uppsala Opacity Package [68] for backward compatibility. Additionally, we have implemented the occupation probability formalism for H i bound-free transitions following HLINOP [10].
Notes. Opacity types are bound-free (bf), free-free (ff), collision-induced or quasi-molecular absorption (cia) and scattering (scat). These sources have been compiled by the authors of MARCS and TURBOSPECTRUM [69, 131, 58]. Modified using the occupation probability formalism following Barklem & Piskunov [10].
Line opacities
The opacities due to radiative bound-bound transitions are computed using atomic and molecular line lists sorted by isotope/isotopologue. The code reads the TurbospectrumNLTE format natively as well as a second simplified format presented in Table 2. Common line list formats, including VALD, MOOG and LINEMAKE can be converted into the required format using Python scripts which are shipped as part of the distribution. However, we strongly recommend our carefully curated line lists published alongside our work in Gerber et al. [58] for scientific use.
| [Å] | [eV] | i | j | ||||
| 7771.94 | 9.146 | 0.369 | 453.234 | 3.89e+07 | 0 | 0 | 0 |
Table 2. Example of a line list entry.
The linear absorption coefficient and the emissivity are computed according to equations 1 and 2.
where is the line profile, is the number density of the lower energy level, is the absorption Einstein coefficient, is the departure coefficient and is the Boltzmann factor. The other symbols have their usual meanings. The assignment of departure coefficients to individual lines is described in Sect. 2.6. For more details on the chosen formalism see Appendix B.
We avoid computationally expensive calculations in the distant line wings, where contributions to the total opacity are negligible. The code initiates the calculation of the line opacity at and verifies if , where is a user-defined tolerance and is the continuum opacity at . Each wing is then computed by stepping outwards, terminating the process once the line opacity falls below the threshold . Where the line opacity already accumulated at exceeds , the threshold is raised to times that opacity, so that weak lines inside saturated band cores are skipped. All calculations in this paper use the default . The code records of each line over all grid points and writes a filtered line list after each synthesis, which contains only the lines for which this ratio exceeds . The filter therefore depends on the physical conditions of the model atmosphere and on the wavelength range. We use it to reduce the master line lists using a 1D model atmosphere before running a 3D synthesis. The default is the value adopted in TurbospectrumNLTE [131, 58] and SYNSPEC [76], and a factor of three below the default of Korg [160]. At this tolerance, the temperature differences between 1D and 3D models are not critical for the line selection in spectroscopic diagnostics. Diagnostic lines lie well above the threshold, and lines close to Notes. The columns are the central wavelength , lower excitation potential , value and damping parameters , , and for van der Waals, radiative, and Stark broadening, respectively. Additionally, indices i and j may be specified to connect the lower and upper energy levels to precomputed departure coefficient data.
it only contribute to a weak pseudo-continuum that is removed by local renormalisation of both observed and synthetic spectra.
Table 2 provides an example of an entry in a line list file for a radiative bound-bound transition. The minimal requirement is the central wavelength , lower excitation potential , the transition probability , a product of an f-value and the statistical weight of the lower energy level. All other columns are optional, so that is only read if a 4th column is provided and if there is a 5th column and so on.
Intrinsic line broadening is included through a Voigt profile resulting from the convolution of the Gaussian thermal (and optionally microturbulence) broadening profile with the radiative and collisional broadening Lorentz profile. The damping coefficients are computed according to various implemented recipes, which typically scale with in the case of van der Waals broadening and in the case of Stark broadening (see Appendix § 9).
For H i lines we use dedicated profiles that include linear Stark broadening. For the Balmer lines up to and the Paschen lines up to we interpolate the tabulated profiles of Stehlé & Hutcheon [146], computed with the Model Microfield Method, which includes ion dynamics. For the Brackett lines we interpolate the VCS (Vidal et al. [154]) profiles of Lemke [97], whose tables were taken over from the SIU code (Reetz [134]). The tables include thermal Doppler broadening. The other broadening mechanisms are added to the tabulated profile as a single Lorentzian outside the line core. These are radiative damping, broadening by neutral helium, and self-broadening by neutral hydrogen, the latter from Barklem & Piskunov [10] for H, H and H and from Ali & Griem [1] for all other lines. For lines outside the tables, including the Lyman series, we represent quasistatic ion perturbations using a Holtsmark profile, and we model electron impact effects as an additional Lorentzian contribution. Furthermore, we transition from a convolved Voigt profile in the line core to a direct summation of the independent Gaussian, Lorentzian, and Holtsmark profiles in the line wings following the implementation by Barklem & Piskunov [10]. An application to the Balmer series of a metal-poor red giant is shown in Sect. 3.4.
Input model atmospheres
OpenMULTI3D can take different types of stellar model atmospheres as input, including 1D, 2D, and 3D models.
The basic information required from the 3D cube are the spatial , , coordinates, velocities , , , temperature and one of the following: electron number density , electron pressure or mass density . The missing quantities out of , and are determined via the EOS. The code works in CGS units. Natively supported formats for 3D radiation-hydrodynamics model atmospheres consist of M3DIS (Eitner et al. [50]), STAGGER (Magic et al. [104]), STAGGER2.0 (Rodríguez Díaz et al. [135]) and MULTI3D (Leenaarts & Carlsson [96]).
Notes. a With Si+H collisional data from Belyaev et al. [15] and updates to the radiative data as described in Magg et al. [103]. b Updates described in Semenova et al. [140]. c With Co+H collisional data from Yakovleva et al. [161]. d With Ni+H collisional data from Voronov et al. [157].
Radiative transfer
The code employs a short-characteristics solver (Mihalas et al. [118]; Kunasz & Auer [90]) during NLTE iterations and a long-characteristics solver (Jones & Skumanich [85]; Jones [84]) for spectrum synthesis. Both linear and monotonic quadratic solvers are provided adopting a plane-parallel configuration for all calculations.
In the current version, the boundary condition at the top of the atmosphere is zero incoming radiation (). At the bottom boundary, we extrapolate the Planck function assuming . Horizontal boundary conditions are periodic, following the properties of 3D radiation-hydrodynamics model atmospheres. Consequently, the atmosphere is not split horizontally to avoid circular dependencies between RT patches.
NLTE model atoms
The NLTE model atoms can be used in the same format as those developed for MULTI (Carlsson [37]) and MULTI3D (Leenaarts & Carlsson [96]). Our standard version of the code already includes the following published well-tested NLTE model atoms for 17 elements: H, O, Ne, Na, Mg, Al, Si, Ca, Ti, Cr, Mn, Fe, Co, Ni, Sr, Ba, Y, Eu. See Table 3 for references. These NLTE model atoms were released as part of TurbospectrumNLTE and new models, including CH, can be retrieved from the same open-access database maintained by MPIA3.
Where a level of the model atom combines several fine-structure levels or terms, all lines of these levels share its departure coefficient. This assumes that the combined levels are populated relative to one another according to the Boltzmann distribution. However, we note that this is a very rare case, as for all atomic models (Table 3) used in the code and released by our group, direct fine-structure levels are used in the model atom for the energies that are representative of UV, optical, and IR transitions. Only states close to the ionisation limit are combined into terms or superlevels, which in the Fe and Ni model atoms applies above about 6.8 ([26, 103]) and 6.2 eV ([24]), respectively. The only exception to our standard approach is the CH molecule ([75]), whose 1981 states were grouped by excitation energy into 294 superlevels using K-means clustering.
The departure coefficients computed by the statistical equilibrium solver (Sect. 2.7), either in 1D or in 3D, are stored in a separate file and can be associated with individual spectral lines in a line list. This is done via the use of energy state indices and , which can be supplied in the line list file. These indices refer to the levels of a specific model atom, so a line list has to be matched to the model atom it is used with.
For line lists without these indices, the code can optionally assign them with the procedure developed for TurbospectrumNLTE and TSFitPy ([58]), which is not ideal, but provides a starting point for further improvements. See a more careful and rigorous approach used in the SIU code (e.g. [89, 28, 107]). In the TSFitPy approach, a line takes the levels of the model atom transition within 0.02 Å of its wavelength whose lower-level energy agrees to within a factor of 1.0005, and otherwise the nearest level within that tolerance. Lines without a match remain in LTE. Indices given in the line list are always kept. We emphasise that no attempt is made in this paper to provide a more physically correct and elaborate approach, in which the upper and lower energy levels, including their properties (such as total angular momentum, energies) are used to ensure the correct states are identified with the radiative bound-bound transition, and this is essential for any careful stellar spectroscopic NLTE analysis.
Statistical equilibrium solver
We evaluate convergence by tracking the maximum relative change in the departure coefficients between iterations, . By default, we consider the solution converged when the maximum absolute value of falls below .
One advantage of the task-based parallelisation scheme of DISPATCH is the possibility to apply asynchronous updates to individual subregions. We give the user the option to exclude subregions from the iterative updates once their populations converge below an independent, customisable threshold. Optically thick subregions typically converge within a few iterations and are unaffected by changing populations in upper atmospheric layers. Excluding them reduces the computational cost of subsequent lambda iterations, as the solver focuses strictly on the optically thin regions that require further iterations to reach statistical equilibrium.
Notes. was only used for the 1D spectrum synthesis utilising corresponding MARCS model atmospheres. In the validation against MULTI3D we employed the STAGGER model as the M3DIS format is not supported in the legacy code. Only used with the 1D MARCS model in the validation against MULTI.
MULTI3D originally used the full-preconditioning scheme ([137], Sect. 2.3) of the rate equations, which eliminates cross-terms in the transition matrix when overlapping lines are present. We note that preconditioning serves strictly to accelerate the convergence rate of the iterative solver and does not alter the final converged solution. Because calculating all cross-terms is computationally expensive and generally not required to achieve convergence, we implement the simpler auto-preconditioning scheme (Sect. 2.4 of the same paper). This method isolates the feedback in the radiative rates of each line with itself, which reduces memory and computation costs while yielding identical physical results to the full scheme. Other 3D NLTE codes, such as BALDER ([4]), also use this approach. Optionally, Ng acceleration ([119]) can be enabled, which may significantly speed up the convergence.
Atmosphere projection
To reduce numerical interpolation errors associated with evaluating inclined rays in downsampled 3D atmospheres, we implement a pre-tilting atmosphere projection scheme for our long characteristics solver. This method has previously been suggested by Peck et al. [128] for interpolating stellar atmosphere models. They have discussed and tested the concept of angle-aligning the grid prior to computing radiative transfer to reduce intensity diffusion in short-characteristics solvers. While long-characteristics solvers do not suffer from diffusion due to interpolation in the intensity, they do suffer from diffusion when interpolating the source function and especially the opacity onto the inclined photon paths. Interpolating the hydrodynamic quantities prior to downsampling onto tilted grids may also introduce interpolation errors, but it is still favourable, since one may interpolate in the full-resolution snapshot, rather than in the already downsampled version used during the radiative transfer calculations. The same method is in fact briefly mentioned in Hayek et al. [73] as part of the 3D LTE radiative transfer code SCATE; however, no comparisons against other methods are presented in said paper. This pre-tilting approach only comes with one additional complexity in the case of NLTE line formation. Since we typically compute the departure coefficients on a downsampled non-tilted grid, we then have to interpolate the departure coefficients onto the ray-aligned grid.
Results and discussion
Atmosphere projection validation
In order to test the properties of the atmosphere projection method, we have selected 9 spectral lines of various species, ionisation stages, lower excitation potentials and oscillator strengths, hence a selection of lines covering a broad range of formation depths within the photosphere. The employed line data are listed in Table C.2. We compute 3D LTE line profiles for 12 different inclinations employing one solar atmosphere snapshot. We carry out this calculation using the full-resolution snapshot with horizontal resolution of points and progressively downsampled versions of the same snapshot. During the radiative transfer, the source function and opacity are linearly interpolated onto the photon path in this setup. Alternatively, we compute the same line profiles, but by interpolating the hydrodynamic quantities prior to downsampling and prior to the radiative transfer calculation onto tilted grids with a horizontal resolution of points.
We present the results in Figure 1, where we show the error in the equivalent widths of each spectral line with respect to the full-resolution solution. We show
Figure 1. Equivalent widths as a function of inclination angle for varying horizontal resolutions, comparing results with and without pre-tilting of the hydrodynamical model atmosphere snapshots. The values are expressed relative to the equivalent widths of the full-resolution (240 × 240) result. In all cases, the pre-tilted (projected) approach reproduces the full-resolution equivalent width to within 0.5%, despite its relatively low horizontal resolution of 30 × 30.
as a function of inclination angle , where is the inclination of the ray with respect to the -axis. corresponds to the vertical ray, where no interpolation is needed as the ray aligns with the grid. Any differences in are from probing the stellar granulation pattern more or less often. Interestingly, even a downsampled snapshot with a resolution of shows very little deviation in compared to the full-resolution result. However, for slightly inclined rays, i.e. and , can deviate up to , in the case of the Ti ii line. We also note that the tends to be overestimated near the vertical, but in some cases can also be underestimated, as is seen in the Na i line.
As expected, the interpolation error is reduced at higher resolution, with typically at a resolution of . In contrast, the full-resolution is reproduced to within 0.5% for every benchmark line when using a reduced horizontal resolution of in combination with the projection approach. This clearly demonstrates the superior efficiency of this method as the horizontal resolution has a large impact on the computational cost of the radiative transfer calculation. For the interpolation of in NLTE, we found that linear interpolation in with subsequent normalisation of the populations to reproduce the total number density of the analysed species reduces interpolation errors compared to linear interpolation in .
Code validation
We aim to employ OpenMULTI3D both as a reliable source of NLTE departure coefficients and as a spectrum synthesis code for 1D and 3D stellar atmospheres. This requires validation against other established codes commonly used for either application.
The successful validation of our code against MULTI, MULTI3D and TurbospectrumNLTE is presented in Appendix C. First we compare 1D LTE and 1D NLTE line profiles against MULTI to validate the formal radiative transfer solver and ensure that the statistical equilibrium solver works reliably for simple atoms, Mg from Bergemann et al. [20], as well as complex model atoms, Fe from Bergemann et al. [26]. The utilised atomic line data for the validation is presented in Table C.1. Then we compare 3D LTE and 3D NLTE line profiles against MULTI3D to test the atmospheric sampling, the short-characteristics and the long-characteristics solver in the case of 3D radiative transfer. And finally, we compare 1D LTE spectral energy distributions (SEDs) of multiple stellar types against TurbospectrumNLTE to demonstrate the applicability of the code to various stellar regimes. Table 6 specifies the line list sources used for all SEDs presented in this paper. The molecular line lists were taken from the TurbospectrumNLTE distribution4, because TurbospectrumNLTE is the validation target for our 1D SED calculations (Appendix C.3). We have not adopted line lists from the ExoMol database [152], because ExoMol does not provide broadening by atomic hydrogen and a validation of its data for stellar atmospheres is beyond the scope of this paper. For specific applications, users can convert ExoMol or other custom line lists to one of the supported formats.
| Species | Reference |
| Atoms | VALD ([129], and refs. therein); VALD-2 ([91], and refs. therein) |
| HO | Barber et al. [9] |
| CH | Masseron et al. [108] |
| NH | Kurucz [93] |
| OH | Goldman et al. [60]; HITRAN (Gordon et al. [63]) |
| MgH | Skory et al. [143] |
| AlH | Plez [130, 131] |
| SiH | Kurucz [93] |
| CaH | Plez [130, 131] |
| CrH | Burrows et al. [33] |
| FeH | Plez [131] |
| C | Querci et al. [132] |
| CN | Hedrosa et al. [74]; Plez [131] |
| CO | Goorvitch [62]; Li et al. (2015) |
| SiO | Langhoff & Bauschlicher [95] |
| TiO | Plez [130, 131] |
| VO | Plez [130, 131] |
| ZrO | Plez [130, 131] |
| SiS | Cami et al. [34] |
Table 6. Sources of atomic and molecular line lists used for the SED calculations presented in this paper.
In the following sections we present the 3D LTE SEDs and their differences from the 1D counterparts (Sect. 3.3). We then show a synthetic near-UV spectrum computed with NLTE departure coefficients for H i and Fe i, and examine how 3D granulation affects the wings of the Balmer series (Sect. 3.4). We also investigate the time variability of line profiles across the 3D snapshot series, which 1D hydrostatic models cannot produce (Sect. 3.5). Finally, we compute 3D NLTE–1D LTE and 1D NLTE–1D LTE abundance corrections for three Mg i lines in a metal-poor turn-off atmosphere and compare them with literature values (Sect. 3.6). Table 4 lists the properties of the model atmospheres.
| Star | [Fe/H] | 3D Model | |||
| Sun | 5777 | 4.4 | 0.0 | 1 | STAGGER |
| M Dwarf | 4000 | 4.5 | 0.0 | 1 | M3DIS |
| Metal-poor RGB | 5000 | 2.0 | -3.0 | 2 | M3DIS |
| Metal-poor RGB | 5000 | 2.0 | -3.0 | 2 | STAGGER |
| Metal-poor Turn-off | 6500 | 4.0 | -2.0 | 1 | STAGGER |
| Metal-poor Turn-off | 6500 | 4.0 | -3.0 | 1 | -- |
| Red Supergiant | 4000 | 1.0 | 0.0 | 5 | CO5BOLD |
Table 4. Stellar parameters of the employed model atmospheres.
3D SEDs
For the hydrodynamic vs. hydrostatic (3D – 1D) comparison of the spectral energy distributions (SEDs), we interpolated spectra from multiple 1D MARCS model atmospheres spanning a range of effective temperatures in order to match the of the 3D snapshots. For all models, was computed by direct integration of the emergent flux over wavelengths in the range 1300–200 000 Å, using exactly the same wavelength grid as adopted in the MARCS code (flx_wavelengths.vac)5. The spectra are shown convolved to a resolving power of .
Despite differences in stellar parameters, the three cases presented in Figure 2 display a consistent trend. Compared to 1D counterparts, 3D SEDs are systematically cooler at the H opacity minimum near 1.6 µm and moderately hotter in the optical range (0.4 µm to 0.8 µm). Noticeable differences are seen in the red supergiant, in particular for the red CN band system (0.8 µm to 2.0 µm), the first overtone band of CO (2.3 µm to 2.7 µm) and optical Fe lines (0.3 µm to 0.8 µm). For demonstration purposes we show the impact of these species on the SED of a red supergiant using a 1D MARCS models atmosphere in Figure 3. The CO band, for example, is considerably weakened in the 3D model, counteracting the offset caused by the H opacity minimum. The 3D − 1D discrepancies are generally smallest in the M dwarf.
Figure 2. SED test calculation of a typical M dwarf, metal-poor red giant and red supergiant computed in 1D and 3D LTE using OpenMULTI3D. The spectra have been convolved to a resolution of for easier visual comparison. The legend states the effective temperature of the spectra from direct integration.
Figure 3. SED test calculation of a typical red supergiant with and without CO, CN and Fe lines. This comparison was done using a hydrostatic MARCS model atmosphere.
The reduced flux around the H opacity minimum aligns with findings by Davies et al. [42] (see their Fig. 6, right panel). Furthermore, the redistribution of emission from the infrared into the optical range when adopting hydrodynamical models was observed by Bonifacio et al. [29]. They noted that 3D-corrected colours are redder for hotter models and bluer for cooler models, regardless of metallicity. Their Figure 4 demonstrates bluer colours from 3D models for all instances with K, a condition met by the models shown in Figure 2.
Figure 4. Synthetic spectra of a metal-poor red giant. The 3D spectra are computed from a single snapshot of an M3DIS model atmosphere, and the 1D LTE spectra come from MARCS models. (a) The 3700–3900 Å region at the synthesis resolution, computed with the line lists from Table 6 in 1D LTE (red) and 3D NLTE (black) where only H and Fe are treated in NLTE. The labels give the principal quantum numbers of the lower and upper levels of the Balmer lines. (b) The same spectra convolved to , with 3D LTE added (blue). (c–e) H10, Hγ and Hα at , computed with hydrogen lines only. 3D NLTE (black) and 3D LTE (blue) are compared with 1D LTE on MARCS models of 5000, 5500 and 6000 K (red).
Balmer series
We present an example of a 3D NLTE spectrum synthesis, compared with the corresponding 1D LTE result, in Figure 4. The 3D NLTE spectrum was computed from a single snapshot of the metal-poor red giant M3DIS model of Table 4 in two steps. First, we computed departure coefficients for H I and Fe I separately, using the H and Fe model atoms of Table 3. We then ran a final synthesis with the line lists of Table 6, applying the precomputed departure coefficients to the line opacities and emissivities of both species. This requires each line-list transition to be associated with the levels of the model atom, for which we use the optional level matching described in Sect. 2.
Panel (a) of Figure 4 shows the resulting 1D LTE and 3D NLTE spectra at the synthesis resolution (sampled at ).
The Balmer lines have much stronger wings in 3D NLTE than in 1D LTE. Panel (b) shows the same spectra convolved to , together with the 3D LTE spectrum. The strong wings are equally present in 3D LTE, so they arise from the 3D atmospheric structure rather than from departures from LTE. NLTE effects are, however, visible in the many Fe i lines in this window, which are weaker in 3D NLTE than in 3D LTE. In panels (c)–(e) we isolate the sensitivity of H10, Hγ and Hα by comparing the 3D NLTE and 3D LTE profiles with 1D LTE profiles computed from MARCS models of increasing . NLTE affects these lines mainly in the line core, and the effect decreases towards the higher series members. At it deepens the core of Hα by 5 % of the continuum flux and changes those of Hγ and H10 by less than 0.4 %. Beyond about 1 Å from the centre of Hα, the 3D NLTE and 3D LTE profiles differ by less than 1 %. The MARCS models were computed with a mixing length of which is their default value [69]. At 3 Å from the line centre, the 3D NLTE wings correspond to a 1D model that is about 450 K hotter for H10, 430 K for Hγ and 340 K for Hα. This ordering agrees with Martins et al. (2018), who found that the outer Balmer-line wings are stronger in 3D than in 1D because the line forms in the upflowing granules, whose temperature gradients are steeper than those of the 1D models, and that this effect grows towards the higher series members, which form deeper in the atmosphere. Our conclusion is that the analysis of H I lines using 1D models would overestimate by up to a few hundred K (from about 340 K for Hα to 450 K for H10 at 3 Å from the line centre) for metal-poor red giants, but the details will depend on the choice of line and fitting method.
Time-variable spectra
We performed 3D NLTE calculations of the 5183.6 Å Mg I line for a sequence of snapshots representing a typical M dwarf and a metal-poor RGB star. Figs. 5 and 6 illustrate the intensity fluctuations surrounding and within the line core for each model. Each time series comprises approximately 100 snapshots but spans different intervals of stellar time, reflecting the disparate convective timescales of the dwarf and giant.
The intensity fluctuations were computed as:
where denotes the un-normalised disk-centre intensity and the angle brackets indicate averaging over the time series.
The intensity fluctuations comprise two categories, most clearly distinguished in Figure 5. The first consists of fluctuations that remain nearly uniform across the line wings and the continuum, forming a horizontal barcode-like pattern. The second category corresponds to blue- or redshifts of the line core, appearing as jitter around the centre. Both phenomena arise from the balance between upward and downward flows within stellar photospheric granulation. This convective surface is composed of bright rising convection cells and dim, turbulent inter-granular lanes where cooled material sinks rapidly.
Figure 5. The left panel shows the time-variability of a 3D NLTE Mg line profile for a series of snapshots, presented for a typical metal-poor red giant. The starting time is past the relaxation time ( convergence) of the atmospheric model. The intensity fluctuations are measured with respect to the time averaged mean. The first grey inset in the left panel shows the intensity fluctuation of the continuum only. The second grey inset shows the Doppler shift of the line core, which is also shown in wavelength space by the black solid line in the centre of the plot. The right panel shows the mean line profile and highlights the line profiles from two selected snapshots responsible for the minimum and maximum Doppler shifts.
Figure 6. Same as Fig. 5, but for a typical M dwarf. We have omitted the results for individual snapshots in the right panel as the differences were hardly noticeable when zooming out to show the wings of this strong line.
Continuum fluctuations occur because the surface area ratio between cells and lanes varies around a mean value, causing certain snapshots to appear brighter than others. The first grey inset in the left panel of Figure 5 shows the intensity fluctuations of the continuum alone. These amount to approximately 5% for the metal-poor RGB and for the M dwarf.
The convective blue- or redshifts result from a non-zero average line-of-sight momentum in the photosphere. Even when the simulation box perfectly conserves mass and momentum, balancing upward and downward flows, an imbalance typically exists in the observable fraction of the material. Consequently, the line centres appear shifted by different amounts in different snapshots (e.g. [121, 49]). The second grey inset in the left panel of Figure 5 shows the derived Doppler shift of the line core for each snapshot. The solid black line in the centre represents in wavelength space. The Doppler shift was measured by fitting a parabola to the line core and determining its analytical minimum. Alternatively we tested using the maximum displacement of the C-shaped line bisectors, but both methods returned consistent results in our case. The average Doppler shift velocity of the 5183.6 Å Mg line is m/s in the case of the metal-poor RGB and m/s in the case of the M dwarf. This is in good agreement with the - trend observed in FGKM-type stars predicting larger shifts for hotter stars [2, 55, 115, 142]. The line core intensity fluctuations peak at approximately 7% for the M dwarf and 35% for the metal-poor RGB star.
Figure 7. 1D LTE, 1D NLTE and 3D NLTE Mg i line profiles as well as their corresponding abundance corrections with respect to 1D LTE.
We note that the presented intensity fluctuations only correspond to the variability of the modelled surface area when viewed face on and it does not represent the expected variability of the integrated stellar disk. The amplitude of these fluctuations relative to the mean decreases as the horizontal extent of the simulation box increases; however, the finite stellar radius ultimately limits this reduction (see e.g. Ludwig 2006). The dwarf simulation box covers a horizontal area of 5.08 Mm × 5.08 Mm, whereas the giant spans 2.13 Gm × 2.13 Gm. We designed the horizontal dimensions of our simulation box to cover approximately 10–20 convection cells. This scale is generally considered sufficient to capture the statistical properties of the atmosphere [39, 26, 104, 3], as smaller scales typically remain spatially correlated.
Mg abundance corrections
Figure 7 shows example calculations of 1D LTE, 1D NLTE and 3D NLTE line profiles for three Mg i lines (4703.0 / 5183.6 / 5528.4) Å in a metal-poor turn-off atmosphere ( K, , [Fe/H] = ). We have chosen this model atmosphere, because for this model there are four independent literature sources providing NLTE abundance correction for the Mg i lines [20, 125, 105, 100]. Hence this combination of inputs (spectral lines, stellar parameters) offers an excellent validation test.
To compute the 1D and 3D NLTE abundance corrections, we used the MARCS model atmospheres in 1D and STAGGER models from Rodríguez Díaz et al. [135] in the case of 3D. We employ the NLTE Mg model atom from Bergemann et al. [20], also presented in Magg et al. [103] and Gerber et al. [58]. The atomic parameters of the Mg i lines are provided in Table C.1. We have also accounted for the effects of line blanketing in the background opacities through the use of a line list assembled and compiled by the Munich group [57, 17, 21]. The resulting 1D NLTE – 1D LTE abundance corrections are +0.09, +0.04, +0.09 dex for the Mg i lines at 4703.0, 5183.6 and 5528.4 Å, respectively. The literature results on 1D NLTE abundance corrections for these optical Mg i lines are generally in good agreement [see 23]. For this set of stellar parameters, Lind et al. [100] find 1D NLTE corrections of (+0.05/+0.03/+0.04), while results based on DETAIL/SIU6 employing the model from Bergemann et al. [20] predict the corrections (+0.07/+0.03/+0.06). The NLTE abundance correction database from Matsuno et al. [109] tabulates 1D NLTE – 1D LTE abundance corrections of (+0.06/−0.07/+0.04). We note that the abundance correction of the 5183.6 Å line is particularly sensitive to the inclusion of line blanketing and it can become negative in 1D NLTE if no line blanketing is accounted for. We consider the agreement satisfactory given that the three sources are employing various synthesis codes (PySME, SIU and BALDER) with some differences in microphysics and opacities to be expected. For the same stellar parameters, our 3D NLTE – 1D LTE corrections are (+0.16/+0.02/+0.17) dex. For comparison, the 3D NLTE – 1D LTE results from Matsuno et al. [109] are (+0.14/+0.06/+0.13), which agrees well with our results.
Conclusions
The standard approach to determine astrophysical parameters of stars, including atmospheric parameters and detailed chemical composition of stars, relies on highly physically simplified synthetic stellar spectra. These spectra are typically computed using 1D hydrostatic equilibrium model atmospheres and NLTE taken into account using grids of departure coefficients, for example GALAH [31], GAIA-ESO [144] and APOGEE [124]. However, these models – by construction – do not have any time dependence and lack realistic gas motions due to convection and pulsations, the
{{sup}}6nlte.mpia.de latter being ubiquitous over the entire Hertzsprung-Russell diagram [38].
In this paper, we present the open-access code OpenMULTI3D to compute 3D NLTE radiation transfer and synthetic stellar spectra for AFGKM-type cool stars. The code is applicable to the following conditions: 2500 K 8000 K, , and , following primarily the micro-physics (partition functions, atomic and molecular line lists with a given number of ions and their line data, radiative cross-sections for continuum opacities, and temperature ranges of collisional data in the NLTE atomic and molecular models). The code can directly use 3D snapshots from 3D radiation-hydrodynamics calculations of stellar models atmospheres, such as CO5BOLD, STAGGER, and M3DIS. OpenMULTI3D is also capable of solving statistical equilibrium equations and spectrum synthesis (one or more atoms and molecules in NLTE at a time) with the departure coefficient datasets (Sect. 3.4). This code is the successor of MULTI3D [96], but our code includes improved opacity calculations, updated microphysics, such as the EoS and partition functions, as well as improved interpolation and discretisation methods for solving long-characteristics radiative transfer for inclined rays. Most importantly, backward compatibility is maintained for both MULTI and MULTI3D. OpenMULTI3D also provides interfaces for interpolating in atmosphere grids, such as the MARCS grid, in order to provide customised synthetic spectral calculations (for individual values of , , , abundances) for realistic observed parameter space.
In this paper, we present the validation of the data products of OpenMULTI3D against the synthetic spectra, SEDs, and abundance corrections computed using other widely-used codes in the literature, such as MULTI [37], TurbospectrumNLTE v.20 [58] and MULTI3D [96]. We show that the code provides excellent agreement with previous results, if the same input physical setup is used, e.g. the same 1D HE model atmospheres, NLTE atomic models, and stellar parameters. Also we provide some examples of the 1D NLTE and 3D NLTE abundance corrections and compare them with the literature to validate the code. We find that 3D NLTE effects are important both for modelling the stellar SEDs [42, 29] and for individual spectroscopic diagnostic lines of different chemical elements [20, 24, 109, 99]. We find that, for example, for metal-poor red giant model atmospheres ( K, , ), the 1D LTE MARCS models vastly overestimate the inferred from the Balmer lines by 300–400 K. This is consistent with previous values reported in Ludwig et al. [102] and Amarsi et al. [5]. We also show the predictions of the code in terms of stellar intensities computed for time-dependent series of 3D atmospheric cubes, and we briefly summarise the main features of these calculations. Specifically we find that for K-type giants ( K, , ) is around 300 m s, whereas for low-mass main-sequence M dwarf ( K, , ) the convective line shifts and asymmetries are much smaller in amplitude and are around 40 m s. Therefore OpenMULTI3D enables comparison to time-dependent signals induced by planets or stellar activity, which are of similar amplitude [113, 114]. However, an in depth analysis of the variability of the convective signals in the here presented simulations is beyond the scope of this paper.
Data availability
The source code of OpenMULTI3D is publicly available at https://github.com/Bergemann-Group-development/dispatch.
Acknowledgements
We thank the anonymous referee for constructive comments that helped to improve the manuscript. MB, RH, and NS are supported through the Lise Meitner grant from the Max Planck Society and through the ERC grant of the European Research Council (ERC) under the European Union’s Horizon 2020 research and innovation programme (Grant agreement No. 949173). RH thanks Bertrand Plez for patiently responding to numerous emails regarding TurbospectrumNLTE and MARCS opacities. RH implemented the OpenMULTI3D code and developed the Python package. MB initiated the study, provided project supervision, and contributed to tests, validation, and architecture of the OpenMULTI3D code, and its data products. PE contributed to the code testing, validation and provided DISPATCH stellar atmosphere snapshots. NS assisted with code testing and consistency checks with TurbospectrumNLTE through TSFitPy. AN and AP developed the DISPATCH framework and assisted with integration into the framework. JL authored the proprietary predecessor MULTI3D and accepted the public release of this latest version alongside this paper. All authors contributed to the final manuscript and approved its submission. We analysed the outputs of OpenMULTI3D using NumPy, SciPy and Astropy, and generated figures using Matplotlib. Additionally, we utilised Gemini for text editing regarding readability and style and Claude Code to help identify and resolve technical inconsistencies and bottlenecks within the codebase.
The DISPATCH framework
The DISPATCH high-performance simulation framework (Nordlund et al. [122]) utilises a task-based parallelisation scheme designed for 3D astrophysical applications. This framework organises computations, such as hydrodynamics or radiative transfer solvers, into discrete tasks.
To maintain the correct execution order, DISPATCH defines neighbour relations between these tasks. Two tasks are neighbours if the execution of one depends on the status of the other. A task becomes ready for execution once all its neighbours are ahead in time, indicating they have either finished or are scheduled for a later execution. The framework updates the time attribute of each task by adding a specific step after every execution. In this study, where the post-processing involves single frozen hydrodynamic snapshots or 1D hydrostatic atmospheres, the time attribute serves as a proxy for the number of lambda iterations.
Atmosphere interpolation
Figure A.1. Visualisation of the atmosphere interpolation routine. Each atmosphere is split in regular intervals of the horizontally averaged logarithmic electron pressure. The resulting intervals are considered as individual subregions. Each subregion finally features regular equidistant meshes.
DISPATCH is tailored for regular grids within individual subregions, but it natively handles subregions of non-uniform sizes due to its focus on adaptive mesh-refinement. To ensure sufficient sampling of photospheric layers and to homogenise various input atmospheres while meeting DISPATCH grid requirements, OpenMULTI3D processes all input atmospheres as follows:
For atmospheres on an optical depth scale, is determined at each point using the EOS and opacity package to convert the optical depth to a height scale.
The logarithmic electron pressure, , is determined using the EOS.
For 3D atmospheres, the horizontal average of is computed.
The resulting 1D atmosphere is divided into equal intervals of .
Height intervals corresponding to these intervals are determined.
These height intervals serve as subregion boundaries. A regular grid with a resolution of is created for each subregion, where are specified as input (with for 1D atmospheres). If is not a natural number, one or more subregions have one extra xy-plane.
The original atmosphere is interpolated onto the new subregion grids using piecewise cubic monotonic Hermite interpolation.
Figure A.1 illustrates steps 4–6, where equal intervals in are represented by blue shaded areas on the y-axis, and the resulting non-uniform height intervals are shown as grey shaded areas on the x-axis. Logarithmic electron pressure is used as a reference because it yields low resolution below the photosphere, high resolution near , and intermediate resolution in regions of low optical depth.
Organising NLTE radiative transfer in tasks
Figure A.2. DISPATCH patch dependencies. Arrows point towards needed patches. Circular dependencies give rise to iterations.
Consistent with other 3D NLTE spectrum synthesis codes, the stellar atmosphere is divided into multiple spatial subregions. During opacity calculations and radiative transfer, the frequency domain is further partitioned into multiple intervals. Figure A.2 illustrates the organisation of the NLTE spectrum synthesis problem into patches and their respective relationships. Within the DISPATCH context, a patch is a task associated with a specific subregion.
Experiment patch: This patch stores the state variables and velocities for a single subregion of the model atmosphere. Executed once at the start, it crops and interpolates data from the original model atmosphere onto a regular grid covering the subregion.
Composition patch: This patch handles microphysics and calculates partial pressures for all ions and molecules within the subregion defined by the Experiment patch. It also computes several frequency-independent intermediate quantities used during opacity calculations. This patch is executed once after state variables are loaded into the Experiment patch.
NLTE patch: This optional patch is required when employing or computing NLTE level populations. During
the first update, it either reads precomputed departure coefficients or initialises LTE populations for trace particles (atoms or molecules) specified in the input file. The patch subsequently solves the statistical equilibrium equations and updates level populations once radiative rates are determined for all frequency intervals in the subregion.
– RT patch: Two RT patches exist for each frequency interval per subregion. The UP type propagates radiation from the bottom to the top of the subregion, while the DOWN type propagates it from top to bottom. The latter is only initialised if NLTE departure coefficients are computed or if scattering is enabled. Each patch loops over the angles in a chosen quadrature and performs the following steps:
Calculating continuum opacities from the opacity package.
Adding line opacities from the opacity table.
Adding line opacities from the line list.
Adding continuum opacities from trace particles.
Adding line opacities from trace particles.
Solving the radiative transfer from one end of the subregion to the other.
Calculating radiative transition rates for trace particles.
Steps 1 and 6 are always executed, while others are included only if the necessary input data is provided. RT patches require the prior execution of the Experiment, Composition, and optionally NLTE patches. They also connect different subregions, depending on RT patches for the same frequency interval located in the upstream direction (the UP patch below for UP patches, or the DOWN patch above for DOWN patches).
For completeness, initialising RT patches is optional; the code may also be used solely to read and process input atmosphere models, as described in the following section.
Parallelisation
OpenMULTI3D currently only uses the OpenMP (Open Multi-Processing) capabilities of DISPATCH, which also supports MPI (Message Passing Interface) parallelisation across multiple nodes. Due to the reduced accuracy losses from downsampling (see Sect. 2.8), the memory requirements are much reduced and even our largest NLTE models, for example Fe, run comfortably on a single node (see Table 5). While OpenMP allows for a shared memory layout, the code has been specifically designed to have a self-contained memory layout for each interval in the spatial-frequency domain, in case of switching to MPI later on. Global communication is only necessary for the convergence criterion. Arrays of data, needed for the radiative transfer, are only "downloaded" from the upstream neighbours of the RT patches. The only exception occurs if scattering is enabled. The mean intensity has to be stored for each spatial-frequency point. The user can decide whether to store this data on disk between iterations or keep it in memory.
| Task | Laptop (M1) Time | Laptop (M1) Memory | Node (32 CPUs) Time | Node (32 CPUs) Memory |
| Hi-res optical 1D | 3.2 s | 0.5 GB | 5.0 s | 0.8 GB |
| Hi-res optical 3D | — | — | 17 min | 28 GB |
| Dep. coeff. 1D (O) | 0.3 s | 0.1 GB | 1.3 s | 0.4 GB |
| Dep. coeff. 1D (Fe) | 19 s | 1.3 GB | 18 s | 1.8 GB |
| Dep. coeff. 3D (O) | 12 min | 1.5 GB | 6.2 min | 2.7 GB |
| Dep. coeff. 3D (Fe) | — | — | 10 h | 39 GB |
Table 5. Performance benchmarks for various synthesis tasks. Notes. Times are wall-clock times, and memory is the peak resident set size measured by the operating system.
Optimised computational framework for line opacity
The calculation of the monochromatic linear absorption coefficient and emissivity represents the primary computational burden in 3D NLTE spectrum synthesis with many lines. For a transition from a lower level to an upper level and under the approximation of complete redistribution, these are defined as:
To achieve high performance, we transform these expressions to isolate frequency-independent terms. We define a dimensionless intensity , where the scaling factor corresponds to the photo-emissive capacity. Under this scaling, the emissivity transforms to:
where we have utilised the Einstein relation . The factor is eventually multiplied to the final output spectrum. Incorporating the departure coefficients and the Boltzmann factor , we may reformulate
where we have made use of the relation of the LTE populations
Separation of variables
The normalised Voigt profile is typically expressed as:
where the Doppler width and the dimensionless frequency vary spatially. We introduce the dimensionless inverse Doppler width, . This is very convenient as is only isotope dependent, hence can be computed once in the outermost loop. By defining scaled Einstein coefficients , we define a line-specific opacity kernel at each spatial point:
This kernel represents the integrated opacity of the line in LTE, scaled by the Doppler factor. Here we have replaced by , which is a perfectly reasonable approximation for the small wavelength windows covered by each line. Then we define the pre-factors:
Inner loop minimisation
The innermost loop over frequency now computes the reduced variables and :
where . The physical coefficients are recovered via a final frequency-dependent correction to account for stimulated emission:
This formulation ensures that the transcendental Voigt function is only multiplied by two pre-calculated scalars per frequency point, and the frequency-dependent exponential is applied only once to the sum of all lines, rather than per line.
Code validation
NLTE comparison with MULTI
| species | [Å] | [eV] | |||
| Mg I | 4571.10 | 0.00 | -5.397 | 222.253 | 6.70e+02 |
| Mg I | 4702.99 | 4.35 | -0.456 | 2806.269 | 5.01e+08 |
| Mg I | 5172.68 | 2.71 | -0.363 | 729.238 | 9.77e+07 |
| Mg I | 5183.60 | 2.71 | -0.168 | 729.238 | 9.77e+07 |
| Mg I | 5528.42 | 4.35 | -0.547 | 1461.310 | 5.25e+08 |
| Fe I | 4235.94 | 2.43 | -0.247 | 739.240 | 1.51e+08 |
| Fe I | 4250.79 | 1.56 | -0.591 | 310.262 | 9.12e+07 |
| Fe I | 5269.54 | 0.86 | -1.060 | 237.249 | 1.51e+07 |
| O I | 6300.30 | 0.00 | -9.720 | 1.0 | 2.110e-05 |
| O I | 7771.94 | 9.15 | 0.369 | 453.234 | 3.890e+07 |
| O I | 7775.39 | 9.15 | 0.002 | 453.234 | 3.890e+07 |
Table C.1. Atomic data for the Mg, Fe and O lines used in the model atoms for the code validation.
Notes. Van der Waals damping coefficients of order unity refer to scaling factors of the Unsöld [153] recipe, while the other values correspond to the recipe from Barklem et al. [12].
We compare NLTE effects predicted by MULTI (version 2.3) and OpenMULTI3D for three Mg I lines in a metal-poor red giant ( K, , [Fe/H] = ) and three Fe I lines in a metal-poor turn-off star ( K, , [Fe/H] = ). The resulting 1D LTE and 1D NLTE line profiles are presented in Fig. C.1. We selected these specific elements as the Mg I model from Bergemann et al. [20], containing 86 energy levels and 327 transitions, corresponds to one of our smaller NLTE models, while the Fe I & II model from Bergemann et al. [26], having 607 energy levels and 13 241 transitions, is our largest atomic NLTE model. Our line and atmosphere selection is based on previous high-resolution studies of abundances of Galactic stars [26, 20]. The three Fe I lines were chosen as they are observable in spectra of metal-poor stars of turn-off, RGB and red supergiant type (e.g. Table A1 in Bergemann et al. [26]). The same holds for the selected Mg I lines (e.g. Table 5 in Bergemann et al. [20]). The Mg lines are shown for a representative metal-poor RGB model, while the Fe lines are displayed for a metal-poor turn-off star. The OpenMULTI3D configuration was carefully matched to the MULTI setup, meaning that outdated atomic and molecular data have been used in this comparison.
In all cases, the agreement between the two codes is excellent. Any residual differences are negligible and remain well within the expected numerical precision of the radiative transfer calculations. These results demonstrate that OpenMULTI3D reproduces the NLTE line formation predicted by MULTI with high fidelity across different stellar parameters and atomic species.
3D NLTE comparison with MULTI3D
During our code validation we have identified three issues with the original MULTI3D code.
When downsampling the full-resolution snapshots, the implemented interpolation routine is fixed to match the first and last point along each dimension. This is counterproductive in the case of periodic boundary conditions in the horizontal as downsampling from 240 to 120 points along the x or y directions does not simply probe every 2nd point for regularly spaced grids. Instead the new spacing is slightly larger than double the original spacing as it always includes the last point. This introduces artefacts at the horizontal boundaries as the first and last point are incorrectly assumed to have the same spacing as the other points after downsampling. The correct approach is to fix the first point and determine the position of the last point from the new spacing which is consistent across the boundary.
The temperature, mass density and electron density are interpolated linearly onto the downsampled grid. This tends to overestimate the interpolated densities and defeats the purpose of using a non-linear formal radiative transfer solver. Instead we propose to use higher-order interpolation in logarithmic quantities as is done during the hydrodynamic simulations themselves [e.g. 147].
The horizontal velocities are incorrectly flipped when being projected onto the direction of the photon path for outgoing rays. This results in the interpolations and the projection of the velocities to the photon path using inconsistent angles with respect to one another. This inconsistency, however, only produces subtle errors in the flux line profiles, therefore it most likely did not affect previous abundance calculations noticeably.
Figure C.2 presents the comparison of 3D LTE and 3D NLTE line profiles computed with OpenMULTI3D and MULTI3D, after fixing 1 and 3 of the aforementioned issues, for three Mg I lines and three O I lines. For the Mg I lines we reuse the same stellar parameters for a typical metal-poor red giant as before while for the O I line we have chosen a solar atmosphere model. In both cases we employ a single STAGGER snapshot as the STAGGER format is natively supported by both codes.
The presented spectral lines have been computed with a downsampled snapshot resolution of spatial points. This is the recommended resolution by the STAGGER community as it provides an optimal trade-off between computational efficiency and precision in the normalised line flux Rodríguez Díaz et al. [135], assuming one does not pre-tilt the atmospheres. We further use the Carlsson A4 angle quadrature (12 rays per hemisphere) for the short-characteristics solver, which is the default setting in MULTI3D, and choose a Lobatto quadrature with 4 inclinations and 4 azimuthal directions (13 rays per hemisphere) for the long-characteristics solver which is a common choice in 3D NLTE spectrum synthesis [23]. The results from each code agree well across both stellar types. As in Sect. C.1, this test has been carried out by matching the OpenMULTI3D inputs to the MULTI3D inputs, meaning that outdated atomic and molecular data have been used.
SED comparison with TurbospectrumNLTE
Figure C.3 compares the 1D LTE spectral energy distributions computed with OpenMULTI3D and TurbospectrumNLTE over the wavelength range 3000 Å to 20 000 Å. The comparison is shown for the stellar model atmospheres from Table 4, including a typical M dwarf, a metal-poor red giant, and a red supergiant. The spectra are overplotted after convolution to a resolving power of to enable an easier visual comparison between both codes.
The 1D LTE SEDs computed with TurbospectrumNLTE and OpenMULTI3D are in excellent agreement across the full spectral range. The overall continuum shapes, as well as the detailed structure of molecular and atomic features, are reproduced consistently by both codes. The level of agreement confirms the consistency of the radiative transfer implementation, line list, and continuous opacity treatment in OpenMULTI3D relative to TurbospectrumNLTE.
Figure C.1. NLTE Mg and Fe line profile test calculations using 1D MARCS atmospheres comparing MULTI (version 2.3) and OpenMULTI3D with matching settings. The extra line blend in the right wing of the bottom centre panel does not show up in the MULTI 2.3 results, as it does not take into account overlapping lines.
Figure C.2. 3D NLTE O and Mg line profile test calculations using 3D STAGGER atmospheres comparing MULTI3D and OpenMULTI3D with matching settings.
| species | [Å] | [eV] | |
| CH | 4218.71 | 0.413 | -1.315 |
| 4218.73 | 0.413 | -1.337 | |
| 4218.74 | 1.484 | -4.377 | |
| 4218.78 | 0.413 | -3.410 | |
| Ca I | 6162.17 | 1.899 | -0.170 |
| Fe I | 6151.62 | 2.176 | -3.295 |
| 6151.69 | 5.012 | -3.761 | |
| Fe II | 4923.92 | 2.891 | -1.260 |
| Mg I | 5528.40 | 4.346 | -0.547 |
| Na I | 5889.95 | 0.000 | 0.108 |
| Ni I | 6767.77 | 1.826 | -2.140 |
| O I | 7774.17 | 9.146 | 0.203 |
| Ti II | 5336.79 | 1.582 | -1.600 |
Table C.2. Optical benchmark lines used in the projection scheme validation.
Figure C.3. Line list test calculation of a typical M dwarf, metal-poor red giant and red supergiant computed in 1D LTE using OpenMULTI3D and TurbospectrumNLTE. Grey lines in the background show the raw fluxes from OpenMULTI3D, while the solid black shows the same flux, but convolved to a resolution of . The dashed red line shows the analogous TurbospectrumNLTE result.
Line damping recipes
Currently supported broadening mechanisms cover radiative broadening, Stark broadening and pressure broadening from collisions with neutral hydrogen (van der Waals broadening). The normalised Voigt profile is typically expressed as:
where H is the Voigt function and Doppler width and damping parameter are given by
The widths , and in Eq. (D.3) are full widths at half maximum in angular frequency (). They are evaluated in every grid cell from the local temperature , electron number density and number density of neutral hydrogen . The van der Waals broadening is due to collisions with neutral hydrogen atoms and Stark broadening is due to electron impacts. Each line list record carries three broadening entries, , and (Table 2). The value of each entry selects the recipe in Table D.1 that converts it into the corresponding , so that line lists from different sources can be combined without conversion. The same recipes apply to the bound-bound transitions of the model atoms.
For we adopt the estimate of Wheeler et al. [160], , which requires only . TurbospectrumNLTE divides it by the statistical weight of the upper level, giving . Both forms are rough lower limits, since the radiative width is the sum of the radiative decay rates out of both levels, and most line lists do provide . As this estimate would be the only use of in the line opacity calculation, we have decided to adopt the Wheeler et al. [160] approach and kept out of the line list format.
| Entry | Meaning of the entry | Width | Reference |
| Radiative broadening | |||
| radiative damping rate in rad s | |||
| classical estimate | Wheeler et al. [160] | ||
| van der Waals broadening | |||
| packed a,b | Barklem et al. [12] | ||
| Unsöld enhancement factora,c, dimensionless | Unsöld [153] | ||
| at Kf, with in rad cm s | Unsöld [153] | ||
| a, with in cm s | Unsöld [153], Gray [64] | ||
| – | 0 | ||
| Quadratic Stark broadening | |||
| in rad cm s | |||
| at Kf, with in rad cm s | Unsöld [153] | ||
| d, with in cm s | Unsöld [153], Gray [64] | ||
| Cowley approximatione | Cowley [40] |
Table D.1. Damping recipes for metal and molecular lines.
Notes. The recipe is selected by the value of the line list entries , and . Units are CGS and energies are in eV. All widths are full widths at half maximum in rad s, and the number densities and are in cm. and are the excitation energies of the lower and upper level, is the ionisation energy of the absorbing species and its ionisation stage ( for neutral atoms). (a) is the mean relative speed of a hydrogen atom and the absorber of mass . (b) The integer part is the cross-section in units of and the fractional part the velocity exponent , with , where denotes the gamma function, and m s. (c) with cm s eV. (d) is the mean electron speed. (e) is the effective principal quantum number of the upper level, with eV. The coefficient rad cm s for and rad cm s for follows from Cowley [40] evaluated at K, which he recommends using at all temperatures. for . (f) The temperature scaling follows from the impact widths and [153].
References
- [1]Ali, A. W. & Griem, H. R. 1966, Physical Review, 144, 366
- [2]Allende Prieto, C., Lambert, D. L., Tull, R. G., & MacQueen, P. J. 2002, ApJ, 566, L93
- [3]Amarsi, A. M. & Asplund, M. 2017, MNRAS, 464, 264
- [4]Amarsi, A. M., Barklem, P. S., Collet, R., Grevesse, N., & Asplund, M. 2019, A&A, 624, A111
- [5]Amarsi, A. M., Nordlander, T., Barklem, P. S., et al. 2018, A&A, 615, A139
- [6]Appel, S., Bagdasarian, Z., Basilico, D., et al. 2022, Phys. Rev. Lett., 129, 25701
- [7]Asplund, M., Grevesse, N., & Sauval, A. J. 2005, in Astronomical Society of the Pacific Conference Series, Vol. 336, Cosmic Abundances as Records of Stellar Evolution and Nucleosynthesis, ed. T. G. Barnes, III & F. N. Bash, 25
- [8]Asplund, M., Grevesse, N., Sauval, A. J., & Scott, P. 2009, ARA&A, 47, 481
- [9]Barber, R. J., Tennyson, J., Harris, G. J., & Tolchenov, R. N. 2006, MNRAS, 368, 1087
- [10]Barklem, P. & Piskunov, N. 2016, hlinop: April 2016 releaseDOI
- [11]Barklem, P. S. & Collet, R. 2016, A&A, 588, A96
- [12]Barklem, P. S., Piskunov, N., & O’Mara, B. J. 2000, A&AS, 142, 467
- [13]Basilico, D., Bellini, G., Benziger, J., et al. 2023, Phys. Rev. D, 108, 102005
- [14]Bell, K. L. & Berrington, K. A. 1987, Journal of Physics B Atomic Molecular Physics, 20, 801
- [15]Belyaev, A. K., Yakovleva, S. A., & Barklem, P. S. 2014, A&A, 572, A103
- [16]Bensby, T., Bergemann, M., Ryabizki, J., et al. 2019, The Messenger, 175, 35
- [17]Bergemann, M. 2011, MNRAS, 413, 2184
- [18]Bergemann, M., Bensby, T., Gerber, J., et al. 2026a, A&A, in press
- [19]Bergemann, M. & Cescutti, G. 2010, A&A, 522, A9
- [20]Bergemann, M., Collet, R., Amarsi, A. M., et al. 2017, ApJ, 847, 15
- [21]Bergemann, M., Gallagher, A. J., Eitner, P., et al. 2019, A&A, 631, A80
- [22]Bergemann, M., Hansen, C. J., Bautista, M., & Ruchti, G. 2012a, A&A, 546, A90
- [23]Bergemann, M. & Hoppe, R. 2026, Living Reviews in Computational Astrophysics, 12, 7
- [24]Bergemann, M., Hoppe, R., Semenova, E., et al. 2021, MNRAS, 508, 2236
- [25]Bergemann, M., Kudritzki, R.-P., W ürl, M., et al. 2013, ApJ, 764, 115
- [26]Bergemann, M., Lind, K., Collet, R., Magic, Z., & Asplund, M. 2012b, MNRAS, 427, 27
- [27]Bergemann, M., Lodders, K., & Palme, H. 2026b, in Encyclopedia of Astrophysics, Volume 2, Vol. 2, 387–418
- [28]Bergemann, M., Pickering, J. C., & Gehren, T. 2010, MNRAS, 401, 1334
- [29]Bonifacio, P., Caffau, E., Ludwig, H.-G., et al. 2018, A&A, 611, A68
- [30]Borysow, A., Jorgensen, U. G., & Fu, Y. 2001, J. Quant. Spectr. Rad. Transf., 68, 235
- [31]Buder, S., Kos, J., Wang, X. E., et al. 2025, PASA, 42, e051
- [32]Bues, I. & Wehrse, R. 1976, A&A, 51, 461
- [33]Burrows, A., Ram, R. S., Bernath, P., Sharp, C. M., & Milsom, J. A. 2002, ApJ, 577, 986
- [34]Cami, J., Sloan, G. C., Marwick-Kemper, A. J., et al. 2009, ApJ, 690, L122
- [35]Canocchi, G., Lind, K., Lagae, C., et al. 2024a, A&A, 683, A242
- [37]Carlsson, M. 1986, Uppsalа Astronomical Observatory Reports, 33
- [38]Christensen-Dalsgaard, J. 2004, Sol. Phys., 220, 137
- [39]Collet, R., Asplund, M., & Trampedach, R. 2007, A&A, 469, 687
- [40]Cowley, C. R. 1971, The Observatory, 91, 139
- [41]Dalgarno, A. & Williams, D. A. 1962, ApJ, 136, 690
- [42]Davies, B., Kudritzki, R.-P., Plez, B., et al. 2013, ApJ, 767, 3
- [43]Doyle, R. 1968, J. Quant. Spectr. Rad. Transf., 8, 1555
- [44]Dravins, D. 2008, A&A, 492, 199
- [45]Dravins, D. & Ludwig, H.-G. 2026, in IAU Symposium, Vol. 400, Solar and Stellar Multi-scale Activity, ed. S. Vargas-Domínguez & J. C. Buitrago-Casas (CUP), 18–25
- [46]Dravins, D., Ludwig, H.-G., Dahlén, E., & Pazira, H. 2017a, A&A, 605, A90
- [48]Dravins, D., Ludwig, H.-G., & Freytag, B. 2021, A&A, 649, A17
- [49]Dravins, D. & Nordlund, Å. 1990, A&A, 228, 184
- [50]Eitner, P., Bergemann, M., Hoppe, R., et al. 2024, A&A, 688, A52
- [51]Eitner, P., Bergemann, M., Hoppe, R., et al. 2025, A&A, 703, A199
- [52]Espinoza, N. & Jordán, A. 2016, MNRAS, 457, 3573
- [53]Ezzeddine, R., Merle, T., Plez, B., et al. 2018, A&A, 618, A141
- [54]Freytag, B., Steffen, M., Ludwig, H. G., et al. 2012, Journal of Computational Physics, 231, 919
- [55]Frutiger, C., Solanki, S. K., & Mathys, G. 2005, A&A, 444, 549
- [56]Gallagher, A. J., Bergemann, M., Collet, R., et al. 2020, A&A, 634, A55
- [57]Gehren, T., Shi, J. R., Zhang, H. W., Zhao, G., & Korn, A. J. 2006, A&A, 451, 1065
- [58]Gerber, J. M., Magg, E., Plez, B., et al. 2023, A&A, 669, A43
- [60]Goldman, A., Schoenfeld, W. G., Goorvitch, D., et al. 1998, J. Quant. Spectr. Rad. Transf., 59, 453
- [61]Gonzalez-Garcia, M. C., Maltoni, M., Pinheiro, J. P., & Serenelli, A. M. 2024, Journal of High Energy Physics, 2024, 64
- [62]Goorvitch, D. 1994, ApJS, 95, 535
- [63]Gordon, I. E., Rothman, L. S., Hill, C., et al. 2017, J. Quant. Spectr. Rad. Transf., 203, 3
- [64]Gray, D. F. 2005, The Observation and Analysis of Stellar Photospheres, 3rd edn. (Cambridge, UK: Cambridge University Press)
- [65]Grevesse, N. & Sauval, A. J. 1998, Space Sci. Rev., 85, 161
- [66]Grupp, F. 2004a, A&A, 420, 289
- [68]Gustafsson, B., Bell, R. A., Eriksson, K., & Nordlund, A. 1975, A&A, 42, 407
- [69]Gustafsson, B., Edvardsson, B., Eriksson, K., et al. 2008, A&A, 486, 951
- [70]Gustafsson, M. & Frommhold, L. 2001, ApJ, 546, 1168
- [71]Gustafsson, M. & Frommhold, L. 2003, A&A, 400, 1161
- [72]Hauschildt, P. H. & Baron, E. 2014, A&A, 566, A89
- [73]Hayek, W., Asplund, M., Collet, R., & Nordlund, Å. 2011, A&A, 529, A158
- [74]Hedrosa, R. P., Abia, C., Busso, M., et al. 2013, ApJ, 768, L11
- [75]Hoppe, R., Bergemann, M., Eitner, P., et al. 2026, MNRAS, 546, staf2085
- [76]Hubeny, I., Allende Prieto, C., Osorio, Y., & Lanz, T. 2021, arXiv e-prints, arXiv:2104.02829arxiv.org/abs/2104.02829
- [77]Hummer, D. G. & Mihalas, D. 1988, ApJ, 331, 794
- [78]Irwin, A. W. 1981, ApJS, 45, 621
- [79]Irwin, A. W. 1988, A&AS, 74, 145
- [80]Jofré, P., Heiter, U., & Soubiran, C. 2019, ARA&A, 57, 571
- [83]John, T. L. 1994, MNRAS, 269, 871
- [84]Jones, H. P. 1973, ApJ, 185, 183
- [85]Jones, H. P. & Skumanich, A. 1973, ApJ, 185, 167
- [86]Jørgensen, U. G., Hammer, D., Borysow, A., & Falkesgaard, J. 2000, A&A, 361, 283
- [87]Karzas, W. J. & Latter, R. 1961, ApJS, 6, 167
- [88]Klevas, J., Kučinskas, J., Steffen, M., Caffau, E., & Ludwig, H.-G. 2016, A&A, 586, A156
- [89]Korn, A. J., Shi, J., & Gehren, T. 2003, A&A, 407, 691
- [90]Kunasz, P. & Auer, L. H. 1988, J. Quant. Spectr. Rad. Transf., 39, 67
- [91]Kupka, F. G., Ryabchikova, T. A., Piskunov, N. E., Stempels, H. C., & Weiss, W. W. 2000, Baltic Astronomy, 9, 590
- [92]Kurucz, R. L. 1970, SAO Special Report, 309
- [93]Kurucz, R. L. 2011, Canadian Journal of Physics, 89, 417
- [94]Kurucz, R. L., van Dishoeck, E. F., & Tarafdar, S. P. 1987, ApJ, 322, 992
- [95]Langhoff, S. R. & Bauschlicher, Jr., C. W. 1993, Chemical Physics Letters, 211, 305
- [96]Leenaarts, J. & Carlsson, M. 2009, in Astronomical Society of the Pacific Conference Series, Vol. 415, The Second Hinode Science Meeting: Beyond Discovery-Toward Understanding, ed. B. Lites, M. Cheung, T. Magara, J. Mariska, & K. Reeve, 87
- [97]Lemke, M. 1997, A&AS, 122, 285
- [99]Lind, K. & Amarsi, A. M. 2024, ARA&A, 62, 475
- [100]Lind, K., Nordlander, T., Wehrhahn, A., et al. 2022, A&A, 665, A33
- [102]Ludwig, H.-G., Behara, N. T., Steffen, M., & Bonifacio, P. 2009, A&A, 502, L1
- [103]Magg, E., Bergemann, M., Serenelli, A., et al. 2022, A&A, 661, A140
- [104]Magic, Z., Collet, R., Asplund, M., et al. 2013, A&A, 557, A26
- [105]Mashonkina, L. 2013, A&A, 550, A28
- [106]Mashonkina, L., Korn, A. J., & Przybilla, N. 2007, A&A, 461, 261
- [107]Mashonkina, L., Zhao, G., Gehren, T., et al. 2008, A&A, 478, 529
- [108]Masseron, T., Plez, B., Van Eck, S., et al. 2014, A&A, 571, A47
- [109]Matsuno, T., Amarsi, A. M., Carlos, M., & Nissen, P. E. 2024, A&A, 688, A72
- [110]Maxted, P. F. 2018, A&A, 616, A39
- [111]McLaughlin, B. M., Stancil, P. C., Sadeghpour, H. R., & Forrey, R. C. 2017, Journal of Physics B Atomic Molecular Physics, 50, 114001
- [112]Mészáros, S., Allende Prieto, C., Edvardsson, B., et al. 2012, AJ, 144, 120
- [113]Meunier, N., Desort, M., & Lagrange, A.-M. 2010, A&A, 512, A39
- [114]Meunier, N., Lagrange, A.-M., Borgniet, S., & Rieutord, M. 2015, A&A, 583, A118
- [115]Meunier, N., Mignon, L., & Lagrange, A. M. 2017, A&A, 607, A124
- [116]Mihalas, D. 1965, ApJS, 9, 321
- [117]Mihalas, D. 1978, Stellar atmospheres, 2nd edn. (San Francisco: W. H. Freeman)
- [118]Mihalas, D., Auer, L. H., & Mihalas, B. R. 1978, ApJ, 220, 1001
- [119]Ng, K.-C. 1974, J. Chem. Phys., 61, 2680
- [120]Nissen, P. E. & Gustafsson, B. 2018, A&A Rev., 26, 6
- [121]Nordlund, Å. & Dravins, D. 1990, A&A, 228, 155
- [122]Nordlund, Å., Ramsey, J. P., Popovas, A., & Küffmeier, M. 2018, MNRAS, 477, 624
- [124]Osorio, Y., Allende Prieto, C., Hubeny, I., Mészáros, S., & Shetrone, M. 2020, A&A, 637, A80
- [125]Osorio, Y. & Barklem, P. S. 2016, A&A, 586, A120
- [126]Peach, G. 1970, MNRAS, 73, 1
- [127]Pecaut, M. J. & Mamajek, E. E. 2013, ApJS, 208, 9
- [128]Peck, C. L., Criscuoli, S., & Rast, M. P. 2017, ApJ, 850, 9
- [129]Piskunov, N. E., Kupka, F., Ryabchikova, T. A., Weiss, W. W., & Jeffery, C. S. 1995, A&AS, 112, 525
- [130]Plez, B. 1998, A&A, 337, 495
- [131]Plez, B. 2012, Turbospectrum: Code for spectral synthesis, Astrophysics Source Code Library, record ascl:1205.004
- [132]Querci, F., Querci, M., & Kunde, V. G. 1971, A&A, 15, 256
- [133]Ramsbottom, C. A., Bell, K. L., & Berrington, K. A. 1992, Journal of Physics B Atomic Molecular Physics, 25, 1443
- [134]Reetz, J. K. 1991, Diploma thesis, Ludwig-Maximilians-Universität München
- [135]Rodríguez Díaz, L. F., Lagae, C., Amarsi, A. M., et al. 2024, A&A, 688, A212
- [136]Różański, T., Ting, Y.-S., & Jabłońska, M. 2025, ApJ, 980, 66
- [137]Rybicki, G. B. & Hummer, D. G. 1992, A&A, 262, 209
- [138]Schönrich, R. & Bergemann, M. 2014, MNRAS, 443, 698
- [139]Seaton, M. J., Yan, Y., Mihalas, D., & Pradhan, A. K. 1994, MNRAS, 266, 805
- [140]Semenova, E., Bergemann, M., Deal, M., et al. 2020, A&A, 643, A164
- [141]Serenelli, A. M., Basu, S., Ferguson, J. W., & Asplund, M. 2009, ApJ, 705, L123
- [142]Sheminova, V. A. 2020, Kinematics and Physical Celestial Bodies, 36, 291
- [143]Skory, S., Weck, P. F., Stancil, P. C., & Kirby, K. 2003, ApJS, 148, 599
- [144]Smiljanic, R., Korn, A. J., Bergemann, M., et al. 2014, A&A, 570, A122
- [145]Steffen, M., Prakapavičius, D., Caffau, E., et al. 2015, A&A, 583, A57
- [146]Stehlé, C. & Hutcheon, R. 1999, A&AS, 140, 93
- [147]Stein, R. F., Nordlund, Å., Collet, R., & Trampedach, R. 2024, ApJ, 970, 24
- [148]Storm, N., Barklem, P. S., Yakovleva, S. A., et al. 2024, A&A, 683, A200
- [149]Storm, N. & Bergemann, M. 2023, MNRAS, 525, 3718
- [150]Storm, N., Bergemann, M., Eitner, P., et al. 2025, MNRAS, 538, 3284
- [151]Storm, N., Bergemann, M., Różański, T., et al. 2026, ApJ, 1003, 27
- [152]Tennyson, J., Yurchenko, S. N., Zhang, J., et al. 2024, J. Quant. Spectr. Rad. Transf., 326, 109083
- [153]Unsöld, A. 1955, Physik der Sternatmosphären, mit besonderer Berücksichtigung der Sonne, 2nd edn. (Berlin: Springer)
- [154]Vidal, C. R., Cooper, J., & Smith, E. W. 1973, ApJS, 25, 37
- [155]Vögler, A., Bruls, J. H. M. J., & Schüssler, M. 2004, A&A, 421, 741
- [156]Vögler, A., Shelyag, S., Schüssler, M., et al. 2005, A&A, 429, 335
- [157]Voronov, Y. V., Yakovleva, S. A., & Belyaev, A. K. 2022, ApJ, 926, 173
- [159]Watson, D., Hansen, C. J., Selsing, J., et al. 2019, Nature, 574, 497
- [160]Wheeler, A. J., Abruzzo, M. W., Casey, A. R., & Ness, M. K. 2023, AJ, 165, 68
- [161]Yakovleva, S. A., Belyaev, A. K., & Bergemann, M. 2020, Atoms, 8, 34










