PDE solver on 2D sphere
7 views (last 30 days)
Show older comments
Hi,
I would like to solve a spatio-temporal non-linear PDE on a 2D sphere (not a 'shell' with a finite thickness).
I see there is a number of mesh generators (cubed sphere, icosahedral grid) for Matlab, but how to integrate them with a PDE solver?
Is it possible with PDEtoolbox or other Matlab tools? Any examples?
Climate modelers probably do this all the time...
5 Comments
Torsten
on 3 Sep 2018
I don't know. My guess is that the periodic boundary condition will be the most difficult part to deal with when using the PDE toolbox.
Best wishes
Torsten.
Answers (1)
Ravi Kumar
on 4 Sep 2018
If you are referring to thin walled hollow sphere, a 3-D volume as your problem domain, then you can create such geometry in PDE Toolbox as:
radius = 1;
thickness = radius/10;
gm = multisphere([radius-thickness, radius], 'Void',[1,0]);
model = createpde;
model.Geometry = gm;
pdegplot(model,'FaceLabels','on','FaceAlpha',0.3,'CellLabels','on')
print('Hollow_Sphere','-dpng','-r200')
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/194959/image.png)
0 Comments
See Also
Categories
Find more on PDE Solvers in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!