Hello all,
For my current MSc thesis I am working on a shallow water simulation of Jupiter's top atmospheric layer, using Dedalus3 and data from JWST for the zonal jet profile of Jupiter.
As a basis, I use the Spherical shallow water (sphere IVP) example script, with changes specified as per the attached script. However, outside of trying the test case of galewsky and one alternate test case with an opposite flow of galewsky's test case on the other hemisphere, all simulations experience "RuntimeWarning: overflow encountered in multiply np.multiply(arg0_exp_data, arg1_exp_data, out=out.data)", with ringing effects on the snapshot where the crash occurs like in the attached gif. This error tends to occur only 4 seconds into the simulation, with slight variation depending on restrictions of the data (for example, truncating the function or decreasing/increasing the resolution of the simulation).
I think the crash here occurs through Gibbs ringing based on similar-looking problems posed on this forum, but I have not been able to fix this yet. Currently I am working on testing the stable cases of opposing galewsky flows while changing the resolution and timesteps, to find a limit of the simulation where it still would remain stable to hopefully give insight into the cases where the Overflow error is encountered.
Are there any problems in my formulation or structure of my code? Any help would be greatly appreciated, as creating a stable version of the simulation has been a major roadblock up until now. If any further information about the simulation (e.g. results or plots of the solver) please let me know.
Thank you in advance.
Kind regards,
Rick Bonhof