CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Special Topics > Mesh Generation & Pre-Processing

[GMSH] Incompatible surface in transfinite volume with 5 faces

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 18, 2021, 11:25
Default [GMSH] Incompatible surface in transfinite volume with 5 faces
  #1
New Member
 
Rodolphe Vancoillie
Join Date: Mar 2021
Posts: 1
Rep Power: 0
rvanco is on a distinguished road
Hi,

I'm trying to build a structured mesh on a "piece of cake" geometry (to compute CFD calculations with Code Saturne on a 2D domain and not the whole 3D cylinder). But when I compute the 3D mesh on gmsh, an error occurred due to an incompatible surface with the transfinite volume.

Here is the code :


// Gmsh project created on Thu Mar 18 15:13:30 2021
SetFactory("OpenCASCADE");
//+
Point(1) = {0, 0, 0, 1.0};
//+
Point(2) = {0.1, 0, 0, 1.0};
//+
Point(3) = {0.099, 0.01, 0, 1.0};
//+
Line(1) = {1, 3};
//+
Line(2) = {3, 2};
//+
Line(3) = {2, 1};
//+
Curve Loop(1) = {1, 2, 3};
//+
Plane Surface(1) = {1};
//+
Extrude {0, 0, 0.2} {
Surface{1};
}
//+
Physical Surface("Symmetry_planes", 10) = {4, 2};
//+
Physical Surface("Adiabatic_wall", 11) = {3};
//+
Physical Surface("Hot_wall", 12) = {1};
//+
Physical Surface("Cold_wall", 13) = {5};
//+
Transfinite Curve {4, 7, 5} = 10 Using Progression 1;
//+
Transfinite Curve {9, 6, 3, 1} = 10 Using Progression 1;
//+
Transfinite Curve {8, 2} = 3 Using Progression 1;
//+
Transfinite Surface {4};
//+
Transfinite Surface {2};
//+
Transfinite Surface {5};
//+
Transfinite Surface {3};
//+
Transfinite Surface {1};
//+
Recombine Surface {4, 2, 5, 3, 1};
//+
Transfinite Volume{1} = {4, 1, 2, 3, 6, 5};


I am new with GMSH, I was using the Salome built-in geometry and mesh software but I've got issues to build hexahedron cells on such a geometry because there are only 3 faces and Salome ask for a minimum of 4 faces with hexahedron (if you know how to solve this problem, I'm really interested too)

Thanks for your help !

Rodolphe
rvanco is offline   Reply With Quote

Reply

Tags
error, gmsh, salome


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Gmsh] gmshToFoam generates patches with 0 faces and 0 points Simurgh OpenFOAM Meshing & Mesh Conversion 4 August 25, 2023 07:58
[Gmsh] "Perhaps you have not exported the 3D elements?" j_moulton OpenFOAM Meshing & Mesh Conversion 14 October 6, 2022 21:58
how to set periodic boundary conditions Ganesh FLUENT 15 November 18, 2020 06:09
[snappyHexMesh] layer not added Rasmusiwersen OpenFOAM Meshing & Mesh Conversion 1 January 2, 2020 09:43
[snappyHexMesh] SHM is not extruding/adding Layers everywhere matthiasd OpenFOAM Meshing & Mesh Conversion 2 October 16, 2016 16:45


All times are GMT -4. The time now is 11:40.