|
[Sponsors] |
[Gmsh] syntax error in opening *geo file in gmsh |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 14, 2012, 01:21 |
syntax error in opening *geo file in gmsh
|
#1 |
New Member
summer
Join Date: Sep 2012
Posts: 2
Rep Power: 0 |
hi there,
i am intending to export a *geo file containing geometry with solid meshing from solidworks to gmsh. however, gmsh reports syntax error (*) in line 1 of the file and doesn't open. what does this mean? could anyone please kindly let me know what exactly is the problem here? thank you! |
|
September 14, 2012, 22:22 |
|
#2 |
Member
Jason Eason
Join Date: Jan 2010
Location: Portage, Michigan
Posts: 45
Rep Power: 16 |
The .geo file for Solidworks has a different format than Gmsh, from what I see. Open your file in a file editor, and do the same with a Gmsh .geo file and you will see the difference. Export your file as a .step or .brep file, then load it into Gmsh and see if that helps.
__________________
Debian Squeeze - OpenFOAM-2.1.x, Paraview-3.12.0 |
|
September 16, 2012, 15:49 |
|
#3 |
New Member
summer
Join Date: Sep 2012
Posts: 2
Rep Power: 0 |
but if i were to save it as a STEP file in solidworks and export to gmsh, i would only be left with the surface geometry and i would have to mesh again in gmsh, wouldn't i?
I was wondering whether there is any way that i can retain the mesh from solidworks in gmsh and then be able to export it as a *msh file for FE pre-processer. Is it possible? Thank you for your time and reply! |
|
September 20, 2012, 23:10 |
|
#4 |
Member
Jason Eason
Join Date: Jan 2010
Location: Portage, Michigan
Posts: 45
Rep Power: 16 |
Try .stl format, that way your file is still a mesh. Import the .stl file into Gmsh, then save the file in the .msh format. I've never used Solidworks, but I'm guessing .geo file for Solidworks is a mesh. However; .geo file for Gmsh is a geometry. I wonder can Solidworks read Gmsh .geo file, do you know?
__________________
Debian Squeeze - OpenFOAM-2.1.x, Paraview-3.12.0 |
|
Tags |
geo file, gmsh, syntax error |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Other] Tabulated thermophysicalProperties library | chriss85 | OpenFOAM Community Contributions | 62 | October 2, 2022 03:50 |
[swak4Foam] groovyBC in openFOAM-2.0 for parabolic velocity bc | ofslcm | OpenFOAM Community Contributions | 25 | March 6, 2017 10:03 |
what is swap4foam ?? | AB08 | OpenFOAM | 28 | February 2, 2016 01:22 |
[OpenFOAM] Annoying issue of automatic "Rescale to Data Range " with paraFoam/paraview 3.12 | keepfit | ParaView | 60 | September 18, 2013 03:23 |
error while compiling the USER Sub routine | CFD user | CFX | 3 | November 25, 2002 15:16 |