Skip to content

Commit cd88f0f

Browse files
authored
Merge pull request #1390 from TeamCOMPAS/tides_updates
Tides updates
2 parents fccdf41 + 6b8d93d commit cd88f0f

File tree

15 files changed

+384
-160
lines changed

15 files changed

+384
-160
lines changed

compas_python_utils/preprocessing/compasConfigDefault.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
##~!!~## COMPAS option values
2-
##~!!~## File Created Thu May 22 20:41:26 2025 by COMPAS v03.19.00
2+
##~!!~## File Created Sun May 25 00:33:11 2025 by COMPAS v03.20.00
33
##~!!~##
44
##~!!~## The default COMPAS YAML file (``compasConfigDefault.yaml``), as distributed, has
55
##~!!~## all COMPAS option entries commented so that the COMPAS default value for the
@@ -274,7 +274,7 @@ stringChoices:
274274
# --common-envelope-mass-accretion-prescription: 'ZERO' # Default: 'ZERO' # Options: ['CHEVALIER','MACLEOD','UNIFORM','CONSTANT','ZERO']
275275

276276
### TIDES
277-
# --tides-prescription: 'NONE' # Default: 'NONE' # Options: ['KAPIL2024','PERFECT','NONE']
277+
# --tides-prescription: 'NONE' # Default: 'NONE' # Options: ['KAPIL2025','PERFECT','NONE']
278278

279279
### SUPERNOVAE, KICKS AND REMNANTS
280280
# --black-hole-kicks-mode: 'FALLBACK' # Default: 'FALLBACK' # Options: ['FALLBACK','ZERO','REDUCED','FULL']

online-docs/pages/User guide/COMPAS output/standard-logfiles-record-specification-binary.rst

Lines changed: 117 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1818,16 +1818,32 @@ both. If both are printed then the file will contain two columns with the same h
18181818
:header-rows: 0
18191819
:class: aligned-text
18201820

1821-
* - :cspan:`2` **SYNCHRONIZATION_TIMESCALE**
1821+
* - :cspan:`2` **SYNCHRONIZATION_TIMESCALE_1**
18221822
-
18231823
* - Data type:
18241824
- DOUBLE
18251825
* - COMPAS variable:
1826-
- BaseBinaryStar::m_SynchronizationTimescale
1826+
- BaseBinaryStar::m_SynchronizationTimescale1
18271827
* - Description:
1828-
- Tidal synchronisation timescale (Myr).
1828+
- Tidal synchronisation timescale for the primary star (Myr).
18291829
* - Header String:
1830-
- Tau_Sync
1830+
- Tau_Sync(1)
1831+
1832+
.. flat-table::
1833+
:widths: 25 75 1 1
1834+
:header-rows: 0
1835+
:class: aligned-text
1836+
1837+
* - :cspan:`2` **SYNCHRONIZATION_TIMESCALE_2**
1838+
-
1839+
* - Data type:
1840+
- DOUBLE
1841+
* - COMPAS variable:
1842+
- BaseBinaryStar::m_SynchronizationTimescale2
1843+
* - Description:
1844+
- Tidal synchronisation timescale for the secondary star (Myr).
1845+
* - Header String:
1846+
- Tau_Sync(2)
18311847

18321848
.. flat-table::
18331849
:widths: 25 75 1 1
@@ -1897,6 +1913,103 @@ both. If both are printed then the file will contain two columns with the same h
18971913

18981914
:ref:`Back to Top <binary-props-top>`
18991915

