How do I create a geometry with a spline as an edge?

7 次查看(过去 30 天)
I want to solve a PDE on a geometry with an edge that can be varied, and I would like to use a spline (or a similar parametric curve) for this edge. I'm new to Matlab, and it seems (looking at geometryFromEdges) that a geometry can be created only starting from simple circular or polygonal shapes. How can I define a geometry using a parametric curve?

回答(1 个)

Cris LaPierre
Cris LaPierre 2022-1-19
I find it easiest to create complex geometries in a CAD program, export the shape to an stl file, and then import the stl using importGeometry.
  2 个评论
Mauro Giliberti
Mauro Giliberti 2022-1-19
I thought about that, but my geometry should be updated in an optimization cycle, therefore an external CAD program would be hard to implement.
Cris LaPierre
Cris LaPierre 2022-1-19
I'm not expert in this area, but here's a recent answer about ways of creating geometries, but admittedly all of them were straight lines.
You might try contacting support.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Geometry and Mesh 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by