[FLASH-BUGS] BHTree+Sink Particles

Gunther Lukat g.lukat at gmx.net
Wed Apr 1 12:50:41 CDT 2015


Hello developers of Flash,

when using the 'Tree Gravity' unit together with Sink Particles, the calculated gravitational potential seems too high.

A possible cause is in 'physics/Gravity/GravityMain/Poisson/BHTree/Gravity_init.F90', where the runtime variable 'grav_unjunkPden' is not parsed and therefore remains '.false.'.

I suggest adding 'call RuntimeParameters_get("grav_unjunkPden", grav_unjunkPden)' to the Gravity_init routine as is solved our problem with too high potentials. 

Can someone confirm this is bug?

Greetings
Gunther Lukat


More information about the flash-bugs mailing list