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

[Gmsh] Save mesh from command line in gmsh

Register Blogs Community New Posts Updated Threads Search

Like Tree4Likes
  • 4 Post By Jefferson_dhv

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 4, 2014, 19:58
Default Save mesh from command line in gmsh
  #1
New Member
 
Jefferson Vieira
Join Date: Jul 2014
Location: Brazil/Scotland
Posts: 12
Rep Power: 11
Jefferson_dhv is on a distinguished road
Hi all,

I need to read a stl file and save it as geo from the command line. Does anyone know how to do it?

Thanks in advance,
Jefferson
Jefferson_dhv is offline   Reply With Quote

Old   August 5, 2014, 10:24
Default
  #2
New Member
 
Jefferson Vieira
Join Date: Jul 2014
Location: Brazil/Scotland
Posts: 12
Rep Power: 11
Jefferson_dhv is on a distinguished road
I just solved it.

Actually the output file didn't need to be .geo, it could be .msh, so I just used th following code:
Code:
gmsh <input file> -1 -o <output file>.msh
I've put the -1 so gmsh has a mesh to output, but in my case it does not make any changes.
Jefferson_dhv is offline   Reply With Quote

Reply

Tags
geo, gmsh, mesh, save, stl


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 extrude a boundary layer from an unstructured Mesh Hillie Mesh Generation & Pre-Processing 2 July 7, 2017 03:38
Star CCM Overset Mesh Error (Rotating Turbine) thezack Siemens 7 October 12, 2016 11:14
[Gmsh] STL on Gmsh + Mesh on Snappy adrieno OpenFOAM Meshing & Mesh Conversion 3 May 20, 2016 12:22
[Gmsh] background mesh in gmsh Nick_J OpenFOAM Meshing & Mesh Conversion 1 March 20, 2013 04:20
fluent add additional zones for the mesh file SSL FLUENT 2 January 26, 2008 11:55


All times are GMT -4. The time now is 14:55.