danieljprice / phantom

Phantom Smoothed Particle Hydrodynamics and Magnetohydrodynamics code
https://phantomsph.github.io
Other
103 stars 223 forks source link

setup dustydisc with one fluid implementation #434

Closed crislong closed 1 year ago

crislong commented 1 year ago

In the setup “dustydisc”, when trying to initialise a gas and dust disc with the one fluid implementation, there is this error

ERROR: NaN in position/smoothing length (xyzh array) on 1000000 of 1000000 particles FATAL ERROR! initial: errors in particle setup : errors = 1

The setup is not able to set initial position of particles, and the surface density of both gas and dust in the discparams is "nan".