Spherical harmonic coupling in BallBasis

60 views
Skip to first unread message

Andrey Kononov

unread,
Oct 29, 2025, 4:34:22 AMOct 29
to Dedalus Users
Hi! 
I am trying to perturb helmholtz equation with ncc term dependent on theta angle (or on phi). But this error occurs: TypeError: bad operand type for abs(): 'NoneType'
So m = None?!

My motivation is to find eigenmodes in rotating stars, so I have read related discussions: 

And as I understand, this sort of coupling is resolved in ShellBasis, and not in BallBasis? Or perhaps my basis for ncc is wrong? 
Any contribution would be very appreciated!! Including possible workarounds

error.png
forum_q.py

Keaton Burns

unread,
Oct 31, 2025, 11:49:31 AMOct 31
to dedalu...@googlegroups.com
Hi Andrey,

At this point, the shell supports NCCs that depend on radius and latitude, but not azimuth, and the ball only supports NCCs that depend on radius.

Best,
-Keaton


--
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/9fe50792-a0b5-429c-9f02-d2a4f3ceeba5n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages