Extracting poloidal-toroidal coefficients of vector fields directly in dedalus

21 views
Skip to first unread message

Andrey Kononov

unread,
Mar 22, 2026, 7:06:40 PM (13 days ago) Mar 22
to Dedalus Users
Hi all! 
I compute EVP and get a vector field as an eigenfunction. I want to decompose it into poloidal-toroidal amplitudes following this notation: Снимок экрана 2026-03-23 в 01.44.39.png
Right now I am integrating over a sphere for different radii (code attached) to acquire those coefficients, but I was wandering whether a more direct approach exists. As I understand, in dedalus vector fields on balls/shells are decomposed into spin-weighted spherical harmonics, which are connected to poloidal-toroidal decomposition by simple identites. So perhaps I can get those amplitudes from xi['c'] or something alike? 
Thank you! 
dedalus_forum_q.py
Reply all
Reply to author
Forward
0 new messages