Skip to content

Python module to compute initial data for gas disk of an isolated galaxy

Notifications You must be signed in to change notification settings

wolfram-schmidt/isolated-galaxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Isolated disk galaxy initializer

Python module to create initial conditions for an isolated disk galaxy simulation:

  • Density and rotation curve of a gaseous disk in hydrostatic equilibrium are computed using the potential method of Wang et al., MNRAS 407 (2010).
  • The computation of particle initial conditions for a dark matter halo with NFW or Hernquist density profile is based on the method of Drakos et al., MNRAS 468 (2017).

Installation

Copy halo.py (base class) and gasdisk.py (subclass) to your work directory and import the module:

import gasdisk

Documentation

Provided by docstrings.

Example

Open notebook Example.ipynb.

About

Python module to compute initial data for gas disk of an isolated galaxy

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published