Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

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.

Metadata

Release files for Qwind 0.0.1.dev89

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for Qwind 0.0.1.dev89
File Size Uploaded
Qwind-0.0.1.dev89.tar.gz 63.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for Qwind 0.0.1.dev89
File Interpreter ABI Platform
Qwind-0.0.1.dev89-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 99.4 kB

Release files / Qwind-0.0.1.dev89.tar.gz

Download URL Qwind-0.0.1.dev89.tar.gz
Size 63.7 kB
Tags Source
SHA-256 checksum
How to use checksums
63e4303e9f904fcfb45fae7f08c1fa2b2749c2c50a30711cf4e32072c32ae7da
BLAKE2b-256 checksum
How to use checksums
30745f0f4ff36779c6e9dfc4da0906012e43f0e1cf5150470f57df1a38642749
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / Qwind-0.0.1.dev89-py2.py3-none-any.whl

Download URL Qwind-0.0.1.dev89-py2.py3-none-any.whl
Size 35.6 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
4f4293899f5dcbd29261b3705b13b49ebc060d6ceb05df0e1ec63cd0ce3b6bc6
BLAKE2b-256 checksum
How to use checksums
809f35aad8f423165755e273e4d907545844b05990057e29e2da570d5752d0cc
Upload date
Uploaded using Trusted Publishing?
What is 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
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page