Skip to main content

AGN line-driven winds model.

Project description

Qwind: A non-hydrodynamical model of AGN line-driven winds.

[![Build Status](https://travis-ci.org/arnauqb/qwind.svg?branch=master)](https://travis-ci.org/arnauqb/qwind)

Qwind is a code that aims to simulate the launching and acceleration phase of line-driven winds in the context of AGN accretion discs. To do that, we model the wind as a set of streamlines originating on the surface of the AGN accretion disc, and we evolve them following their equation of motion, given by the balance between radiative and gravitational force.

Code summary

Please refer to (paper) for a detailed physical explanation of the model. The code is divided into three main classes: <em>wind</em>, <em>radiation</em>, and <em>streamline</em>. The <em>wind</em> class is the main class and the one that is used to initialise the model. It contains the global information of the accretion disc such as accretion rate, density profile, etc. The radiation processes are handled in the <em>radiation</em> class. There are multiple implementations of the radiation class available, for different treatments of the radiation field. A model can be initialised with a particular radiation model by changing the radiation_mode argument when initialising the wind class. Lastly, the <em>streamline</em> class represents a single streamline, and contains the Euler iterator that solves its equation of motion. It also stores all the physical information of the streamline at every point it travels, so that it is easy to analyse and debug.

Getting started

Prerequisites

The required Python modules are

`` scipy numba ``

Installing

The code can be installed with pip

` pip install qwind `

Running the tests

The tests can be easily run by installing pytest and running

` cd tests pytest `

License

The project is licensed under the GPL3 license. See LICENSE.md file for details. Please refer to (link to Notebook) for a quick start on how to use the code.

Project details


Download files

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

Source Distribution

Qwind-0.0.1.dev89.tar.gz (63.7 kB view details)

Uploaded Source

Built Distribution

Qwind-0.0.1.dev89-py2.py3-none-any.whl (35.6 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file Qwind-0.0.1.dev89.tar.gz.

File metadata

  • Download URL: Qwind-0.0.1.dev89.tar.gz
  • Upload date:
  • Size: 63.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.1

File hashes

Hashes for Qwind-0.0.1.dev89.tar.gz
Algorithm Hash digest
SHA256 63e4303e9f904fcfb45fae7f08c1fa2b2749c2c50a30711cf4e32072c32ae7da
MD5 278c34dbf7c267f45732df1f46a6a8e9
BLAKE2b-256 30745f0f4ff36779c6e9dfc4da0906012e43f0e1cf5150470f57df1a38642749

See more details on using hashes here.

File details

Details for the file Qwind-0.0.1.dev89-py2.py3-none-any.whl.

File metadata

  • Download URL: Qwind-0.0.1.dev89-py2.py3-none-any.whl
  • Upload date:
  • Size: 35.6 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.1

File hashes

Hashes for Qwind-0.0.1.dev89-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 4f4293899f5dcbd29261b3705b13b49ebc060d6ceb05df0e1ec63cd0ce3b6bc6
MD5 9d9905cb837477613d351d97526ba965
BLAKE2b-256 809f35aad8f423165755e273e4d907545844b05990057e29e2da570d5752d0cc

See more details on using hashes here.

Supported by

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