[Mesa-users] Heavy element profile
Evan Bauer
ebauer at physics.ucsb.edu
Mon Jan 14 16:06:31 EST 2019
Hi Claudio,
I think I understand now. You’re right that the accretion controls are for adding material at the surface of the star. If you want to specify another location to add metals, the easiest way I can think of is to use run_star_extras in almost the same way that you already tried. Just look into manipulating s%xa rather than s%Z so that you can actually change the composition of the star. This will give you control over the mass fraction of each element in the net for your model.
Cheers,
Evan
> On Jan 13, 2019, at 2:32 AM, valletta <valletta at physik.uzh.ch> wrote:
>
> Thank you both for your answers.
> In my simulation, the heavy elements are accreted in the form of big and compact objects (planetesimal) that deposit their mass falling towards the planet's core through ablation due to the gas drag of the envelope's gas. As a result, I need to specify where the high-Z material is accreted, while, if I remember correctly, with the accretion implemented in Mesa the mass is accreted at the top of the envelope. Can I specify with the accretion control in which layer accrete the high-Z material? If not, what is the most straightforward way to do it?
>
> Thank you again,
> Claudio
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20190114/c22e25d4/attachment.html>
More information about the Mesa-users
mailing list