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

[Gmsh] gmsh circle and line connection

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 29, 2021, 06:41
Default gmsh circle and line connection
  #1
New Member
 
Join Date: Jun 2019
Posts: 10
Rep Power: 6
Lazlo is on a distinguished road
Hello,

I am new to gmsh. I succeeded in making some 2D meshes and computations, but I had strange behaviors at wall. Looking at the mesh, it appeared that lines and circles do not connect correctly. Here is a very simple example:
Code:
Point( 1) = {  22.25000, 57.57847, 0.0, 1};
Point( 2) = {  55.87660, 24.05100, 0.0, 1};
Point( 3) = {  68.14965, 20.75000, 0.0, 1};
Point( 4) = { 185.03900, 52.32200, 0.0, 1};
Point(10) = {  64.83803, 33.02000, 0.0, 1};
//
Line(1) = {1, 2};
Circle(2) = {2, 10, 3};
Line(3) = {3, 4};
Line Loop(1) = {1, 2, 3};
When zooming at point 3, circle and line do not connect when they are defined with the same point. Is it related to some tolerance parameter? Can anybody help ?


Lazlo
Lazlo is offline   Reply With Quote

Old   June 29, 2021, 14:49
Default
  #2
New Member
 
Join Date: Jun 2019
Posts: 10
Rep Power: 6
Lazlo is on a distinguished road
Two good reasons to close this thread:
1- it is related to gmsh use...
2- the answer was obvious: it is the rounding error in the input.
Sorry.
Lazlo 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] GMSH: Structured mesh of a square inside a circle wc3speler OpenFOAM Meshing & Mesh Conversion 3 September 18, 2019 16:13
Line Probe as a Circle Valentyn STAR-CCM+ 1 October 22, 2018 17:51
[Gmsh] Hex with transfinite Volume Mjoelnir OpenFOAM Meshing & Mesh Conversion 8 March 30, 2017 08:52
[Gmsh] Gmsh and samplesurface touf OpenFOAM Meshing & Mesh Conversion 2 December 10, 2007 02:27
[Gmsh] Converting curved surfaces problem markdowlinguk OpenFOAM Meshing & Mesh Conversion 4 August 2, 2007 08:05


All times are GMT -4. The time now is 12:51.