Hello,
I’m currently working on an MHD simulation in a spherical shell geometry and am having trouble understanding the correct implementation of boundary conditions.
The formulation using a potential, as presented in Equation 25 of the part 2 methods paper, seems to work well as implemented in Ben Brown’s code found here:
https://github.com/bpbrown/shell_benchmark/blob/main/c2001_case1.py
In particular, the boundary conditions are set like this:
What I’m struggling to understand is the theoretical or mathematical basis of the SphericalEllProduct operator. Specifically, how it operates on each spherical harmonic degree individually, rather than acting on the full gradient of A.
Any clarification would be greatly appreciated.
Thanks in advance,
Till
--
You received this message because you are subscribed to the Google Groups "Dedalus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dedalus-user...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/dedalus-users/a6a99d73-d113-4b02-8bb4-92013f0681e4n%40googlegroups.com.
Thank you for the quick response, that helps a lot.
I'd like to dive a bit deeper into the background, but unfortunately, I haven’t been able to find any documentation on SphericalEllProduct or the term total regularity in the methods papers.
More concretely, I’m trying to implement a constant external field along with a variable internal field that satisfies the appropriate boundary conditions.
Thanks in advance,
Till
To view this discussion visit https://groups.google.com/d/msgid/dedalus-users/9e18ccf7-66aa-4250-92e7-f645b8c1e3a8n%40googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/dedalus-users/73a72cdb-49f3-42e3-8f40-f55b0f37f147n%40googlegroups.com.