How to design a solid Body for even Meshing in Matlab? (Hemisphere)
显示 更早的评论
Hello dear Matlab community,
I currently try to:
- create a surface from x y z coordinates (easily done with meshgrid and surf)
- export the surface into FreeCad/Gmsh for creating an even Mesh
The result should look as follows (which was fully created in FreeCad):

Why I try doing all of this ?
- Because I know how to design exact surfaces in Matlab
(In this case I need to exactyl define the contact angle between hemisphere and surface)
- Because I only can create even Meshes in FreeCad
In Matlab I only get an uneven Mesh:

So once againg: Is there a workflow for creating a solid body in Matlab that can be evenly triangulated?
2 个评论
Stefan Kerber
2023-11-16
Hi Niklas,
if I understand your prpblem correctly, it should be possible to define a regular net using the meshgid function and then interpolate your function to this regular grid. I guess a good staring point for this could be Interpolation for 2-D gridded data in meshgrid format - MATLAB interp2 (mathworks.com)
Does this help?
Niklas Kurz
2023-11-17
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Surface and Mesh Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!



