[mesa-users] Small bug in the one zone burner?

Francis Timmes fxt44 at mac.com
Sat Jul 11 10:44:11 EDT 2015


i’ll take a look.

fxt


> On Jul 10, 2015, at 5:05 PM, Ken Shen <kenshen at astro.berkeley.edu> wrote:
> 
> Hi all, I think I've found a minor bug in the one zone burner that makes up the net test directory.  I don't think it concerns the vast majority of you...
> 
> In mod_one_zone_burn.f, the subroutine burn_solout1 prints out some stuff to look at while the one zone burn is going.  It uses the mass fraction array "x" and computes things like composition info, eos calls, etc.  However, when called by burn_finish_substep, I think burn_solout1 is actually getting passed a number abundance array "y" (as in x_i = y_i*A_i, where A is the molecular weight).  That's because burn_finish_substep is called by net_1_zone_burn and burn_1_zone via burner_finish_substep, and that interface asks for "y", not "x".
> 
> When I sum "x" from within burn_solout1, I definitely don't get 1.  And the abundances all seem to be the number abundances, as far as I can tell.
> 
> Also, I don't think this problem exists with the constant pressure burn flag on because that burner passes along "x", not "y".
> 
> Anyone want to verify?
> 
> 
> Thanks,
> Ken
> ------------------------------------------------------------------------------
> Don't Limit Your Business. Reach for the Cloud.
> GigeNET's Cloud Solutions provide you with the tools and support that
> you need to offload your IT needs and focus on growing your business.
> Configured For All Businesses. Start Your Cloud Today.
> https://www.gigenetcloud.com/_______________________________________________
> mesa-users mailing list
> mesa-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mesa-users





More information about the Mesa-users mailing list