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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

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