Hi Emanuele,
Sorry for taking so long to respond to this. I used what you did with
the first set of equations and rearranged some more to something that
I think is tractable in FiPy (unless I messed up, please check). See
the attached PDF. If that is correct, then I think that form as
written is tractable in FiPy. Every term is either a TransientTerm or
a DiffusionTerm (the first equation is just a source on the right hand
side, which should probably be explicit). Also, all the equations are
transient as written which gives more control over the stability. I
would imagine that with smaller alphas that the system is more stable.
I would start with a very small alpha and see how stability is
impacted as you move towards the physical value of alpha (make sure
the equations solve with alpha=0 to start).
In your attached PDF in the previous email you have coefficients
multiplying diffusion terms. That does not work in FiPy. Everything
needs to be inside the operator. Hence how I wrote the equations.
Try and implement this in FiPy and the I'll take another look if you
can't get things working.
Cheers,
Daniel
On Fri, Oct 22, 2021 at 4:11 AM Emanuele Di Palma
--
Daniel Wheeler