danieljprice / phantom

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

removing hdivB timestep constraint as did not work #537

Closed HughyG closed 2 months ago

HughyG commented 2 months ago

Type of PR: Bug fix

Description: attempted timestep control based on hdivBonB lowers the timestep but did not change the cleaning speed, hence we have removed this functionality. Instead overcleanfac should be set manually if divB is large.

Testing: Current loop advection, test magnetized discs.

Did you run the bots? no

Did you update relevant documentation in the docs directory? no