Page 1 of 1

Mesh generation with a surface embedded

Posted: Tue Jun 11, 2019 12:29 pm
by adityag
Hello everyone

I have the following situation:

I have a volume(cuboid) in which I want to generate a mesh. Inside this volume there is a surface which I want to keep as it is when meshing. That is, there should be a surface mesh and generated on this surface and I want the volume mesh around it to confirm to this surface mesh generated.

Is this possible with GiD somehow ? If yes a small example or any pointers are really helpful.

Thank you in advance.

Re: Mesh generation with a surface embedded

Posted: Wed Jun 12, 2019 2:09 pm
by escolano
No, it is not possible to have a surface 'floating' inside a volume, it won't be included in the volume mesh.
What is possible is to create a 'embedded mesh': the volume mesh is refined around its embedded surfaces, it won't be 'body-fitted' (the faces of the volume mesh doesn't match the surface triangles)
Utilities->Preferences...
Meshing->General->Embedded

But this is only valid if the calculation code allow this kind of embedded simulations (e.g. Kratos allow it for CFD simulation)

If do you need a 'body-fitted' mesh, as usual, then do you need that the surfaces belong to the boundary of the volumes. You can create extra surfaces and split the volume to force your desired surfaces being boundary of the volumes.

Re: Mesh generation with a surface embedded

Posted: Wed Jun 12, 2019 2:49 pm
by adityag
Thank you very much for your reply. I think I will have to use the second approach you mentioned.

Re: Mesh generation with a surface embedded

Posted: Wed Jun 12, 2019 5:24 pm
by escolano
Maybe do you want to have a surface 'double' inside the volume (generating two faces, and two nodes, one by surface), then you can try to create a hole in the volume (a whole with zero depth).
This is common to represent a crack, or a sail inside a volume of air.

Then you can try to duplicate the surface, and share its boundary lines and points,
using the 'Copy tool' with a translation of 0 0 0, duplicating entities
and after collapsing the appropriated lines and points that were also duplicated

then you can create a auxiliary volume with these 'repeated surfaces' (different surfaces located in the same 3D position),
and use this volume to hole the main volume.