Hi All,
In that paper, the authors replace the insulating boundary condition at l=1, m=0 with a condition that P_10 = B_0, where P_10 is the l=1 m=0 coefficient in the expansion of the poloidal field, and B_0 is a constant. This results in a field with a prescribed axial dipole component.
For a problem defined in terms of the vector potential A, defined by B = curl(A) (as in Ben's code), I think the equivalent condition is to set A = (0,0,A_0 sin(theta)) for l=1, m=0.
I presume there is a way to do this in dedalus? For example, I've encountered problems before that place conditions on specific 'ntheta', but unsure how to access the l's and m's.
A brief response on 'how to apply a boundary condition to a specific (l,m)' would be greatly appreciated :)
Thanks,
Neil