[Mesa-users] Adding a new particle species
Jeremy Sakstein
sakstein at sas.upenn.edu
Mon Aug 19 17:11:18 EDT 2019
So looking at this, I am not sure that the nets are exactly what I am
looking for.
Essentially, I would like to add a reaction where a photon combines with an
electron to produce a heavy species (this would only happen at super-high
temperatures of course) and then the heavy species remains in the core and
contributes to the gravity but not the pressure i.e. there is no need to
include it in the rates. The nearest thing to this I think is pair
production but I can't seem to find where this is implemented. One idea I
had was to use other neutrinos but I think this would not give me what I am
looking for.
Do you have any suggestions?
Cheers,
Jeremy
On Mon, Aug 19, 2019 at 2:35 PM Jeremy Sakstein <sakstein at sas.upenn.edu>
wrote:
> Thanks Amber!
>
> I will take a look at what you suggest.
>
> Cheers,
>
> Jeremy
>
> On Mon, Aug 19, 2019 at 2:12 PM amber lauer <amberlauer at gmail.com> wrote:
>
>> Hi Jeremy, it's actually pretty easy.
>>
>> Look in your inlist star_job section and note the name of the network.
>>
>> The default version of this file is located in
>> $MESA_DIR/data/net_data/nets/ .
>>
>> Copy this file to your model folder. Then open it with a text editor.
>> Unless you are using one of the hard coded nets (approx21*) you will see
>> the format is pretty easy to understand, there will be either:
>>
>> add_isos_and_reactions()
>>
>> or
>>
>> add_isos()
>>
>> add_reactions()
>>
>> (and possibly remove_reactions())
>>
>> I think the format is pretty self explanatory. If you use
>> add_isos_and_reactions, you need only list the isos and the code will add
>> all reactions connecting them. The alternative is to do it by hand using
>> add_isos and add_reactions separately. But if you get stuck come back to
>> the list and we can help.
>>
>> Just a note, whatever your network name, MESA will look in your local
>> model folder for the file first. I recommend changing the name to something
>> verbose (and changing the value in the inlist).
>>
>> Good luck!
>>
>> =================================
>> Dr. Amber Lauer
>> Postdoctoral Researcher
>> Triangle Universities Nuclear Lab
>> Duke University
>> amber.lauer at tunl.duke.edu <amber.lauer at duke.edu>
>>
>>
>> On Mon, Aug 19, 2019 at 10:48 AM Jeremy Sakstein <sakstein at sas.upenn.edu>
>> wrote:
>>
>>> Hi Everyone,
>>>
>>> I would like to add a new particle species (with associated reactions)
>>> so that it contributes to the EOS and the density.
>>>
>>> How do I go about doing this? Is there a hook?
>>>
>>> Cheers,
>>>
>>> Jeremy
>>> _______________________________________________
>>> mesa-users at lists.mesastar.org
>>> https://lists.mesastar.org/mailman/listinfo/mesa-users
>>>
>>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20190819/fa829c85/attachment.html>
More information about the Mesa-users
mailing list