Closed simonius closed 5 years ago
I'll be away on a business trip until wednesday, so I am not sure when I'll be able look at your code. I'll try to squeeze in some time on sunday evening.
I'm also on a business trip until easter monday (with few days back at home in between). I'll try to have a look at this asap.
You should rebase on master (or merge) in order to resolve conflicts.
I used I_TI('cfl') = 0.3 in my tests and the simulation was at least stable until t = 1. I also tested I_TI('cfl') = 0.65 and the simulation crashed. I concluded that the reason for the crash on your computer should be the higher CFL number.
It seems that you merged something from my fork that is totally unrelated to this PR. In particular, the rebase on master and the addition of examples/ideal_MHD_Dipole.m
is not included. Could you please revert that merge (and merge the correct branch, if you like).
I wrote a new example. A Dipole stays on the left side of the YZ plane and the magnetic field magnitude oscillates on the opposite border ob the Domain. The simulation is semi-stable as it still works as of t = 2 but crashes at t = 10. I would like to hear your comments about it. I run the example with N = 100 in every direction and X_MIN = 0.0 = Y_MIN = Z_MIN, X_MAX = 1.0 = Y_MAX = Z_MAX.