[mesa-users] plot in Timmes' lecture
Francis Timmes
fxt44 at mac.com
Thu May 21 01:22:51 EDT 2015
the existing “power" single panel profile might be what you want for a “burn rate” plot:
http://mesa.sourceforge.net/pgstar.html
going beyond the current plot types requires coding.
on the other hand, there are several external visualization utilities
that are flexible in terms of generating plots:
http://mesastar.org/tools-utilities
fxt
> On May 20, 2015, at 9:31 PM, Nguyễn Kim Ngân <silvernkn at gmail.com> wrote:
>
> I am running this model with version 7385. There are some problems about matching files (it may be caused by the different versions), but I have fixed them and it run smoothly except for the Kipp plot.
>
> In terms of pgstar, can I make different plots which does not exist in pgstar.default file, for example, a plot of burn rate and mass?
>
>
> 2015-05-21 11:22 GMT+07:00 Francis Timmes <fxt44 at mac.com>:
> ok, good. so its working at a base level.
>
> rob & chris have already pointed to the most likely culprits,
> so i don’t know exactly without trying to run it myself.
> its possible a .mod file built from version 6794 may have
> some troubles with the version you happen to be running, 7503?
>
> on the positive side, the tutorial has hopefully done its primary duty;
> showing how to build a customized pgstar dashboard for whatever problem
> one is doing.
>
> fxt
>
>
>
> > On May 20, 2015, at 8:34 PM, Nguyễn Kim Ngân <silvernkn at gmail.com> wrote:
> >
> > Dear Timmes,
> >
> > the other plots are good apart from the Kipp diagram.
> >
> >
> > 2015-05-21 10:29 GMT+07:00 Francis Timmes <fxt44 at mac.com>:
> > can you plot anything else given in the tutorial,
> > like the abundances as a function of mass?
> >
> > fxt
> >
> >
> >
> >
> > > On May 20, 2015, at 8:24 PM, Nguyễn Kim Ngân <silvernkn at gmail.com> wrote:
> > >
> > > Hi Chris,
> > >
> > > I checked those commands, they are all exist in history_columns.list but the Kippenhahn diagram still does not work. Moreover, I copied those files from e-lectures of Timmes on Internet, so I think they are ok.
> > >
> > > Can I plot different diagrams which do not exist in pgstar.defaults file, for example, a plot of burn rate and mass? and how to do this?
> > >
> > > Kim Ngan.
> > >
> > > 2015-05-15 0:08 GMT+07:00 Chris Mankovich <cmankovich at ucsc.edu>:
> > > Hi Kim Ngan,
> > >
> > > Another guess: for basic functionality, the Kippenhahn window needs to at least find "mixing_regions" columns in your history.data file. See these comments from pgstar.defaults for the Kippenhahn window:
> > >
> > > !# "Kippenhahn" window
> > > ! history of convection and more.
> > > ! your history_columns.list needs to include
> > > ! star_mass
> > > ! mixing_regions 40 -- 40 can be changed if you wish
> > > ! burning_regions 80 -- 80 can be changed if you wish
> > > ! and if you have set M_center > 0, then also include
> > > ! log_xmstar
> > > ! if you want to show luminosities, include some or all of
> > > ! log_L, log_Lneu, log_LH, log_LHe
> > > ! if you want to show mass boundaries, then include some or all of
> > > ! he_core_mass, c_core_mass, o_core_mass, si_core_mass, fe_core_mass
> > >
> > > If you have a history_columns.list file in your local work directory, you can add the necessary line or lines. If you don't have a local history_columns.list, first copy the default version from mesa/star/defaults.
> > >
> > >
> > > Chris
> > >
> > > On Wed, May 13, 2015 at 9:16 PM, Nguyễn Kim Ngân <silvernkn at gmail.com> wrote:
> > > Hi,
> > > Unfortunately, there is no change with the plot.
> > > I set the default values but the plot seems not to work.
> > >
> > > Kim Ngan.
> > >
> > >
> > > 2015-05-14 10:58 GMT+07:00 Robert FARMER <rjfarmer at asu.edu>:
> > > Hi
> > > Delete these lines:
> > > Kipp_xmax = 4000 ! maximum step number. negative means use default.
> > > Kipp_xmin = 3400
> > >
> > > Currently is trying to plot models 3400 to 4000 and presumably your model hasn't gotten that far. Deleting them will reset the limits so it should then work.
> > >
> > > Rob
> > >
> > > On Wed, May 13, 2015 at 8:54 PM, Nguyễn Kim Ngân <silvernkn at gmail.com> wrote:
> > > Hi Chris,
> > >
> > > I attach screen shot and inlist_pgstar that I used for this plot.
> > > All commands were copied from the .txt file provided. Other plots were good except for the first one (the Kippenhahn diagram).
> > >
> > > Can you explain more about this?
> > > Thanks.
> > > Kim Ngan.
> > >
> > >
> > > 2015-05-14 9:56 GMT+07:00 Chris Mankovich <cmankovich at ucsc.edu>:
> > > Hi Kim Ngan,
> > >
> > > It looks like your screenshot didn't make it through. Getting a pgstar plot with reasonable axes but nothing plotted might be a symptom of static axis limits that preclude the actual data being plotted, but that's just a guess. We need more information to figure it out -- your pgstar namelist would be a good start.
> > >
> > >
> > > Chris
> > >
> > > On Wed, May 13, 2015 at 7:15 PM, Nguyễn Kim Ngân <silvernkn at gmail.com> wrote:
> > > Hi,
> > >
> > > I try to run a model in Timmes' lectures about pgstar.
> > > But when I copied plot commands from the file he provided, the on-screen plot did not work.
> > > The axis appeared on screen but no line or graph as described (a screenshot picture is attached)
> > > Can anyone explain for me and how to fix it?
> > >
> > > Thanks.
> > > Kim Ngan
> > >
> > > --
>
>
>
>
> --
> [N][K][N]
More information about the Mesa-users
mailing list