Questions tagged [spherical-harmonics]
The spherical-harmonics tag has no usage guidance.
13
questions
0
votes
0
answers
41
views
spherical harmonics perturbation
Is there a way to use spherical harmonics to represent a perturbation on a sphere that has a golf ball dimple pattern? What I have write now looks very asymmetric:
With the following expression:
$${\...
0
votes
1
answer
116
views
Applying flux limiters on vertices/faces instead of quadrature points
I have a couple of questions with regards to the usage of flux/slope limiters, which I was hoping to get some input. I apologise in advance if my questions are trivial, but flux limiters lie way ...
1
vote
1
answer
1k
views
How to solve heat equation in spherical coordinates with finite differences?
I have a problem dealing with heat transfer which is spherically symmetrical. I was thinking it should be possible to solve this as a 1d problem in spherical coordinates using the radius only.
...
0
votes
0
answers
28
views
Circumferencial waves on a cylinder/sphere
I was wondering how we can introduce $e^{ik.x}$ terms associated with circumferencially propagating waves? In this case $\hat{e}_\theta$ is the direction of wave propagation. However, I was not able ...
3
votes
0
answers
199
views
Efficient evaluation of spherical harmonic expansions
Assume I know that I can express an approximation of a function by
$$
\sum_{l=0}^{k}\left( \sqrt{A_l} z_{l,0}^1 L_{l,0}(\theta)+\sqrt{2A_l}\sum_{m=1}^l L_{l,m}(\theta)(z_{l,m}^1 \cos(m\phi)+z_{l,m}^2\...
1
vote
1
answer
80
views
Algorithm for evaluation of spin-weighted spherical harmonics
Is there an algorithm to evaluate spin-weighted spherical harmonics (swSH) at arbitrary points on the sphere? In particular I am looking for, e.g. a recursion relation to evaluate the "spin weighted ...
1
vote
0
answers
69
views
Spherical Gradient along $z$-axis
Let us consider a function $f(r,\theta,\phi)$ that can only be efficiently computed in spherical coordinates. We need its Cartesian gradient. We can implement its analytical spherical derivatives, ...
1
vote
1
answer
4k
views
Computing spherical harmonic coefficients using Scipy
The scipy.special.sph_harm function evaluates a spherical harmonic function at a point. Does Scipy provide any functions to compute the spherical harmonic ...
1
vote
0
answers
96
views
Spherical Harmonics: band-limited representations of a vector field on a sphere
I have used pyShtools in the past to expand scalar functions to spherical harmonics and to synthesize band-limited representations of them. However, I am not too sure how to achieve this for a vector ...
7
votes
1
answer
2k
views
Generating harmonic polynomials in cartesian coordinates
TLDR: Are these polynomials really harmonic polynomials, and how can I generate them?
Long version:
I want to describe an electrostatic potential $\Phi(x,y,z)$ over a source-free volume, by using a ...
0
votes
1
answer
537
views
Discrete Spherical Harmonic Transform from Cartesian grid
I have a grid of data on a 3D Cartesian grid and I would like to find a routine that will allow me to input this data and output a spherical harmonic transform for specific values of radial distances. ...
3
votes
2
answers
1k
views
Interpolating irregular data on a sphere
I am trying to interpolate irregular data $f(\theta, \phi)$ on a sphere and I have so far tried a scipy approach using Kd-Trees and inverse distance weighting, which works ok - however I was wondering ...
5
votes
2
answers
3k
views
Fourier Transform of function in Spherical Harmonics
I have a function $f(r,\theta,\phi)$ which I am expressing in terms of spherical harmonics
$$
f(r,\theta,\phi) = \sum_{l=0}^{\infty} \sum_{m=-l}^{l} g_{l,m}(r) d_{l,m}(\theta,\phi)
$$
where $d_{l,m}$...