Published May 30, 2022 | Version v1
Software Open

ASWNS

Authors/Creators

  • 1. CAMK-PAN Warsaw

Description

ASWNS ("Arcetri-Stockholm-Warsaw Neutron Star", from the names of the cities where it has been developed) is a FORTRAN 90 code that solves for the structure of rotating neutron stars in the "eXtended Conformal Flatness Condition" (XCFC) approximation of general relativity.
It assumes stationarity, axisymmetry, and circularity (the matter motion is purely toroidal).
The neutron star can be in rigid or differential rotation, cold or hot, barotropic (i.e. the equation of state is effectively barotropic) or nonbarotropic (i.e. baroclinic).

ASWNS is a fork of the XNS-v2 code described in [1] and [2] and has been used in [3] to determine the mass that would escape black hole formation after the collapse of a cold neutron star in rigid rotation at the Keplerian limit, in [4] to break the assumption of effectively barotropic neutron star, and in [5] to model the hot, nonbarotropic, and differentially rotating binary neutron star merger remnant.
Contrary to XNS-v2, ASWNS employs the self-consistent-field method, it does not assume a barotropic equation of state and therefore the star can be nonbarotropic (see [4] and [5]), and it does not solve for magnetic configurations (see [2]).

Note that the published version of the code ASWNS is not exactly the same used in [3, 4, 5], but it is very similar to the latter (i.e. [5]), even if the examples of usage of ASWNS are based on [3] and [4].
I decided not to provide the implementation of the model of the merger remnant of [5] not to obscure with technical complications the structure of the code.
You can implement any neutron star model on top of ASWNS, as shown in the examples provided.

If you use ASWNS, please cite:

* [1] Bucciantini & Del Zanna (2011), "General relativistic magnetohydrodynamics in axisymmetric dynamical spacetimes: the X-ECHO code", A&A 528:A101, arXiv:1010.3532
* [2] Pili, Bucciantini & Del Zanna (2014), "Axisymmetric equilibrium models for magnetized neutron stars in General Relativity under the Conformally Flat Condition", MNRAS 439:3541, arXiv:1401.4308
* [3] Camelio, Dietrich & Rosswog (2018), "Disc formation in the collapse of supramassive neutron stars", MNRAS 480:5272, arXiv:1806.07775
* [4] Camelio, Dietrich, Marques & Rosswog (2019), "Rotating neutron stars with nonbarotropic thermal profile", PRD 100:123001, arXiv:1908.11258
* [5] Camelio, Dietrich, Rosswog & Haskell (2021), "Axisymmetric models for neutron star merger remnants with realistic thermal and rotational profiles", PRD 103:063014, arXiv:2011.10557

Notes

I am grateful to Niccolò Bucciantini, Luca Del Zanna, and Antonio Pili for making the XNS-v2 code publicly available and for useful discussions. I am grateful to Tim Dietrich, Miguel Marques, Stephan Rosswog, and Brynmor Haskell for useful discussions. This work was supported by the EU:FP7 NSMAG Grant Program and by the Polish National Science Center (NCN) grant number OPUS 2019/33/B/ST9/00942.

Files

README.md

Files (227.4 kB)

Name Size Download all
md5:aaaf71778894fda60f53b75e6abc052b
46.3 kB Download
md5:1417024b7bdbac5871338cc02e665bd0
16.1 kB Download
md5:e8da7ca37d779c9379e9233055fc486a
116.5 kB Download
md5:6832d4d5484d35534aa7c8401fa786cd
12.1 kB Download
md5:a39fff0662f28c69d0940ebc8ab77c0a
24.5 kB Download
md5:11555416a3d0b5e1216a5116b9ae5f6d
11.8 kB Preview Download

Additional details

Funding

European Commission
NSMAG - Magnetic Fields in Neutron Stars via Numerical Simulations 321833

References

  • Bucciantini & Del Zanna (2011), "General relativistic magnetohydrodynamics in axisymmetric dynamical spacetimes: the X-ECHO code", A&A 528:A101, arXiv:1010.3532
  • Pili, Bucciantini & Del Zanna (2014), "Axisymmetric equilibrium models for magnetized neutron stars in General Relativity under the Conformally Flat Condition", MNRAS 439:3541, arXiv:1401.4308
  • Camelio, Dietrich & Rosswog (2018), "Disc formation in the collapse of supramassive neutron stars", MNRAS 480:5272, arXiv:1806.07775
  • Camelio, Dietrich, Marques & Rosswog (2019), "Rotating neutron stars with nonbarotropic thermal profile", PRD 100:123001, arXiv:1908.11258
  • Camelio, Dietrich, Rosswog & Haskell (2021), "Axisymmetric models for neutron star merger remnants with realistic thermal and rotational profiles", PRD 103:063014, arXiv:2011.10557