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

[Gmsh] gmsh STEP to STL

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 15, 2020, 06:37
Default gmsh STEP to STL
  #1
kem
New Member
 
cfd
Join Date: Jun 2019
Posts: 2
Rep Power: 0
kem is on a distinguished road
Hello
I am trying to create an STL from a STP file using the following options.
# surface meshing algorithm
gmsh.option.setNumber("Mesh.Algorithm", 6) # Frontal-Delaunay for 2D meshes

# refinement based on curvature
gmsh.option.setNumber("Mesh.CharacteristicLengthFr omCurvature", 1)
gmsh.option.setNumber("Mesh.MinimumElementsPerTwoP i", 36)

# refinement based on edge lengths
gmsh.option.setNumber("Mesh.CharacteristicLengthMi n", 0.1)
gmsh.option.setNumber("Mesh.CharacteristicLengthMa x", 10)

I have adjusted the CharacteristicLengthMax from 25 to 10, but this showed no reduction in conversion time.

The factor that most effected the conversion time was MinimumElementsPerTwoPi. Halving it from 72 reduced the conversion time by 60% for most of my stp files, however, it resulted in failures for some.

The error message reported is "Impossible", and the conversion hangs.

Does anyone have any suggested settings for gmsh to optimise conversion, or maybe some explanation of the error message?
kem is offline   Reply With Quote

Reply

Tags
gmsh, stl, stl conversion


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
Transient simulation not converging skabilan OpenFOAM Running, Solving & CFD 14 December 17, 2019 00:12
How to write k and epsilon before the abnormal end xiuying OpenFOAM Running, Solving & CFD 8 August 27, 2013 16:33
dynamic Mesh is faster than MRF???? sharonyue OpenFOAM Running, Solving & CFD 14 August 26, 2013 08:47
STL -> GMSH -> OpenFOAM eric.m.tridas OpenFOAM 7 September 7, 2011 13:06
Could anybody help me see this error and give help liugx212 OpenFOAM Running, Solving & CFD 3 January 4, 2006 19:07


All times are GMT -4. The time now is 01:26.