You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adapted from suggestion by @BucheleL in issue #425. Also includes a useful pgstar setup for looking at details of convection and gradients, based on @annethoul and Morgan Chidester's 2022 MESA Summer School lab.
Copy file name to clipboardExpand all lines: docs/source/test_suite.rst
+91-75Lines changed: 91 additions & 75 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -186,6 +186,13 @@ This test suite example checks the accretion of material and angular momentum on
186
186
187
187
This test suite example checks the functionality of the adaptive nuclear reaction network.
188
188
189
+
:ref:`c13_pocket`
190
+
^^^^^^^^^^^^^^^^^
191
+
192
+
This test evolves a 2.0 |Msun| star through one thermal pulse on the
193
+
asymptotic giant branch (AGB) and illustrates third dredge up and the
194
+
formation of a :math:`^{13}{\rm C}` pocket.
195
+
189
196
190
197
:ref:`carbon_kh`
191
198
^^^^^^^^^^^^^^^^
@@ -214,13 +221,30 @@ This test checks that the atmosphere structure written to the
214
221
pulsation output closely matches what is expected for the
215
222
:math:`T(\tau)` relation specified by ``atm_T_tau_relation``.
216
223
224
+
225
+
:ref:`conductive_flame`
226
+
^^^^^^^^^^^^^^^^^^^^^^^
227
+
228
+
This test case models a conductively-propagated deflagration wave
229
+
("flame") in a high-density, degenerate carbon-oxygen mixture. It
230
+
also provides an example for use of the ``other_build_initial_model``
231
+
and ``other_surface_PT`` hooks.
232
+
217
233
218
234
:ref:`conserve_angular_momentum`
219
235
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
220
236
221
237
This test suite example checks angular momentum conservation from the zero age main-sequence to the formation of a helium core in 1.0 Msun, Z=0.02 metallicity, model.
222
238
223
239
240
+
:ref:`conv_core_cpm`
241
+
^^^^^^^^^^^^^^^^^^^^
242
+
243
+
This test case evolves a 1.5 |Msun| star part of the way through
244
+
the main sequence with CPM enabled and checks that its convective
245
+
core has grown to an appropriate mass coordinate.
246
+
247
+
224
248
:ref:`custom_colors`
225
249
^^^^^^^^^^^^^^^^^^^^
226
250
@@ -276,6 +300,12 @@ a slowly pulsating B-type star (SPB) stellar model.
276
300
277
301
This test case checks the implementation of GYRE in MESA for a cooling 0.85 Msun white dwarf model.
278
302
303
+
:ref:`hb_2M`
304
+
^^^^^^^^^^^^
305
+
306
+
This test case shows a 2 |Msun| stellar model evolving
307
+
on the horizontal branch (HB) through core helium burning.
308
+
279
309
:ref:`high_mass`
280
310
^^^^^^^^^^^^^^^^
281
311
@@ -306,12 +336,29 @@ This test case checks the evolution of an ~1 Mjup model after the surface has be
306
336
307
337
This test case checks the evolutions of a 0.8 Msun, Z=1e-4 metallicity model from the pre-main sequence to core hydrogen depletion.
308
338
339
+
340
+
:ref:`magnetic_braking`
341
+
^^^^^^^^^^^^^^^^^^^^^^^
342
+
343
+
This test case involves the calculation of the spin down caused by a
344
+
large-scale magnetic field in a massive star model.
345
+
346
+
309
347
:ref:`make_brown_dwarf`
310
348
^^^^^^^^^^^^^^^^^^^^^^^
311
349
312
350
This test case checks the creation of a 1.05 Mjup, Z=1e-4 metallicity model and its subsequent evolution for 20 billion years.
313
351
314
352
353
+
:ref:`make_co_wd`
354
+
^^^^^^^^^^^^^^^^^
355
+
356
+
This test case produces a 0.6 |Msun| white dwarf with a carbon-oxygen
357
+
dominated core and a stratified atmosphere dominated by hydrogen at
358
+
its surface. The final model produced by this test case also serves as
359
+
the starting model for :ref:`wd_diffusion` and :ref:`wd_cool_0.6M`.
360
+
361
+
315
362
:ref:`make_env`
316
363
^^^^^^^^^^^^^^^
317
364
@@ -381,11 +428,30 @@ This test case shows an example of a carbon flash within a neutron star envelope
381
428
This test case exercises several of the ``other_*`` physics hooks simultaneously in a 1 Msun, Z=0.02 metallicity, model.
382
429
It provides an example of how to include your own physics code into a MESA run.
383
430
431
+
384
432
:ref:`pisn`
385
433
^^^^^^^^^^^^^^^^^^^^^^
386
434
387
435
This test case evolves an initialy 200 |Msun| star from ZAMS untill it undergoes a pair instability supernovae (PISN).
388
436
437
+
438
+
:ref:`ppisn`
439
+
^^^^^^^^^^^^
440
+
441
+
This test case shows an example of a star undergoing a pulsational
442
+
pair-instability supernova. The model starts from a massive helium
443
+
star, and includes switches from hydrostatic to hydrodynamic models,
444
+
as well as the removal of ejected layers.
445
+
446
+
447
+
:ref:`R_CrB_star`
448
+
^^^^^^^^^^^^^^^^^
449
+
450
+
This test case creates and evolves a simple model of an R Corona
451
+
Borealis star and provides an example of how to use AESOPUS opacity
452
+
tables in MESA.
453
+
454
+
389
455
:ref:`radiative_levitation`
390
456
^^^^^^^^^^^^^^^^^^^^^^^^^^^
391
457
@@ -467,6 +533,16 @@ This test case exercises the simplex framework with a check of the chi^2 value f
467
533
468
534
This test case tests MESA's ability to perfom a split-burn calculation in a 25 |Msun| star during silicon burning.
469
535
536
+
537
+
:ref:`T_tau_gradr`
538
+
^^^^^^^^^^^^^^^^^^
539
+
540
+
This test checks the implementation of the control
541
+
``use_T_tau_gradr_factor``, which modifies the radiative gradient so
542
+
that regions of low optical depth have a temperature that follows the
543
+
:math:`T(\tau)` relation specified by ``atm_T_tau_relation``.
544
+
545
+
470
546
:ref:`test_memory`
471
547
^^^^^^^^^^^^^^^^^^
472
548
@@ -491,6 +567,21 @@ The test vehicle is a pair of 15 Msun, Z=0.02 metallicity, models one with overs
491
567
492
568
This test case creates a Thorne-Zytkow object (TZO) and evolves until the NS has accreted a small amount of material.
493
569
570
+
:ref:`wd_acc_small_dm`
571
+
^^^^^^^^^^^^^^^^^^^^^^
572
+
573
+
This test case models an accreting CO white dwarf (WD) and checks that
574
+
the composition of the accreted material is being correctly tracked.
575
+
576
+
:ref:`wd_aic`
577
+
^^^^^^^^^^^^^
578
+
579
+
This test case shows an accreting ONeMg white dwarf (WD) evolving
580
+
towards accretion induced collapse (AIC). It also illustrates use of
581
+
the special weak rate implementation described in Section 8 of |MESA
582
+
III|.
583
+
584
+
494
585
:ref:`wd_c_core_ignition`
495
586
^^^^^^^^^^^^^^^^^^^^^^^^^
496
587
@@ -522,81 +613,6 @@ This test case checks the evolution of a nova outburst for one cycle.
522
613
This test case checks the evolution stable hydrogen burning on a white dwarf.
523
614
524
615
525
-
:ref:`c13_pocket`
526
-
^^^^^^^^^^^^^^^^^
527
-
528
-
This test evolves a 2.0 |Msun| star through one thermal pulse on the
529
-
asymptotic giant branch (AGB) and illustrates third dredge up and the
530
-
formation of a :math:`^{13}{\rm C}` pocket.
531
-
532
-
533
-
:ref:`conductive_flame`
534
-
^^^^^^^^^^^^^^^^^^^^^^^
535
-
536
-
This test case models a conductively-propagated deflagration wave
537
-
("flame") in a high-density, degenerate carbon-oxygen mixture. It
538
-
also provides an example for use of the ``other_build_initial_model``
539
-
and ``other_surface_PT`` hooks.
540
-
541
-
542
-
:ref:`hb_2M`
543
-
^^^^^^^^^^^^
544
-
545
-
This test case shows a 2 |Msun| stellar model evolving
546
-
on the horizontal branch (HB) through core helium burning.
547
-
548
-
:ref:`make_co_wd`
549
-
^^^^^^^^^^^^^^^^^
550
-
551
-
This test case produces a 0.6 |Msun| white dwarf with a carbon-oxygen
552
-
dominated core and a stratified atmosphere dominated by hydrogen at
553
-
its surface. The final model produced by this test case also serves as
554
-
the starting model for :ref:`wd_diffusion` and :ref:`wd_cool_0.6M`.
555
-
556
-
:ref:`magnetic_braking`
557
-
^^^^^^^^^^^^^^^^^^^^^^^
558
-
559
-
This test case involves the calculation of the spin down caused by a
560
-
large-scale magnetic field in a massive star model.
561
-
562
-
563
-
:ref:`ppisn`
564
-
^^^^^^^^^^^^
565
-
566
-
This test case shows an example of a star undergoing a pulsational
567
-
pair-instability supernova. The model starts from a massive helium
568
-
star, and includes switches from hydrostatic to hydrodynamic models,
569
-
as well as the removal of ejected layers.
570
-
571
-
:ref:`R_CrB_star`
572
-
^^^^^^^^^^^^^^^^^
573
-
574
-
This test case creates and evolves a simple model of an R Corona
575
-
Borealis star and provides an example of how to use AESOPUS opacity
576
-
tables in MESA.
577
-
578
-
:ref:`T_tau_gradr`
579
-
^^^^^^^^^^^^^^^^^^
580
-
581
-
This test checks the implementation of the control
582
-
``use_T_tau_gradr_factor``, which modifies the radiative gradient so
583
-
that regions of low optical depth have a temperature that follows the
584
-
:math:`T(\tau)` relation specified by ``atm_T_tau_relation``.
585
-
586
-
:ref:`wd_acc_small_dm`
587
-
^^^^^^^^^^^^^^^^^^^^^^
588
-
589
-
This test case models an accreting CO white dwarf (WD) and checks that
590
-
the composition of the accreted material is being correctly tracked.
591
-
592
-
:ref:`wd_aic`
593
-
^^^^^^^^^^^^^
594
-
595
-
This test case shows an accreting ONeMg white dwarf (WD) evolving
596
-
towards accretion induced collapse (AIC). It also illustrates use of
597
-
the special weak rate implementation described in Section 8 of |MESA
0 commit comments