[Mesa-users] How to extract values
harish sorrout
harishsorrout at gmail.com
Tue Jul 12 16:46:44 UTC 2022
Thanks sir, I try to find out *burn_c* parameter which is given in profile
column list. I want
T = Cp * T / burn_c ; where burn_c is the energy generated due to carbon
burning ( erg/g/s )
To get these variables, Cp = s%cp , T= s% T. But burn_c is not member of
star family. So I cannot use s%burn_c. As you suggested to use function
star_get_profile_output() to extract profile variables.
Sir, sorry for sillyness but I don't know how to use this function.
Although I tried.
Sir can you please tell me this by giving one example.
I will be thankful to you.
With regards
Harish Kumar
On Sun, 10 Jul 2022, 18:53 Rob Farmer, <robert.j.farmer37 at gmail.com> wrote:
> Hi,
>
> There is the function star_get_profile_output() in star_lib that can be
> used to get any profile output (and star_get_history_output() for history
> output)
>
> Rob
>
> On Sun, 10 Jul 2022 at 12:28, harish sorrout via Mesa-users <
> mesa-users at lists.mesastar.org> wrote:
>
>> Respected mesa users,
>>
>> I am trying to see the accretion effect on CO white dwarfs by using MESA
>> version: 12778. And
>> I want to calculate nuclear burning time scale only from carbon burning
>> where t_b = Cp T / q , where Cp: specific heat, T: temperature and q:
>> burning rates in run_star_extras.f. To get burning time scale, I need
>> three variables from which two I have extract using star pointer s% Cp, s%
>> T. But I don't know how to extract third variable that is nuclear burning
>> rates ( burn_c and c12_c12 which are available in profile column list) due
>> to carbon burning.
>> Please advise me how can extract.
>>
>> I will be thankful to you
>>
>> With regards
>>
>> Harish Kumar
>>
>>
>>
>> _______________________________________________
>> 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/20220712/af752f36/attachment.htm>
More information about the Mesa-users
mailing list