|
[Sponsors] |
[CAD formats] Tool for Surface Preparation for SnappyHexMesh |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 27, 2008, 16:35 |
Tool for Surface Preparation for SnappyHexMesh
|
#1 |
Senior Member
BastiL
Join Date: Mar 2009
Posts: 530
Rep Power: 20 |
Hi group,
after I tested SnappyHexMEsh I think it is a great tool. What I am still seeking for is a tool to do some preparations on surface (convert iges-geometry to mesh, split surface into parts, name parts, save as stl...) I am considering tools like blender or gmsh for that. What do others use for this? Any recommendations? Thanks. |
|
July 27, 2008, 23:51 |
Hi,
Typically I use blende
|
#2 |
Member
Andrew King
Join Date: Mar 2009
Location: Perth, Western Australia, Australia
Posts: 82
Rep Power: 17 |
Hi,
Typically I use blender for my geometry creation. Quite good (and fast), once you get used to the interface. The default stl export from blender is not so great. Especially as binary stl's seem to give one patch per facet in OF-1.5. I have an ascii stl export script which I will post when its done. Allows ascii export with named objects/surfaces. These names can then be directly used in snappyHexMesh as patches/refinement areas. Cheers, Andrew
__________________
Dr Andrew King Fluid Dynamics Research Group Curtin University |
|
July 28, 2008, 04:03 |
As far as I know, binary STL c
|
#3 |
Senior Member
Francesco Del Citto
Join Date: Mar 2009
Location: Zürich Area, Switzerland
Posts: 237
Rep Power: 18 |
As far as I know, binary STL cannot contain patch names as strings, that's why you have only one patch. You will have the same behaviour if you load that STL into another program, I guess.
Bye, Francesco |
|
July 28, 2008, 04:18 |
I haven't actually tried it, b
|
#4 |
Senior Member
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,715
Rep Power: 40 |
I haven't actually tried it, but can't you use other formats instead of stl? Eg, I find the Wavefront .obj quite nice to work with.
Since the type is 'triSurface', I think it should handle any of the supported input formats: stl, gts, obj, off, tri, ac, nas. |
|
July 28, 2008, 07:07 |
Well, that answers my question
|
#5 |
Member
Andrew King
Join Date: Mar 2009
Location: Perth, Western Australia, Australia
Posts: 82
Rep Power: 17 |
Well, that answers my question then ;-).
Anyway I only use stls as that was the best format I could find that was supported by netgen/gmsh and blender. Haven't tried any of the others. Anyway, I have posted the script in another thread, http://www.cfd-online.com/OpenFOAM_D...5095#POST25114 Cheers, Andrew
__________________
Dr Andrew King Fluid Dynamics Research Group Curtin University |
|
July 28, 2008, 14:15 |
I use Rhino which I found is l
|
#6 |
Senior Member
Billy
Join Date: Mar 2009
Posts: 167
Rep Power: 17 |
I use Rhino which I found is low cost compared to other CADs. You can download the evaluation version and test it.
If you want something free, maybe you can try FreeCAD. |
|
July 28, 2008, 17:58 |
I did some tries with gmsh and
|
#7 |
Senior Member
BastiL
Join Date: Mar 2009
Posts: 530
Rep Power: 20 |
I did some tries with gmsh and blender now. Using the motorbike from the tutorials both of them obviously only import the first part of the motorbike. How can these multi-part stls be handled?
Thanks. |
|
July 31, 2008, 08:07 |
Hi all,
VTK comes with seve
|
#8 |
Senior Member
|
Hi all,
VTK comes with several Reader and Writer libraries for Wavefront .obj vtkOBJReader http://www.vtk.org/doc/nightly/html/...OBJReader.html STL (ascii/binary) writer vtkSTLWriter so converting should be easy elvis |
|
July 31, 2008, 13:44 |
Hi,
MeshLab http://meshlab.
|
#9 |
Senior Member
|
Hi,
MeshLab http://meshlab.sourceforge.net/ might be a good choice for converting from # import:PLY, STL, OFF, OBJ, 3DS, COLLADA, PTX to STL elvis |
|
August 1, 2008, 08:05 |
It depends.
If you have an
|
#10 |
Senior Member
Billy
Join Date: Mar 2009
Posts: 167
Rep Power: 17 |
It depends.
If you have an IGES or STEP format to begin with, the only free tool I can think of would be based on OpenCASCADE technology. OpenCASCADE has an MFC example for import (IGES, STEP, BREP) and export (IGES, STEP, BREP, STL). |
|
August 1, 2008, 08:47 |
Hi,
maybe ls-prepost may be
|
#11 |
New Member
mediode
Join Date: Mar 2009
Posts: 27
Rep Power: 17 |
Hi,
maybe ls-prepost may be of interest for someone. It reads IGS, STP, VDA and couple of others and exports STL (&more) as well (furthermore it can customized). Dowmload was a bit tricky, check out the googlegroup. http://www.lstc.com/lspp/ |
|
August 3, 2008, 19:01 |
I agree with Billy that having
|
#12 |
Senior Member
BastiL
Join Date: Mar 2009
Posts: 530
Rep Power: 20 |
I agree with Billy that having geometry tools are limited (I see OpenCascade-based Salome and gmsh). However, I have suface meshes in stl (like the motorbike tutorial) and want to regroup or modify it.
Problem with the tutorial for gmsh, Blender and Paraview: I can only import one of the groups... So I do not get he complete motorbike. Regards. |
|
August 3, 2008, 22:30 |
Hi,
If you can't find a to
|
#13 |
Member
Andrew King
Join Date: Mar 2009
Location: Perth, Western Australia, Australia
Posts: 82
Rep Power: 17 |
Hi,
If you can't find a tool (and you're a sucker for punishment ;-) ), you can always open up the ascii stl and save each solid <name> ... endsolid group as a separate file. I think it should be easy to script this. Alternatively you can use admesh ( http://www.varlog.com/index.html ) to convert an ascii stl to binary - this combines the all the groups into one (unfortunately losing all the group information though - see Francesco's post above). Cheers Andrew
__________________
Dr Andrew King Fluid Dynamics Research Group Curtin University |
|
August 4, 2008, 07:50 |
surfaceSplitByPatch?
|
#14 |
Senior Member
Eugene de Villiers
Join Date: Mar 2009
Posts: 725
Rep Power: 21 |
surfaceSplitByPatch?
|
|
August 4, 2008, 10:53 |
You might want to take a look
|
#15 |
Senior Member
Richard Smith
Join Date: Mar 2009
Location: Enfield, NH, USA
Posts: 138
Blog Entries: 4
Rep Power: 17 |
You might want to take a look at SymLab with its Exchange add-on that imports/exports IGES, STEP and STL. For full geometry creation and meshing control consider the Professional add-on.
The SymLab framework uses OpenCascade as its geometry engine, VTK for visualization and wxWidgets as its cross-platform GUI. In the works is an OpenFOAM add-on to seamlessly setup, mesh, run and visualize cases within SymLab. Full Disclosure: I represent Symscape the developer of SymLab.
__________________
Symscape, Computational Fluid Dynamics for all |
|
August 5, 2008, 14:27 |
VariCAD is also a pretty affor
|
#16 |
Senior Member
Billy
Join Date: Mar 2009
Posts: 167
Rep Power: 17 |
VariCAD is also a pretty affordable CAD system for linux:
http://www.varicad.com I tried ASCON free KOMPAS LT but unfortunately it doesn't have STL export. http://ascon.net/download.php |
|
August 5, 2008, 14:53 |
This might be also interesting
|
#17 |
Senior Member
Billy
Join Date: Mar 2009
Posts: 167
Rep Power: 17 |
This might be also interesting:
http://www.susqu.edu/facstaff/b/brak...r/evolver.html It seems to be able to read IGES. |
|
August 5, 2008, 18:16 |
Another option is to use Googl
|
#18 |
Member
Michael Roth
Join Date: Mar 2009
Location: Guelph, Ontario, Canada
Posts: 50
Rep Power: 17 |
Another option is to use Google Sketchup (free):
http://sketchup.google.com/ Then export with the su2stl Sketchup add-on (free): http://www.crai.archi.fr/RubyLibrary...m_fil_page.htm |
|
November 17, 2008, 17:49 |
Hi,
I just stumbled on the ne
|
#19 |
Member
David Segersson
Join Date: Mar 2009
Posts: 39
Rep Power: 17 |
Hi,
I just stumbled on the new CADspan plugin for Sketchup (http://www.cadspan.com/). It seems to be a perfect tool to clean up and export water tight STL-files from Sketchup. They want a small fee for commercial users though. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Tool to convert OpenFoam mesh to SU2 mesh (2D and 3D) | Combas | SU2 | 45 | October 16, 2024 18:26 |
Literature search tool and database | jola | Main CFD Forum | 0 | December 4, 2016 14:56 |
Tool to download: SU2 post-processing | Combas | SU2 | 2 | June 5, 2014 15:55 |
Modeling of a Forging Tool. | hydro | CFX | 1 | May 19, 2010 19:35 |
[mesh manipulation] ScalePoints tool | cedric_duprat | OpenFOAM Meshing & Mesh Conversion | 6 | September 19, 2008 04:15 |