From: Michael Z. <mic...@st...> - 2017-03-15 12:58:57
|
Hi, this isn't MESA-specific, but we've written some python routines to interface with the reaclib rates and allow you to explore this (I think MESA uses some of these same rates). Basically, you feed it a set of rates and it constructs a network and then in a Jupyter notebook, you can visualize it to show the flow and allow you to vary the temperature / density with sliders to see how rates change with conditions. It is still a bit rough around the edges, and quite new, so things could break, but the code is here: https://github.com/pyreaclib/pyreaclib and a sample notebook that allows for the interactive exploration of rates is here: https://github.com/pyreaclib/pyreaclib/blob/development/examples/interactive-example.ipynb (in the live notebook version, there will be a temperature and density slider to allow you to change the conditions). Note, this functionality is only available on the 'development' branch, so you'll need to work there if you want to play. This notebook describes some of the data structures; https://github.com/pyreaclib/pyreaclib/blob/development/examples/pyreaclib-examples.ipynb On Tue, Mar 14, 2017 at 11:20 PM, ertaoLee <ert...@gm...> wrote: > Dear MESA users, > > I am trying to find out which reactions are more important than others. > So, I need to calculate the reaction forward and reverse flows for each > reaction and draw a flow diagram. > > How do I do that? > > Thanks in advance for any help that you can offer! > > > ------------------------------ > Er-Tao Li(李二涛) > Institute of Nuclear Technology,College of Physics & Energy, Shenzhen > University > Nanhai Ave 3688, Shenzhen, Guangdong, P.R.China, 518060 > Tel: 86-755-26536232. Fax: 86-755-26534374 > > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > mesa-users mailing list > mes...@li... > https://lists.sourceforge.net/lists/listinfo/mesa-users > > -- Michael Zingale Associate Professor Dept. of Physics & Astronomy • Stony Brook University • Stony Brook, NY 11794-3800 *phone*: 631-632-8225 *e-mail*: Mic...@st... *web*: http://www.astro.sunysb.edu/mzingale github: http://github.com/zingale |