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: Mael Rouxel-Labbé <>
  • To:
  • Subject: Re: [cgal-discuss] Periodic 3D mesh aligned with bounding cube cgal-discuss
  • Date: Mon, 15 Mar 2021 08:52:13 +0100
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=None ; spf=None
  • Ironport-hdrordr: A9a23:obV75a3xbp8TjZGv1u+STgqjBC8kLtp033Aq2lEZdDV+dMuEm8ey2NES0hHpgDgcMUtQ/eyoEq+GXH/a6NpJ+oEXJ7ivR03Lv2GvIYFk4+LZsljdMgf58fNQ0rolTrhmBLTLfDpHpOvz/QXQKbcd6fad9qTAv4vj5lNMaS0vVK169Qd+DW+gYy5LbS1LH4AwGpbZxucvnVSdUE8aZMi6GXUJNtKrz7b2vanreBsXQyMggTPlsRqT9LX4HxKEty1wbxpzx94ZnFTtrxb0/eGKvf2913bnt1Pu0w==
  • Ironport-phdr: A9a23:vcMyQR0Aec9DvH8ssmDO+QIyDhhPgJ3EezUN459isYplN5qZl7zcNUDSrc9gkEXOFd2Cra4d2qyP6fCrCTVIyK3CmUhKSIZLWR4BhJdetC0bK+nBN3fGKuX3ZTcxBsVIWQwt1Xi6NU9IBJS2PAWK8TW94jEIBxrwKxd+KPjrFY7OlcS30P2594HObwlSizexfLd/IA+roQnPtcQajohvJrsswRbVv3VEfPhby3l1LlyJhRb84cmw/J9n8ytOvv8q6tBNX6bncakmVLJUFDspPXw7683trhnDUBCA5mAAXWUMkxpHGBbK4RfnVZrsqCT6t+592C6HPc3qSL0/RDqv47t3RBLulSwKMSMy/mPKhcxqlK9VvQyvpxJ/zYDXbo+aOvVxcaHBct0VXmdBQsRcWjZdDo+gYYYCD+wMNvtYoYnnoFsOqAOzCw62C+zxzj9HnmP43aon0+UuDw7G2B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A0skoQjPGYDekUw6IJvGEloj9+EX6y0tXTBsaatgRod7lbe8J761BCgzGK/zdhN4CtevgxzmUVdB566huG/yUyMZ1JlI0RlF1v1BB7QYqX3VREei+CzJ75MaHQMHi09xeqOfa+8mGb686f/+I00Np9rlziuA+zEU9K23pq1NxYz2GN6JzBEA0IQNT6VUNlr3BSl/TheiA4orjs+zhsPK2z2heSndcuX60gwxekOtBCLOWDCg+0FcAGVZDGFQ==

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




Archive powered by MHonArc 2.6.19+.

Top of Page