dmentipl / phantom-setup

phantom-setup: generate initial conditions for Phantom simulations
MIT License
6 stars 3 forks source link

Add disc setup #5

Open dmentipl opened 5 years ago

dmentipl commented 5 years ago

Need to replicate Phantom's setup_disc.F90 which allows the user to choose:

Also need to write a "distribution" function to generate the particle positions and velocities given a radial surface density profile. This replicates Phantom's set_disc.F90.

dmentipl commented 5 years ago

Much of this is now implemented. We can set up a disc with arbitrary surface density profile, using the locally isothermal eos.

Still to do:

dmentipl commented 4 years ago

Some related issues: