Hello,
My name is Siddhant Ranka and I am a new dedalus user. I am trying to use the MHD model to simulate the merging of two Taylor states. I am using a 2 by 2 mesh, cartesian coordinates in 3 dimensions, and the RealFourier basis for the x, y, and z bases. Currently I am having trouble implementing the MHD continuity equation. The continuity equation is written as, with rho being the density field and v being the velocity field, "dt(lnrho) + trace(grad_v) = - v@grad(lnrho)". I have defined lnrho as the natural log of the density field. I am not sure how to add the full equation to the simulation. When I tried using an IVP to simulate the model, I had to rewrite the equation in terms of rho instead of lnrho, and when I tried using an NLBVP to simulate the model, I had to drop the temporal derivative term. Is there any problem type I can use to add this equation?
Thank you,
Siddhant