danieljprice / phantom

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

Is it possible to simulate a debris extended to 1pc in TDE? #468

Closed Shigaharuki3012 closed 4 months ago

Shigaharuki3012 commented 11 months ago

I was trying to get the velocity of debris after TDE in a large distance in a simulation.But when I try to simulate TDE and let the debris evolve freely,calculation stopped at a distance of several $\times R_{\mbox{sun}}$ instead of larger distance,for our purpose,e.g,1pc. And errors were:

WARNING! cons2prim: Internal energy < 0 on particle 5049: u = -4.811E+03
 FATAL ERROR! eos: utherm < 0 : u = -4.811E+03

Settings of star were:

polytrope
eos=adiabatic
M_*=4.25M_sun
R_*=11R_sun

Settings of TDE were:

Mbh=4e+06M_sun
beta=1.1
e=1
Rini=1000Rsun
incline =       24.060    ! inclination (in x-z plane)
danieljprice commented 11 months ago

this could be:

suggest to try using a smaller C_cour to see if that fixes the issue

Shigaharuki3012 commented 11 months ago

Thank you for your reply! I will have a try as you've mentioned above!