CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[Gmsh] 3D meshing problem at different extrude numbers of layer

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 11, 2021, 03:23
Question 3D meshing problem at different extrude numbers of layer
  #1
New Member
 
deoga Lee
Join Date: Dec 2020
Posts: 2
Rep Power: 0
deoga is on a distinguished road
Hi everyone, I have a problem with meshing for OpenFOAM.


To make 3d mesh(.msh),
1. first, I made 2D surfaces and divided like this
Quote:
Point(1 ) = {0, 0, 0, 1.0};
Point(2 ) = {1, 0, 0, 1.0};
Point(3 ) = {3, 0, 0, 1.0};
Point(4 ) = {0, 2, 0, 1.0};
Point(5 ) = {2, 2, 0, 1.0};
Point(6 ) = {3, 2, 0, 1.0};

Line(1) = {4, 1};
Line(2) = {1, 2};
Line(3) = {2, 3};
Line(4) = {3, 6};
Line(5) = {6, 5};
Line(6) = {5, 4};
Line(7) = {5, 2};

Curve Loop(1) = {6, 1, 2, -7};
Plane Surface(1) = {1};
Curve Loop(2) = {5, 7, 3, 4};
Plane Surface(2) = {2};
It can be seen at 'first_step(2D domain).PNG'.


2. second, I extruded surfaces like this.
Quote:
Extrude {0, 0, 1} {
Surface{1};
Layers{2};
Recombine;
}
Extrude {0, 0, 1} {
Surface{2};
Layers{10};
Recombine;
}
One of the two side-by-side surfaces was divided into 2 layers, and the other was divided into 10 layers.
And I got the problem in this step.

The error message is as follows, and the result can be checked at 'second_step(error view).PNG'.
Quote:
Error : Could not find extruded node (2, 2, 0.1) in surface 38
Error : Could not find extruded node (1, 0, 0.1) in surface 46
.
.
.
Error : Could not find extruded vertex (1.3750000001248, 0.75000000024958, 0.1)
.
.
.

I have attached the whole '.geo' file.
If someone knows how to solve this situation, please reply.
Attached Images
File Type: png first_step(2D domain).PNG (55.9 KB, 5 views)
deoga is offline   Reply With Quote

Reply

Tags
gmsh extrude, gmsh files, meshing 3d, meshing basics

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 3 October 26, 2021 08:27
GAMBIT meshing problem for boundary layer Falah FLUENT 2 November 30, 2020 14:16
[snappyHexMesh] layer not added Rasmusiwersen OpenFOAM Meshing & Mesh Conversion 1 January 2, 2020 09:43
errors Fahad Main CFD Forum 0 March 23, 2004 13:20
GAMBIT meshing problem Gauthier Lambert Main CFD Forum 1 August 3, 2000 09:22


All times are GMT -4. The time now is 19:03.