Forum Message

 

 

We have moved the forum to https://forum.ngsolve.org . This is an archived version of the topics until 05/05/23. All the topics were moved to the new forum and conversations can be continued there. This forum is just kept as legacy to not invalidate old links. If you want to continue a conversation just look for the topic in the new forum.

Notice

The forum is in read only mode.

Pointed cone

More
3 years 8 months ago - 3 years 8 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
Last edit: 3 years 8 months ago by cpfeiler. Reason: Previously attached py file for perfect 2D pacman, instead of vol file
More
3 years 6 months ago #3222 by cpfeiler
Replied by cpfeiler on topic Pointed cone
No reply in 5 weeks --> up.
More
3 years 6 months 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.148 seconds