TriPoDPy is a Python package to simulate the evolution of dust in protoplanetary disks using a parametric dust evolution model.
TriPoDPy simulates the radial evolution of gas and dust in a protoplanetary disk, involving viscous evolution of the gas disk, advection and diffusion of the dust disk, as well as dust growth via the TriPoD method Pfeil+ 2024.
Please read the documentation for a detailed description.
TriPoDPy has been submitted to the Journal of Open Source Software(JOSS) and is awaiting review. There are currently a number of planned publications using TriPoDPy in the works, so if you plan on using TriPoDPy in your work, consider contacting us to avoid conflicts/duplication of work. We are always happy to collaborate/add new features.
By using any version of TriPoDPy you agree to these terms of usage.
- Python 3.11 or newer (tested with 3.11 – 3.13)
- DustPy 1.0.8 or newer (installed automatically by
pip) - A Fortran compiler, e.g.
gfortran(GCC 9 or newer). It is needed to compileTriPoDPy's Fortran routines during installation. - Linux or macOS (Intel and Apple Silicon). On Windows, please use WSL.
First install a Fortran compiler (sudo apt install gfortran on Debian/Ubuntu, brew install gcc on macOS) and check that it can be found with gfortran --version. Then install TriPoDPy into a fresh virtual environment:
git clone https://github.com/tripod-code/tripodpy.git
cd tripodpy
python3 -m venv .venv
source .venv/bin/activate
pip install .Alternatively, conda users can use the provided environment.yml, which also includes a Fortran compiler: conda env create -f environment.yml, conda activate tripodpy, pip install ..
For an editable installation, use pip install --no-build-isolation --editable .. In this case meson-python, ninja and numpy need to be installed in your environment.
See the installation guide for detailed instructions and troubleshooting.
Note that currently the installation with the GitHub repository versions of Dustpy and Simframe is recommended to ensure full compatibility.
TriPoDPy is using the Simframe framework for scientific simulations (Stammler & Birnstiel 2022)
TriPoDPy was developed at the University Observatory of the Ludwig Maximilian University of Munich. The authors acknowledge funding from the European Union under the European Unionʼs Horizon Europe Research and Innovation Programme 101124282 (EARLYBIRD) and funding by the Deutsche Forschungsgemeinschaft (DFG, German Research Foundation) under Germany’s Excellence Strategy - EXC-2094 - 390783311. Views and opinions expressed are, however, those of the authors only and do not necessarily reflect those of the European Union or the European Research Council. Neither the European Union nor the granting authority can be held responsible for them.