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

Unknown entities are generated while extruding to generate a sphere

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 7, 2022, 07:25
Default Unknown entities are generated while extruding to generate a sphere
  #1
New Member
 
Join Date: Oct 2011
Posts: 2
Rep Power: 0
Qiyue is on a distinguished road
Hello,
I am trying to generate a sphere with version 4.10.3 Gmsh, and two method are used:
1) to use the 'Sphere' command:

SetFactory("OpenCASCADE");
//+ This is to set the background mesh size.
//+ Check t10.geo for more information.
lc = 0.04;
Field[1] = Box;
Field[1].VIn = lc / 2;
Field[1].VOut = lc / 1;
Field[1].XMin = -0.1;
Field[1].XMax = 0.1;
Field[1].YMin = -0.1;
Field[1].YMax = 0.1;
Field[1].ZMin = -0.1;
Field[1].ZMax = 0.1;
Background Field = 1;
Sphere(1) = {0, 0, 0, 0.1, -Pi/2, Pi/2, 2*Pi};
//+
Surface Loop(1) = {1};
//+
Volume(1) = {1};
//+ This command makes all surface meshes pointing to the outward.
ReorientMesh Volume {1};

2) to use the 'circle arc' then extrude/rotate

SetFactory("OpenCASCADE");
//+ This is to set the background mesh size.
//+ Check t10.geo for more information.
lc = 0.04;
//+
Point(1) = {0, 0, 0, lc};
Point(2) = {0, 0.05, 0, lc};
Point(3) = {0, -0.05, 0, lc};
//+
Circle(1) = {2, 1, 3};
//+
Extrude {{0, 1, 0}, {0, 0, 0}, 2*Pi} {
Curve{1};
}



Both methods generate two unknown entities (curves) at the ends of circle arc.
Could anyone show some clues that how these unknown entities come out and how to eliminate them? Appreciate your feedback

Qiyue
Qiyue is offline   Reply With Quote

Reply


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: Extruding elements in generated mesh Adil_Khan Mesh Generation & Pre-Processing 0 April 15, 2020 15:32
Vortex Rings Generated from low Re sphere ABF31330 FLUENT 1 August 10, 2017 12:08
[Commercial meshers] converting Fluent mesh to openfoam standard mesh deepesh OpenFOAM Meshing & Mesh Conversion 31 March 29, 2017 06:59
Unknown walls generated when import .msh file to fluent. mdw0821 FLUENT 4 October 16, 2012 14:32
Mashing Problem? ji CFX 2 April 4, 2002 06:03


All times are GMT -4. The time now is 22:04.