Skip to main content

Validated Post-Newtonian Expressions for Numerical Relativity

Project description

NRPyPN: Validated Post-Newtonian Expressions for Numerical Relativity

Author

Zachariah B. Etienne (https://etienneresearch.com)

Special Thanks

Special thanks to Peter Diener and Roland Haas for reviewing NRPyPN in preparation for its inclusion into the Einstein Toolkit. Also special thanks to Antoni Ramos-Buades for sharing the Mathematica notebooks that the paper "Simple procedures to reduce eccentricity of binary black hole simulations" Phys. Rev. D 99, 023003 (2019) used, so that expressions in NRPyPN could be validated.

Purpose

NRPyPN primarily focuses on implementation and validation of post-Newtonian expressions, with the immediate goal of generating high-PN-order tangential and radial momenta for binary black hole initial data with minimal eccentricity. These momenta can be directly injected into e.g., TwoPunctures to set up quasicircular binary black hole initial data.

NRPyPN bases its approach on "Simple procedures to reduce eccentricity of binary black hole simulations", Ramos-Buades, Husa, and Pratten, https://arxiv.org/abs/1810.00036, Phys. Rev. D 99, 023003 (2019)

and

"Post-Newtonian Quasicircular Initial Orbits for Numerical Relativity", Healy, Lousto, Nakano, and Zlochower, https://arxiv.org/abs/1702.00872, Class. Quant. Grav. 34 (2017) 14, 145011

Installation instructions

Prerequisites:

  • Python 3.6+
  • pip, the Python package manager, which should come with Python.

Python packages:

  • SymPy 1.2+
  • NRPy+ 2.0+

Quick install from the command line (bash shell)

  • First set up a virtual environment:

python3 -m venv nrpyvirtualenv source nrpyvirtualenv/bin/activate pip install nrpypn

  • Then run the script

python3 nrpypn.quasicirc

The help message provides all the instructions needed.

License:

BSD 2-Clause

Copyright (c) 2023, Zachariah Etienne All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  • Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

  • Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Required Citation

  1. Bibtex entry:

@misc{NRPyPN, author = {Etienne, Zachariah B.}, title = {NRPyPN: Validated Post-Newtonian Expressions for Binary Black Hole Initial Data}, month = sep, year = 2023, url = {https://github.com/nrpy/nrpypn/} }

Suggested Citation

  1. Bibtex entry:

@article{Habib:2020dba, author = "Habib, Sarah and Ramos-Buades, Antoni and Huerta, E.A. and Husa, Sascha and Haas, Roland and Etienne, Zachariah", title = "{Initial Data and Eccentricity Reduction Toolkit for Binary Black Hole Numerical Relativity Waveforms}", eprint = "2011.08878", archivePrefix = "arXiv", primaryClass = "gr-qc", month = "11", year = "2020" }

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nrpypn-2.0.0.tar.gz (22.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nrpypn-2.0.0-py3-none-any.whl (30.3 kB view details)

Uploaded Python 3

File details

Details for the file nrpypn-2.0.0.tar.gz.

File metadata

  • Download URL: nrpypn-2.0.0.tar.gz
  • Upload date:
  • Size: 22.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for nrpypn-2.0.0.tar.gz
Algorithm Hash digest
SHA256 3c13d63d91912705cf9e169e1a6d88645d5dd3627c87ae4ae111848260836233
MD5 b932bc8c653fa6e12169ae3db92eff96
BLAKE2b-256 2bfbefe335fa850e0b8e0822c9887646915e7e94f816fe732a35a81b8c390de8

See more details on using hashes here.

File details

Details for the file nrpypn-2.0.0-py3-none-any.whl.

File metadata

  • Download URL: nrpypn-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 30.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for nrpypn-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b33a062b834f8bb67b7d3859222bfb77c05b73335d472b64a57184c73e982837
MD5 45d9a26789dec9e703937132cd508b10
BLAKE2b-256 9295bcd9c2f2ddf7c4365fba5ccb8255b6c58aa7158d169cdf752fc937700d93

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page