[mesa-users] gradT

Bill Paxton paxton at kitp.ucsb.edu
Sat May 17 12:10:16 EDT 2014


The context of the lines you sent is important -- 


      ! mlt results related to gradT are evaluated at each iteration and at end of step
         real(dp), pointer :: gradT_sub_grada(:) ! difference at cell boundary
         real(dp), pointer :: grada_at_face(:) ! grada evaluated at cell boundary
         
         real(dp), pointer :: actual_gradT(:) ! actual dlnT/dlnP (at boundary)
            ! (dT/T_face)/(dP/P_face) with face values intepolated by mass
         
         real(dp), pointer :: gradT(:) ! dlnT/dlnP (at boundary)


the lines you quote are part of the section on results from the mlt.   gradT is one of the mlt results.  it is the computed "correct" value that the model should achieve for dlnT/dlnP.    the "actual_gradT" is the value of dlnT/dlnP the model actually has.   they should be very close, but they won't be identical since the actual value is the outcome of the solver's attempt to satisfy 1000's of nasty nonlinear equations simultaneously.








On May 17, 2014, at 1:40 AM, Ehsan Moravveji wrote:

> Hello all,
>> From within /star/public/star_data.inc, I read:
> 
>      real(dp), pointer :: actual_gradT(:) ! actual dlnT/dlnP (at boundary)
>         ! (dT/T_face)/(dP/P_face) with face values intepolated by mass
>      real(dp), pointer :: gradT(:) ! dlnT/dlnP (at boundary)
> 
> I would like to know the difference between the two, and why do we have two such temperature gradients. 
> 
> Best regards
> Ehsan.
> 
> 
> ------------------------------------------------------------------------------
> "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
> Instantly run your Selenium tests across 300+ browser/OS combos.
> Get unparalleled scalability from the best Selenium testing platform available
> Simple to use. Nothing to install. Get started now for free."
> http://p.sf.net/sfu/SauceLabs
> _______________________________________________
> 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