Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
examples_aswns [2022/08/16 13:11] theoastro [Model Parameters] |
examples_aswns [2022/08/16 20:54] (current) theoastro |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Examples ===== | ====== Examples ===== | ||
- | ==== Computing stars at the Kepler limit ==== | + | * [[examples_aswns_nonbaro|Computing |
+ | * This test follows | ||
- | This test follows the computation performed in [[https:// | + | * [[examples_aswns_kepler|Computing stars at the Kepler limit]] |
- | + | * This test follows the computation performed in [[https:// | |
- | ==== Model Parameters ==== | + | |
- | + | ||
- | === Theoretical Background === | + | |
- | + | ||
- | For a careful theoretical understanding, | + | |
- | + | ||
- | {{ASWNS_EOS_1.png|EOS1}} | + | |
- | + | ||
- | with the thermal barotropic law (Eq. 45 of [[https:// | + | |
- | + | ||
- | {{ASWNS_EOS_2.png|EOS2}} | + | |
- | + | ||
- | and the rotational barotropic law (Eq. 24 of [[https:// | + | |
- | + | ||
- | {{ASWNS_EOS_3.png|EOS3}} | + | |
- | + | ||
- | with (Eq. 38 of [[https:// | + | |
- | + | ||
- | {{ASWNS_EOS_4.png|EOS4}} | + | |
- | + | ||
- | === Changing the cide input === | + | |
- | + | ||
- | + | ||
- | !> wether to print on screen a brief summary of the results or not | + | |
- | | + | |
- | !> starting density of the Keplerian the curve | + | |
- | | + | |
- | !> final density of the Keplerian the curve | + | |
- | | + | |
- | !> file where to print the Keplerian curve | + | |
- | | + | |
- | + | ||
- | ! ******************** ! | + | |
- | ! *** EOS SETTINGS *** ! | + | |
- | ! ******************** ! | + | |
- | + | ||
- | !> EOS exponent of the cold component | + | |
- | | + | |
- | !> EOS proportionality constant of the cold component | + | |
- | | + | |
- | + | ||
- | ! ********************** ! | + | |
- | ! *** MODEL SETTINGS *** ! | + | |
- | ! ********************** ! | + | |
- | + | ||
- | !> angular velocity in the center (will be set in the main) | + | |
- | | + | |
- | !> central rest mass density (will be set in the main) | + | |
- | | + | |
- | + | ||
- | ! ********************** ! | + | |
- | ! *** OTHER SETTINGS *** ! | + | |
- | ! ********************** ! | + | |
- | + | ||
- | !> relaxation iterations in the force balance equation (Euler) solver | + | |
- | !! @details used in subroutine @ref solve_euler, | + | |
- | | + | |
- | + | ||
- | + | ||
- | === A first Test === | + | |
- | + | ||
- | After following the outlined [[installation_ASWNS|installation guide]], you can run a first test configuration | + | |
- | ./ | + | |
- | + | ||
- | This will prompt an output in which you see the computation of a sequence of TOV stars, e.g., | + | |
- | TOV: cycle= | + | |
- | TOV: cycle= | + | |
- | TOV: cycle= | + | |
- | TOV: cycle= | + | |
- | ... | + | |
- | + | ||
- | followed by the computation of the rotating configuration | + | |
- | > | + | |
- | > | + | |
- | > | + | |
- | > | + | |
- | ... | + | |
- | + | ||
- | Once in a while, when the required tolerance is met, you see the final output: | + | |
- | ## find_kep: iteration= | + | |
- | | + | |
- | rest mass = 2.2703990441460347 | + | |
- | total entropy | + | |
- | | + | |
- | | + | |
- | radii ratio = | + | |
- | | + | |
- | | + | |
- | disk mass = 0.0000000000000000 | + | |
- | | + | |
- | axial Omega = 1.0000000000000000E-002 | + | |
- | error flag | + | |
- | + | ||
- | This was simply the first step of the iteration and you see that the code is continuously increasing the mass and tries to find the maximum mass that you can reach at the Kepler limit. For this dummy example, you should arrive at: | + | |
- | + | ||
- | + | ||
- | This computation can take a while (if you don't change the input parameters), | + | |
Last modified: le 2022/08/16 13:11