planet-disk interaction code