Dear Hongzhe,
You might be interested in src/implicit_diffusion.f90 and generalize the subroutine set_diffusion_equations() for curvilinear coordinates.
See samples/implicit_resistivity for my use case for Cartesian coordinates and also the Appendix of Yang, Mac Low, & Johansen (2018).
Sincerely,
--
Chao-Chin Yang
Assistant Professor
Department of Physics and Astronomy
The University of Alabama, U.S.A.
From:
pencil-co...@googlegroups.com <pencil-co...@googlegroups.com> on behalf of Hongzhe Zhou <zhouh...@gmail.com>
Date: Friday, May 31, 2024 at 2:54 PM
To: pencil-code-discuss <pencil-co...@googlegroups.com>
Subject: [EXTERNAL] Re: Time stepping at large Rm
You don't often get email from zhouh...@gmail.com. Learn why this is important |
--
You received this message because you are subscribed to the Google Groups "pencil-code-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
pencil-code-dis...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/pencil-code-discuss/9c8e9cd5-a9ad-4bf6-ab70-5b381ed12b56n%40googlegroups.com.