|
[Sponsors] |
[CAD formats] Clean / Repair STL file with multiple regions on command line |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 15, 2016, 20:30 |
Clean / Repair STL file with multiple regions on command line
|
#1 |
New Member
Matthias D
Join Date: Mar 2016
Posts: 11
Rep Power: 10 |
Hi,
I have a STL file, which I later want to process via snappyHexMesh. But first I have to "clean" the file and fill some holes in it. My problem is: The file is very large! So when I try tools with a GUI (like salome, netfabb-basic, ...), they usually crash or are very slow and tedious to work with. Therefor I am looking for a command line solution. I found "admesh", which is easy to use and does a great job. The only downside: I did not manage to use admesh on a STL file with multiple regions. As I am not sure if regions is the correct term here, what I mean are several solid blocks within one file: Code:
solid region1 ... endsolid region1 solid region2 ... endsolid region 2 1. I want to different refinement levels within SHM for those regions 2. I can later apply different material properties (in my case heating rates) to those regions. But as I said: So far I was not able to do this with admesh, as it produces an error when reading a multi region STL file. Do you either know a way to make this work with admesh? Or do you maybe know of a command line tool, which is capable of the described tasks? Additionally I want to add: I am quite new to CFD and OpenFOAM. So if you have comments on my general approach, this is also much appreciated: 1. I generate the STL-files from GeoTiff-files. 2. I cat the different STL-files together in one big file. 3. This works pretty well so far. The STL-surface looks good and there is no gap where two regions touch. 4. Now I would like to clean/repair the one big file with the different regions. I hope you can help me and I appreciate every hint or suggestion! Thank you very much in advance, Matthias |
|
Tags |
admesh, mesh, openfoam, snappyhexmesh, stl |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[foam-extend.org] Problems installing foam-extend-4.0 on openSUSE 42.2 and Ubuntu 16.04 | ordinary | OpenFOAM Installation | 19 | September 3, 2019 18:13 |
OpenFoam "Permission denied" and "command not found" problems. | iyidaniel@yahoo.co.uk | OpenFOAM Running, Solving & CFD | 11 | January 2, 2018 06:47 |
[OpenFOAM.org] Compile OF 2.3 on Mac OS X .... the patch | gschaider | OpenFOAM Installation | 225 | August 25, 2015 19:43 |
[OpenFOAM] Annoying issue of automatic "Rescale to Data Range " with paraFoam/paraview 3.12 | keepfit | ParaView | 60 | September 18, 2013 03:23 |
Version 15 on Mac OS X | gschaider | OpenFOAM Installation | 113 | December 2, 2009 10:23 |