First time here? Checkout the FAQ!
x
0 votes
by (460 points)

Hi, I have been trying to Ellipsoid mesh, these are the code I am using,

geom = mesh.Ellipsoid.with_resolution(505, tetrahedrise=False) or geom = mesh.Ellipsoid(r_a, r_b, r_c)

However, I don't see a mesh file created, I tried to use this code:

meshname = mesh.generate(geom)

Yet it says that it only supports Block meshes. Is there another function for creating the Ellipsoid mesh?

1 Answer

0 votes
by (19.2k points)
Not directly within carputils as far as I know. I see how this could be useful, though. A code contribution or also a feature request are welcome.
by (460 points)
Thank you for clearing that up. Since directly within carputils is impossible, are there other methods I could use? Also, how should I make a feature request?
by (19.2k points)
You could use any meshing software like for example Gmsh: https://gmsh.info

This page details how to make contributions to openCARP including feature requests: https://opencarp.org/community/contribute#how-to-suggest-a-feature-or-enhancement
by (1.3k points)
I used Autodesk Fusion 360 to easily create an ellipsoid and other geometries. You can then export it to a mesh format that you can convert to openCARP format using meshtool (provided by openCARP). You only have to be careful with the units, but you can always scale it up or down using meshtool as well.
Welcome to openCARP Q&A. Ask questions and receive answers from other members of the community. For best support, please use appropriate TAGS!
architecture, carputils, documentation, experiments, installation-containers-packages, limpet, slimfem, website, governance
...