1916+
.. flat-table::
1917+
:widths: 25 75 1 1
1918+
:header-rows: 0
1919+
:class: aligned-text
1920+
1921+
* - :cspan:`2` **TIDAL_POTENTIAL_LOVE_NUMBER_10_1, TIDAL_POTENTIAL_LOVE_NUMBER_12_1, TIDAL_POTENTIAL_LOVE_NUMBER_22_1, TIDAL_POTENTIAL_LOVE_NUMBER_32_1**
1922+
-
1923+
* - Data type:
1924+
- DOUBLE
1925+
* - COMPAS variable:
1926+
- `derived from` BaseStar::CalculateImKnmTidal()
1927+
* - Description:
1928+
- l=2 components of the tidal potential Love number for the primary star, indexed by (n,m).
1929+
* - Header String:
1930+
- ImKnm1_10, ImKnm1_12, ImKnm1_22, ImKnm1_32
1931+
1932+
.. flat-table::
1933+
:widths: 25 75 1 1
1934+
:header-rows: 0
1935+
:class: aligned-text
1936+
1937+
* - :cspan:`2` **TIDAL_POTENTIAL_LOVE_NUMBER_10_2, TIDAL_POTENTIAL_LOVE_NUMBER_12_2, TIDAL_POTENTIAL_LOVE_NUMBER_22_2, TIDAL_POTENTIAL_LOVE_NUMBER_32_2**
1938+
-
1939+
* - Data type:
1940+
- DOUBLE
1941+
* - COMPAS variable:
1942+
- `derived from` BaseStar::CalculateImKnmTidal()
1943+
* - Description:
1944+
- l=2 components of the tidal potential Love number for the secondary star, indexed by (n,m).
1945+
* - Header String:
1946+
- ImKnm2_10, ImKnm2_12, ImKnm2_22, ImKnm2_32
1947+
1948+
.. flat-table::
1949+
:widths: 25 75 1 1
1950+
:header-rows: 0
1951+
:class: aligned-text
1952+
1953+
* - :cspan:`2` **TIDAL_POTENTIAL_LOVE_NUMBER_10_EQ_1, TIDAL_POTENTIAL_LOVE_NUMBER_12_EQ_1, TIDAL_POTENTIAL_LOVE_NUMBER_22_EQ_1, TIDAL_POTENTIAL_LOVE_NUMBER_32_EQ_1**
1954+
-
1955+
* - Data type:
1956+
- DOUBLE
1957+
* - COMPAS variable:
1958+
- `derived from` BaseStar::CalculateImKnmEquilibrium()
1959+
* - Description:
1960+
- l=2 components of the equilibrium tidal potential Love number for the primary star, indexed by (n,m).
1961+
* - Header String:
1962+
- ImKnm1_10_eq, ImKnm1_12_eq, ImKnm1_22_eq, ImKnm1_32_eq
1963+
1964+
.. flat-table::
1965+
:widths: 25 75 1 1
1966+
:header-rows: 0
1967+
:class: aligned-text
1968+
1969+
* - :cspan:`2` **TIDAL_POTENTIAL_LOVE_NUMBER_10_EQ_2, TIDAL_POTENTIAL_LOVE_NUMBER_12_EQ_2, TIDAL_POTENTIAL_LOVE_NUMBER_22_EQ_2, TIDAL_POTENTIAL_LOVE_NUMBER_32_EQ_2**
1970+
-
1971+
* - Data type:
1972+
- DOUBLE
1973+
* - COMPAS variable:
1974+
- `derived from` BaseStar::CalculateImKnmEquilibrium()
1975+
* - Description:
1976+
- l=2 components of the equilibrium tidal potential Love number for the secondary star, indexed by (n,m).
1977+
* - Header String:
1978+
- ImKnm2_10_eq, ImKnm2_12_eq, ImKnm2_22_eq, ImKnm2_32_eq
1979+
1980+
.. flat-table::
1981+
:widths: 25 75 1 1
1982+
:header-rows: 0
1983+
:class: aligned-text
1984+
1985+
* - :cspan:`2` **TIDAL_POTENTIAL_LOVE_NUMBER_10_DYN_1, TIDAL_POTENTIAL_LOVE_NUMBER_12_DYN_1, TIDAL_POTENTIAL_LOVE_NUMBER_22_DYN_1, TIDAL_POTENTIAL_LOVE_NUMBER_32_DYN_1**
1986+
-
1987+
* - Data type:
1988+
- DOUBLE
1989+
* - COMPAS variable:
1990+
- `derived from` BaseStar::CalculateImKnmDynamical()
1991+
* - Description:
1992+
- l=2 components of the dynamical tidal potential Love number for the primary star, indexed by (n,m).
1993+
* - Header String:
1994+
- ImKnm1_10_dyn, ImKnm1_12_dyn, ImKnm1_22_dyn, ImKnm1_32_dyn
1995+
1996+
.. flat-table::
1997+
:widths: 25 75 1 1
1998+
:header-rows: 0
1999+
:class: aligned-text
2000+
2001+
* - :cspan:`2` **TIDAL_POTENTIAL_LOVE_NUMBER_10_DYN_2, TIDAL_POTENTIAL_LOVE_NUMBER_12_DYN_2, TIDAL_POTENTIAL_LOVE_NUMBER_22_DYN_2, TIDAL_POTENTIAL_LOVE_NUMBER_32_DYN_2**
2002+
-
2003+
* - Data type:
2004+
- DOUBLE
2005+
* - COMPAS variable:
2006+
- `derived from` BaseStar::CalculateImKnmDynamical()
2007+
* - Description:
2008+
- l=2 components of the dynamical tidal potential Love number for the secondary star, indexed by (n,m).
2009+
* - Header String:
2010+
- ImKnm2_10_dyn, ImKnm2_12_dyn, ImKnm2_22_dyn, ImKnm2_32_dyn
2011+
2012+
19002013
.. flat-table::
19012014
:widths: 25 75 1 1
19022015
:header-rows: 0

online-docs/pages/User guide/Program options/program-options-list-defaults.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1354,10 +1354,10 @@ A record is written to the System Snapshot logfile on the first timestep at whic
13541354

13551355
**--tides-prescription** |br|
13561356
Prescription for tidal evolution of the binary. |br|
1357-
Options: { NONE, PERFECT, KAPIL2024 } |br|
1357+
Options: { NONE, PERFECT, KAPIL2025 } |br|
13581358
``NONE`` disables tidal interactions. |br|
13591359
``PERFECT`` evolves the binary assuming instantaneous synchronization and circularization. |br|
1360-
``KAPIL2024`` uses the prescription from Kapil+ (2024). |br|
1360+
``KAPIL2025`` uses the prescription from Kapil+ (2025). |br|
13611361
Default = NONE
13621362

13631363
**--timestep-filename** |br|

online-docs/pages/whats-new.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,13 @@ What's new
33

44
Following is a brief list of important updates to the COMPAS code. A complete record of changes can be found in the file ``changelog.h``.
55

6+
**03.20.00 May 25, 2025**
7+
8+
* Replaced the name of the ``KAPIL2024`` tides prescription with ``KAPIL2025``.
9+
* Updated the equilibrium and dynamical tides equations to match the paper.
10+
* New outputs for BSE_DETAILED_OUTPUT from tidal evolution, including ``CIRCULARIZATION_TIMESCALE``, ``SYNCHRONIZATION_TIMESCALE_1``, ``SYNCHRONIZATION_TIMESCALE_2``, ``TIDAL_POTENTIAL_LOVE_NUMBER_22_1``, ``TIDAL_POTENTIAL_LOVE_NUMBER_10_EQ_1``, and ``TIDAL_POTENTIAL_LOVE_NUMBER_32_DYN_2``
11+
12+
613
**03.19.00 May 22, 2025**
714

815
* Added functionality to create new System Snapshot logfile |br|

0 commit comments

Comments
 (0)