Hello,
My name is Siddhant Ranka and I am a new dedalus user. I have previously sent a post about using the MHD model to simulate the merging of two Taylor states and I had run into an error implementing the MHD continuity equation. I still have been unable to implement the MHD continuity equation, so I have been trying to implement MHD with incompressible flow by keeping the density constant. I am using an IVP with 2 by 2 mesh, cartesian coordinates in 3 dimensions, and the RealFourier basis for the x, y, and z bases. I am using div(v) = 0 to represent incompressible flow. However, I keep getting RuntimeError: Factor is exactly singular as my error. I have attached the code for this problem below. My problem is set up as SSX = d3.IVP([v, A, lnrho, T, phi, tau_A], time=t, namespace=locals()). I have also attached a screenshot showing the rest of the simulation equations.
Thank you,
Siddhant