How to Solve a PDE in Spherical Coordinates Using Vector Spherical Harmonics?

  • Context: Graduate 
  • Thread starter Thread starter vibe3
  • Start date Start date
  • Tags Tags
    Pde
Click For Summary

Discussion Overview

The discussion centers on solving a partial differential equation (PDE) in spherical coordinates using vector spherical harmonics. Participants explore different methods for approaching the problem, including the expansion of functions into spherical harmonic bases and the method of characteristics, while considering the implications of these approaches on the solution's validity.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • One participant proposes expanding the unknown function and the known scalar and vector fields into spherical harmonic bases to facilitate solving the PDE.
  • Another participant suggests using the method of characteristics as a potential solution method, particularly for a 2D case, which could be generalized to 3D.
  • A different participant expresses concerns about the complexity of using the method of characteristics in a 3D numerical context, favoring the spherical harmonic approach instead.
  • One participant notes that separating variables may not yield functions that satisfy the original equations universally, indicating that specific conditions must be met for this to hold true.

Areas of Agreement / Disagreement

Participants express differing opinions on the best approach to solving the PDE, with some favoring the spherical harmonic method and others considering the method of characteristics. There is no consensus on the validity of the proposed methods or their implications for the solution.

Contextual Notes

Participants acknowledge that the validity of the solutions derived from their proposed methods may depend on specific conditions and assumptions, which remain unresolved in the discussion.

vibe3
Messages
39
Reaction score
1
I am trying to solve the following equation in spherical coordinates:
<br /> \left( \nabla f \right) \cdot \vec{B} = g<br />
where g is a known scalar function, \vec{B} is a known vector field, and f is the unknown function.

I think the best way to approach this is to expand everything into a spherical harmonic basis:
<br /> f(r,\theta,\phi) = \sum_{lm} f_{lm}(r) Y_{lm}(\theta,\phi)<br />
<br /> g(r,\theta,\phi) = \sum_{lm} g_{lm}(r) Y_{lm}(\theta,\phi)<br />
<br /> \vec{B}(r,\theta,\phi) = \sum_{lm} \left[ B_{lm}^r(r) \vec{Y}_{lm} + B_{lm}^{(1)} \vec{\Psi}_{lm} + B_{lm}^{(2)} \vec{\Phi}_{lm} \right]<br />
where \vec{Y}_{lm}, \vec{\Psi}_{lm}, \vec{\Phi}_{lm} are the vector spherical harmonics (VSH) defined here:
http://en.wikipedia.org/wiki/Vector_spherical_harmonics
Then, to evaluate the dot product between \nabla f and \vec{B}, it is necessary to integrate over the unit sphere since the VSH orthogonality relations are defined in terms of integrals over d\Omega.

So, integrating the original equation over d\Omega will yield the following ODE equation for the unknown f_{lm}(r):
<br /> B_{lm}^r(r) \frac{d}{dr} f_{lm}(r) + \frac{l(l+1)}{r} B_{lm}^{(1)}(r) f_{lm}(r) = c_{lm} g_{lm}(r)<br />
with
<br /> c_{lm} = \int d\Omega Y_{lm} e^{-im\phi}<br />

This ODE should be straightforward to solve numerically. However, my question is the ODE equation will determine f_{lm} values which satisfy the equation:
<br /> \int d\Omega \left( \nabla f \right) \cdot \vec{B} = \int d\Omega g<br />

Is it true that these f_{lm} will also satisfy the original equation?
 
Physics news on Phys.org
My first choice of solution method would be method of characteristics, take a 2D case and you can easily see how this works and you can generalise to 3D case.
 
Yes its true that the method of characteristics could work, however I am solving this equation numerically on a 3D grid in spherical coordinates. Integrating along characteristic curves would add complexity in that I'd have to pick lots of different starting points for the integration to get a decent grid of solutions, and then interpolate those solutions back to a spherical grid.

I think the spherical harmonic approach is more elegant and natural for this problem...if only the method I've described above is sound.
 
Every time you separate your variables, the resulting functions satisfy the original equations on their own only under special conditions (the obvious one being the other function being equal to 1). As far as I know, it is not something you can generalise.
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 36 ·
2
Replies
36
Views
4K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K