Group Abstract Group Abstract

Message Boards Message Boards

0
|
2.7K Views
|
0 Replies
|
0 Total Likes
View groups...
Share
Share this post:

Solve Laplaces Equation in Spherical Coordinates using NDSolve

Posted 10 years ago

Hello all,

I am simply trying to solve Laplaces equation inside a Ball[] but I receive a strange error message talking about the PDE coefficient not evaluating to a numeric matrix of dimension of {3,3,3} at the origin. Any help would be appreciated!

r=5;
Rball2 = Ball[{0, 0, 0}, r];
lapball = Laplacian[T[x, y, z], {x, y, z}, "Spherical"];
\[CapitalGamma]ball = 
  DirichletCondition[T[x, y, z] == 100, Sqrt[x^2 + y^2 + z^2] == r];
solball = 
 NDSolveValue[{lapball == 0, \[CapitalGamma]ball}, 
  T, {x, y, z} \[Element] Rball]
POSTED BY: Michael Person
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard