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

6 views (last 30 days)
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?

Answers (1)

Cris LaPierre
Cris LaPierre on 19 Jan 2022
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 Comments
Mauro Giliberti
Mauro Giliberti on 19 Jan 2022
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 on 19 Jan 2022
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.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!