|
[Sponsors] |
July 26, 2020, 06:21 |
Issue with creating a plane surface in GMSH
|
#1 |
New Member
Mateusz
Join Date: Jun 2020
Posts: 1
Rep Power: 0 |
Hello, I'm trying to import the geometry of an airfoil into gmsh and then mesh it. I'm using a python script to convert the coordinates from .dat file to .geo
I managed to succesfully import the geometry into gmsh, however when creating a plane surface an error occurs, saying: Unknown OpenCascade curve with tag 1 line 34: could not add line loop My geo file: Point(1) = {0.000000, 0.017700, 0, 0.005}; Point(2) = {0.002300, 0.030900, 0, 0.005}; Point(3) = {0.005000, 0.037200, 0, 0.005}; Point(4) = {0.007600, 0.041500, 0, 0.005}; Point(5) = {0.014300, 0.049900, 0, 0.005}; Point(6) = {0.024900, 0.058200, 0, 0.005}; Point(7) = {0.049500, 0.073000, 0, 0.005}; Point(8) = {0.074000, 0.081400, 0, 0.005}; Point(9) = {0.099000, 0.086600, 0, 0.005}; Point(10) = {0.153000, 0.090700, 0, 0.005}; Point(11) = {0.196100, 0.090500, 0, 0.005}; Point(12) = {0.250400, 0.088700, 0, 0.005}; Point(13) = {0.309400, 0.085800, 0, 0.005}; Point(14) = {0.352000, 0.083300, 0, 0.005}; Point(15) = {0.391900, 0.080400, 0, 0.005}; Point(16) = {0.447700, 0.075600, 0, 0.005}; Point(17) = {0.503400, 0.069600, 0, 0.005}; Point(18) = {0.559300, 0.062600, 0, 0.005}; Point(19) = {0.596500, 0.057500, 0, 0.005}; Point(20) = {0.648800, 0.049800, 0, 0.005}; Point(21) = {0.835100, 0.022400, 0, 0.005}; Point(22) = {0.910900, 0.013200, 0, 0.005}; Point(23) = {1.000000, 0.000300, 0, 0.005}; Point(25) = {0.000000, 0.017700, 0, 0.005}; Point(26) = {0.002200, 0.003800, 0, 0.005}; Point(27) = {0.004900, -0.001800, 0, 0.005}; Point(28) = {0.007200, -0.005300, 0, 0.005}; Point(29) = {0.011900, -0.010600, 0, 0.005}; Point(30) = {0.024300, -0.020400, 0, 0.005}; Point(31) = {0.048600, -0.034200, 0, 0.005}; Point(32) = {0.071600, -0.045700, 0, 0.005}; Point(33) = {0.097900, -0.051600, 0, 0.005}; Point(34) = {0.148800, -0.060700, 0, 0.005}; Point(35) = {0.195300, -0.063200, 0, 0.005}; Point(36) = {0.250100, -0.063200, 0, 0.005}; Point(37) = {0.294500, -0.062600, 0, 0.005}; Point(38) = {0.357900, -0.061000, 0, 0.005}; Point(39) = {0.396500, -0.059500, 0, 0.005}; Point(40) = {0.454300, -0.056300, 0, 0.005}; Point(41) = {0.505000, -0.052700, 0, 0.005}; Point(42) = {0.555600, -0.048200, 0, 0.005}; Point(43) = {0.606300, -0.042700, 0, 0.005}; Point(44) = {0.648500, -0.037500, 0, 0.005}; Point(45) = {0.831700, -0.014900, 0, 0.005}; Point(46) = {0.941000, -0.005300, 0, 0.005}; Spline(1) ={23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 23};//+ SetFactory("OpenCASCADE"); Rectangle(1) = {-1.2, -1, 0, 4, 2, 0}; //+ Curve Loop(2) = {4, 5, 2, 3}; //+ Curve Loop(3) = {1}; I would really appreciate any help. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[snappyHexMesh] Creating multiple multiple cell zones with snappyHexMesh - a newbie in deep water! | divergence | OpenFOAM Meshing & Mesh Conversion | 0 | January 23, 2019 05:17 |
[Gmsh] Error : Self intersecting surface mesh, computing intersections & Error : Impossible | velan | OpenFOAM Meshing & Mesh Conversion | 3 | October 22, 2015 12:05 |
[Gmsh] GMSH: 3D boundary layer | wgvanveen | OpenFOAM Meshing & Mesh Conversion | 2 | February 4, 2015 07:41 |
creating plane with text menus | Jenifer | FLUENT | 0 | May 20, 2005 16:41 |
CFX4.3 -build analysis form | Chie Min | CFX | 5 | July 13, 2001 00:19 |