PDE solver on 2D sphere
显示 更早的评论
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 个评论
Amal George M
2018-9-3
Hi Mark,
MATLAB Partial Differential Equations Toolbox support both 2D and 3D geometries. You can find a couple of examples at this link . Time dependency can also be integrated into the problem, by providing a list of time instances to the ' solvepde ' function.
Syntax:
result = solvepde(model,timelist);
Hope this helps.
Mark vanRossum
2018-9-3
Torsten
2018-9-3
You could calculate on a rectangle if you use spherical coordinates ...
Best wishes
Torsten.
Mark vanRossum
2018-9-3
Torsten
2018-9-3
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.
回答(1 个)
Ravi Kumar
2018-9-4
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')

类别
在 帮助中心 和 File Exchange 中查找有关 PDE Solvers 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!