Daniel Price
unread,Mar 19, 2018, 5:51:10 AM3/19/18Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to SANONER JEAN-BAPTISTE p1609598, Phantom users
Dear Jean-Baptiste,
>
> I have a few questions to which I did not find the answer in the wiki.
>
> - Is it possible to fix some parameters to certain values in order to study the effect of changing just 1 parameter for the whole simulation?
Yes, but to give helpful feedback it would help if you could be more specific about what you’re trying to do here.
> - Is it possible to switch on/off the accretion on the planets/stars?
One thing you can do is to use a fixed binary potential instead of `live’ sink particles. This is described in the phantom code paper and is what is done in the “planetdisc” setup (make SETUP=planetdisc setup; ./phantomsetup disc). That way the mass and orbit of the binary are fixed and do not get affected by accretion, gravity etc. Is that what you’re trying to do?
> - Finally, can I run a 2D simulation with this code or is it only 3D?
Only 3D. 2D would require some major code changes and isn’t part of our use cases. For running 2D test problems we usually just run them in a thin 3D box. For example, you could take a look at some of the “2D” magnetic field test problems in the Phantom paper.
Best wishes,
Daniel