Microphysics icon indicating copy to clipboard operation
Microphysics copied to clipboard

allow for multiple networks

Open zingale opened this issue 6 years ago • 4 comments

It would be nice to have two different reaction networks built in and be able to chose which net we use in a zone based on thermodynamic conditions.

E.g., for a sub-Ch simulation, have a He burning net (like subch) and also a carbon-burning net, and use the He burning net in the He layer and the carbon burning once we ignite the core.

zingale avatar Apr 11 '18 23:04 zingale

An alternative is to employ a mask that determines which species of a network we are currently integrating.

maxpkatz avatar Apr 12 '18 14:04 maxpkatz

If we wanted to use the mask and also make it automated, perhaps we could specify some tolerance levels below which a given isotope is automatically not integrated (e.g. X < 1.0e-4).

maxpkatz avatar Apr 12 '18 15:04 maxpkatz

To do this we need to relax the requirement that unevolved species are ordered after evolved species and generalize the unevolved species update. We should also avoid evaluating rates that are only needed to evolve those species.

dwillcox avatar Oct 25 '18 21:10 dwillcox

We can more easily automate tracking the map between species and rates with pynucastro, for other networks we will need to construct such maps.

dwillcox avatar Oct 25 '18 21:10 dwillcox

I think that for now, the only way we are going to do this is with the tabular NSE solver.

zingale avatar Dec 10 '22 17:12 zingale