- Thank you received: 0
Pointed cone
4 years 2 months ago - 4 years 2 months ago #3112
by cpfeiler
Pointed cone was created by cpfeiler
Hello everybody,
I want to define a 3D equivalent of the 2D-pacman geometry,
i.e., a ball where a pointed cone is cut out.
I use EllipticCone from netgen.csg (see attached file).
To have a pointed cone, one would choose r=0.
However, as the help() function already tells me
"when r = 0, the top part becomes a point(tip) and meshing fails!"
--> And it does fail, when I try to mesh the 3D-pacman.
If choosing r small but positive, e.g, r=0.02,
then that small surface circle has to be resolved by the (surface) mesh,
and the mesh size at the back of pacman's mouth becomes really small.
(Of course, the same problem applies in 2D as well, if pacman's mouth is not pointed, see 2D-meshes in attachment)
I see the problem with meshing a pointed cone.
But I don't want to mesh the cone, but a geometry, where the cone is cut out.
This should not be a problem, because the "infinitely small circle", which is a point, does not have to be resolved by the (surface) mesh.
Moreover, like the perfect 2D pacman, the perfect 3D-pacman should allow for uniform mesh size as well.
Summary: Is it possible to mesh a perfect 3D pacman?
(Perfect, meaning that it's mouth is a cut out pointed cone.)
Any help is welcome,
Best, Carl
I want to define a 3D equivalent of the 2D-pacman geometry,
i.e., a ball where a pointed cone is cut out.
I use EllipticCone from netgen.csg (see attached file).
To have a pointed cone, one would choose r=0.
However, as the help() function already tells me
"when r = 0, the top part becomes a point(tip) and meshing fails!"
--> And it does fail, when I try to mesh the 3D-pacman.
If choosing r small but positive, e.g, r=0.02,
then that small surface circle has to be resolved by the (surface) mesh,
and the mesh size at the back of pacman's mouth becomes really small.
(Of course, the same problem applies in 2D as well, if pacman's mouth is not pointed, see 2D-meshes in attachment)
I see the problem with meshing a pointed cone.
But I don't want to mesh the cone, but a geometry, where the cone is cut out.
This should not be a problem, because the "infinitely small circle", which is a point, does not have to be resolved by the (surface) mesh.
Moreover, like the perfect 2D pacman, the perfect 3D-pacman should allow for uniform mesh size as well.
Summary: Is it possible to mesh a perfect 3D pacman?
(Perfect, meaning that it's mouth is a cut out pointed cone.)
Any help is welcome,
Best, Carl
Attachments:
Last edit: 4 years 2 months ago by cpfeiler. Reason: Previously attached py file for perfect 2D pacman, instead of vol file
4 years 1 month ago #3222
by cpfeiler
Replied by cpfeiler on topic Pointed cone
No reply in 5 weeks --> up.
4 years 1 month ago #3236
by joachim
Replied by joachim on topic Pointed cone
you have observed it: meshing the inverse of the cone has the same difficulties as meshing the cone. Curvature is unbounded, at the tip. You have to cut the tip.
Time to create page: 0.108 seconds