[Mesa-users] Modifying Time Steps for WD Diffusion

Morgan Taylor taylormorgan32 at gmail.com
Thu May 5 17:06:56 UTC 2022


Hi Tyler,

Below are the controls I used in my inlist, with the mesa_30.net:

! element diffusion





      do_element_diffusion = .true.


      diffusion_use_isolve = .true.


      diffusion_use_full_net = .false.





      diffusion_num_classes = 8


      diffusion_class_representative(1) = 'h1'


      diffusion_class_representative(2) = 'he4'


      diffusion_class_representative(3) = 'c12'


      diffusion_class_representative(4) = 'n14'


      diffusion_class_representative(5) = 'o16'


      diffusion_class_representative(6) = 'ne20'


      diffusion_class_representative(7) = 'ne22'


      diffusion_class_representative(8) = 'fe56'


      diffusion_class_A_max(1)  = 2


      diffusion_class_A_max(2)  = 4


      diffusion_class_A_max(3)  = 12


      diffusion_class_A_max(4)  = 14


      diffusion_class_A_max(5)  = 16


      diffusion_class_A_max(6)  = 20


      diffusion_class_A_max(7)  = 22


      diffusion_class_A_max(8) = 10000


      diffusion_class_factor(1)  = 1.0d0


      diffusion_class_factor(2)  = 1.0d0


      diffusion_class_factor(3)  = 1.0d0


      diffusion_class_factor(4)  = 1.0d0


      diffusion_class_factor(5)  = 1.0d0


      diffusion_class_factor(6)  = 1.0d0


      diffusion_class_factor(7)  = 1.0d0


      diffusion_class_factor(8)  = 1.0d0

Note that I shut all nuclear reactions off (no burning).  You can do that
with the following controls:

  ! turn off burning


    eps_nuc_factor = 0


    dxdt_nuc_factor = 0


Hope this helps.  If you have any further questions let me know!

Morgan

On Wed, May 4, 2022 at 4:22 PM TYLER THOMAS FREDRICK <tfredrick at wisc.edu>
wrote:

> Hi Morgan,
>
> Could you send me those controls? I didn't think about using them outside
> of the diffusion test itself. I would like to play around with them, if
> possible.
>
> -Tyler
>
> Get Outlook for Android <https://aka.ms/AAb9ysg>
> ------------------------------
> *From:* Morgan Taylor <taylormorgan32 at gmail.com>
> *Sent:* Wednesday, May 4, 2022 5:30:53 PM
> *To:* TYLER THOMAS FREDRICK <tfredrick at wisc.edu>
> *Cc:* mesa-users <mesa-users at lists.mesastar.org>
> *Subject:* Re: [Mesa-users] Modifying Time Steps for WD Diffusion
>
> Hi Tyler,
>
> Have you tried using diffusion in your wd_builder work directory, so not
> in the diffusion test case?  I haven't tried the diffusion case before but
> I turned on diffusion with wd_builder and it worked ok for me (no crazy
> timesteps).  I can send the diffusion controls I used if you're interested.
> Then you can modify them according to the network you're using.
>
> Morgan
>
> On Wed, May 4, 2022 at 5:25 AM TYLER THOMAS FREDRICK via Mesa-users <
> mesa-users at lists.mesastar.org> wrote:
>
> Good morning all,
>
> I an currently running mesa-r15140 with some wd models in the diffusion
> test case. I’ve noticed that the time step is a little too small for what I
> would like to run, and it takes a long time to reach the termination
> condition. I would like to increase the time step to shorten this process,
> but everything I’ve tried so far has not changed anything.
>
> I’ve tried using force_timestep_min to force larger steps, but it did not
> work. I also tried messing with the following lines:
>
> ! Timestep controls to prevent steps that are difficult for diffusion.
> diffusion_steps_limit = 10
> diffusion_steps_hard_limit = 50
> diffusion_iters_limit = 50
> diffusion_iters_hard_limit = 100
>
> ! Solver controls.
> ! diffusion_use_isolve = .true.
> ! diffusion_rtol_for_isolve = 1d-4
> ! diffusion_atol_for_isolve = 1d-5
> ! diffusion_maxsteps_for_isolve = 1000
> ! diffusion_isolve_solver = 'ros2_solver'
>
> I’ve tried adjusting the values above, as well as un-commenting the solver
> controls. Neither did anything as well. If you have worked with the
> diffusion case I know how to adjust the time steps, any help would be
> greatly appreciated. Thank you!
>
> V/R,
>
> Tyler
> _______________________________________________
> 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/20220505/7f9efafb/attachment.htm>


More information about the Mesa-users mailing list