Abstract

Context. Radiative transfer modelling of expanding stellar envelopes is an important task in their analysis. To account for inhomogeneities and deviations from spherical symmetry, it is necessary to develop a 3 D approach to radiative transfer modelling. Aims. We present a 3 D Monte Carlo code for radiative transfer modelling, which is aimed to calculate the plasma ionisation and excitation state with the statistical equilibrium equations, moreover, to implement photon-matter coupling. As a first step, we present our Monte Carlo radiation transfer routines developed and tested from scratch. Methods. The background model atmosphere (the temperature, density, and velocity structure) can use an arbitrary grid referred to as the modGrid. The radiative transfer was solved using the Monte Carlo method in a Cartesian grid, referred to as the propGrid. This Cartesian grid was created based on the structure of the modGrid; correspondence between these two grids was set at the beginning of the calculations and then kept fixed. The propGrid can be either regular or adaptive; two modes of adaptive grids were tested. The accuracy and calculation speed for different propGrids was analysed. Photon interaction with matter was handled using the Lucy’s macroatom approach. Test calculations using our code were compared with the results obtained by a different Monte Carlo radiative transfer code. Results. Our method and the related code for the 3 D radiative transfer using the Monte Carlo and macroatom methods offer an accurate and reliable solution for the radiative transfer problem, and are especially promising for the inclusion and treatment of 3 D inhomogeneities.

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.