CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Meshing & Mesh Conversion (https://www.cfd-online.com/Forums/openfoam-meshing/)
-   -   [snappyHexMesh] SnappyHexMesh on multi-STL geometry in foam extend (https://www.cfd-online.com/Forums/openfoam-meshing/169552-snappyhexmesh-multi-stl-geometry-foam-extend.html)

Awak April 12, 2016 22:41

SnappyHexMesh on multi-STL geometry in foam extend
 
Hello friends,

Previously I used OpenFOAM3.0+ to generate a mesh based on 12 separate STL files (the different surfaces that define my patches). In OF30+, the procedure is quite straightforward:

Quote:

blockMesh (container box for the STL geometry)
surfaceFeatureExtractDict (extract surface features from STL files)
snappyHexMesh (generate a mesh with patches)
The problem is that I now need to switch to foam-extend, and the same procedure does not apply. The surfaceFeatureExtract requires to specify a surface and an "output set", according to the following error I get:

Quote:

Usage: surfaceFeatureExtract <surface> <output set> [-DebugSwitches key1=val1,key2=val2,...] [-DimensionedConstants key1=val1,key2=val2,...] [-InfoSwitches key1=val1,key2=val2,...] [-OptimisationSwitches key1=val1,key2=val2,...] [-Tolerances key1=val1,key2=val2,...] [-case dir] [-deleteBox ((x0 y0 z0)(x1 y1 z1))] [-dumpControlSwitches] [-includedAngle included angle [0..180]] [-minElem number of edges in feature] [-minLen cumulative length of feature] [-noFunctionObjects] [-set input feature set] [-subsetBox ((x0 y0 z0)(x1 y1 z1))] [-help] [-doc] [-srcDoc]

--> FOAM FATAL ERROR:
Wrong number of arguments, expected 2 found 0

FOAM exiting
If any of you guys ever used foam-extend for such purposes, could you please explain to me what this "output set" is?

Any help would be deeply appreciated, thanks for your time guys,

Florian

Deepacfd May 18, 2017 03:27

Hi

I am facing a similar problem. Have you found the solution yet?

Antimony May 18, 2017 22:24

Hi,

Is it not the name of the output .eMesh file?

This might be similar to the surfaceFeatureExtract utility that was present in OF2.1, before it was changed to a dictionary based version in OF2.2

Hope this helps.

Cheers,
Antimony

anufagbemi December 20, 2017 16:05

snappy problem
 
Hey guys,
Please any solution to the problem? I use foam-extend 4, and it seems that foam-extend doesn't work with snappyHexMesh.
The error I'm getting, first of all it tells me that "meshQualityDict" cannot be read because
Code:

Unknown functionEntry 'includeEtc'
that was easy to correct. but now it now says that
Code:

keyword debug is undefined in dictionary "$WM_PROJECT_USER_DIR/FluidSolidInteraction/run/fsiFoam/proj/system/snappyHexMeshDict"
Please if any of you have been able to find a solution for this, please let me know.

Sam


All times are GMT -4. The time now is 05:50.