Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Periodic 3D mesh aligned with bounding cube cgal-discuss

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Periodic 3D mesh aligned with bounding cube cgal-discuss


Chronological Thread 
  • From: Matthew Russell <>
  • To:
  • Subject: Re: [cgal-discuss] Periodic 3D mesh aligned with bounding cube cgal-discuss
  • Date: Mon, 15 Mar 2021 16:21:19 +0000
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=Pass ; spf=None
  • Ironport-hdrordr: A9a23:87FtTaCPoizA4WrlHejysceALOonbusQ8zAX/mp2TgFYddHdqtC2kJ0gpGbJoRsyeFVlo9CPP6GcXWjRnKQe3aA9NaqvNTOW3VeAA5pl6eLZsl/dMg34stVQzKJxN5V5YeeAbmRSqebfzE2GH807wN+BmZrIuc77w212RQ9nL4FMhj0JbjqzKUF9SAlYCZdRLvP1jfZvnDaudW8aac62HBA+P9TrncHBl57tfHc9dnkawTSJ5AnYjoLSIly32lM7XylUybkvtVLZmxH0j5/Oj9iLjjHb0WHX49B6uvvEjuFCCsuFl9QPJlzX5zqAVcBOXbuNuTxwmuWz8RIRlsXWqRtIBatOwkKURW2+rRvz1wSI6lgT10M=
  • Ironport-phdr: A9a23:KDhPvRcm29DHEhD66uTNi4sdlGM+YNnLVj590bIXzolWe6HmxazJeXLljd1ThVPEFb/W9+hDw7KP9fy5CCpZu8bK4ClKWacPfidNsd8RkQ0kDZzNImzAB9muURYHGt9fXkRu5XCxPBsdMs//Y1rPvi/6tmZKSV3wOgVvO+v6BJPZgdip2OCu4Z3TZBhDiCagbb9oIxi6sAHcutMLjYd8Kas9xRjErmZVcOlK2G1kIk6ekQzh7cmq5p5j9CpQu/Ml98FeVKjxYro1Q79FAjk4Km45/MLkuwXNQguJ/XscT34ZkgFUDAjf7RH1RYn+vy3nvedgwiaaPMn2TbcpWTS+6qpgVRHlhDsbOzM/7WrajNF7gqBGrxK7vxFwzIDUb4OVOvRwfa3TY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Ie/IzZV5y7aEkVRy2g7zTO9LQE7QxyZjSfGFjUGPV3qakLot+J5rSHjJmcEijqSZkgk7IKbvxschPiSUfQWtpoLvS4gr3N/G1Pvhrr+O5+7vwNkOZ5kT5Y97VNAvUrcvg15e5iuduVs2wZYfANwsEfjkR5wD9cY+fU=

Hi Mael,

Thanks for your reply.

It's a shame the periodic mesher can't do this currently. Would you be able to give some hints on how to implement your idea of using the standard 3D mesh package? I'm slightly wary about manually moving vertices around - won't this reduce the quality of the resulting mesh?

Thanks,
Matt

On Mon, 15 Mar 2021, 08:04 Mael Rouxel-Labbé, <> wrote:
Hello,

This is not currently possible in a straightforward manner in the
periodic mesh generator, as there is no 3D constrained Delaunay
triangulations in CGAL yet.

In a less straight forward manner, if you wish your elements to lie
exactly on the boundary of the periodic domain, you might be able to do
away with the periodic mesh generation algorithm: generate a 3D mesh of
the implicit function clipped by the periodic domain, and then ensure
that the vertices are identical on both sides.

Best,
Mael

On 15/03/2021 02:05, Matthew Russell ( via
cgal-discuss Mailing List) wrote:
> Dear all,
>
> I would like to generate periodic 3D meshes of regions bounded by
> implicit functions and so I was pleased to find examples such as [1]
> that do almost exactly what I want. The problem that I'm having is
> that cells in the meshes generated from this example are able to lie
> across the bounding unit cube, but to use the meshes in finite element
> simulations I need the faces of the cells to align with the boundaries
> of the cube.
>
> For example, the CGAL example [1] (with a different implciit function)
> generates meshes like [cgal.jpg], but I would like one like
> [gmsh.jpg].
>
> I haven't been able to find a way to do this in CGAL. Is it possible?
>
> Many thanks,
> Matt
>
> [1] https://doc.cgal.org/latest/Periodic_3_mesh_3/Periodic_3_mesh_3_2mesh_implicit_shape_8cpp-example.html
>

--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://sympa.inria.fr/sympa/info/cgal-discuss





Archive powered by MHonArc 2.6.19+.

Top of Page