danieljprice / phantom

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

step too small error when using phantom2mcfost with MCFOST=F #515

Open danieljprice opened 5 months ago

danieljprice commented 5 months ago

J-F Gonzalez reports a crash when using the compiled phantom+MCFOST binary but running with MCFOST=false in the .in file... this needs to be investigated...


 ---> DELETING temporary dump file ext_00000.tmp <---

> step 128 / 1024 t = 69.71370 dt = 0.54 moved 999694 in 102 cpu-s < | np = 1000000 |

 WARNING! get_newbin: step too small: bin would exceed maximum : dt_cool =  5.100E-07

------------------------------------------------------------------------------
|** Number of steps since last summary:                    552             **|
|** Wall time since last summary:                        2.585 minutes     **|
------------------------------------------------------------------------------
|* force: timesteps constraining dt compared to Courant by factor of:       *|
| dt                 |  #times     | mean # part | mean fac    | max fac     |
| dtforce (gas)      |          109|      1719.07|         1.43|         1.90|
| dtcool             |          426|         1.62|   3382147.81|  54755632.70|
------------------------------------------------------------------------------
|* Sub-Steps since dtextf < dthydro                                         *|
|         |#     |N_substep|  dthydro/dtextf   |             dt              |
|         |times |  mean   |   mean  |   max   |     mean     |     min      |
|         |   176|    2.34 |    1.84 |    2.08 |    2.806E-01 |    2.624E-01 |
------------------------------------------------------------------------------
|* particles woken                                                          *|
| #steps  | mean # part/step |  max # part/step                              |
|      466|           1300.99|            23513                              |
------------------------------------------------------------------------------
|* ptmass: number of accreted particles                                     *|
| sink no |  # steps | max # acc  | total # | # unconditionally              |
|         |  w/ acc  | per step   | accreted| accreted                       |
|        1|       134|          10|      448|        0                       |
------------------------------------------------------------------------------

 FATAL ERROR! step: step too small: bin would exceed maximum```
danieljprice commented 5 months ago

ext.setup.txt ext.in.txt

danieljprice commented 5 months ago

update: I can reproduce