|
[Sponsors] |
[surface handling] Separate feature file per STL from surfaceFeatureExtract |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 2, 2023, 12:30 |
Separate feature file per STL from surfaceFeatureExtract
|
#1 |
Senior Member
Join Date: Sep 2017
Posts: 246
Rep Power: 12 |
I'm using surfaceFeatureExtract to extract feature edges from a collection of different STL files. Is there a slick way to specify multiple .stl file names, and get a separate .eMesh.gz file for each? The motivation is that different levels of refinement are used at different edges, so the STL names are a good way to keep track of them.
It is possible that I am abusing surfaceFeatureExtract, which gives a message about "only valid on closed manifold surfaces". I'm presuming it's OK to ignore that message? -- the workflow has been fine in Foundation-style OpenFOAM 10 (using surfaceFeatures). In OF10, I can specify a list of surfaces. The controls seem to be just lying around in the file -- I presume they take effect (or maybe I have been using the defaults all these years). Code:
FoamFile { version 8.0; format ascii; class dictionary; object surfaceFeaturesDict; } surfaces ( "w-floor.stl" "w-outside.stl" "w-sides.stl" ); includedAngle 150; trimFeatures { minElem 1; } writeObj yes; Code:
FoamFile { version 8.0; format ascii; class dictionary; object surfaceFeatureExtractDict; } multiple123 { surfaces (".*stl"); extractionMethod extractFromSurface; includedAngle 150; writeObj yes; trimFeatures{ minElem 1; minLen 0.01; } subsetFeatures{ openEdges yes; } loadingOption file; } |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[snappyHexMesh] stringing of feature edges | Hr_kules | OpenFOAM Meshing & Mesh Conversion | 0 | July 22, 2022 09:30 |
[OpenFOAM.org] Error creating ParaView-4.1.0 OpenFOAM 2.3.0 | tlcoons | OpenFOAM Installation | 13 | April 20, 2016 18:34 |
[OpenFOAM] Annoying issue of automatic "Rescale to Data Range " with paraFoam/paraview 3.12 | keepfit | ParaView | 60 | September 18, 2013 04:23 |
[swak4Foam] build problem swak4Foam OF 2.2.0 | mcathela | OpenFOAM Community Contributions | 14 | April 23, 2013 14:59 |
OpenFOAM on MinGW crosscompiler hosted on Linux | allenzhao | OpenFOAM Installation | 127 | January 30, 2009 20:08 |