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

[snappyHexMesh] SnappyHexMesh on multi-STL geometry in foam extend

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 12, 2016, 22:41
Default SnappyHexMesh on multi-STL geometry in foam extend
  #1
New Member
 
Florian Nguyen
Join Date: Oct 2015
Location: Tokyo, Japan
Posts: 19
Rep Power: 11
Awak is on a distinguished road
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
Awak is offline   Reply With Quote

Old   May 18, 2017, 03:27
Default
  #2
New Member
 
Deepa Vedartham
Join Date: Sep 2016
Posts: 3
Rep Power: 10
Deepacfd is on a distinguished road
Hi

I am facing a similar problem. Have you found the solution yet?
Deepacfd is offline   Reply With Quote

Old   May 18, 2017, 22:24
Default
  #3
Senior Member
 
Join Date: Aug 2013
Posts: 407
Rep Power: 16
Antimony is on a distinguished road
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
Antimony is offline   Reply With Quote

Old   December 20, 2017, 16:05
Default snappy problem
  #4
New Member
 
Sam
Join Date: Nov 2017
Posts: 24
Rep Power: 9
anufagbemi is on a distinguished road
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
anufagbemi is offline   Reply With Quote

Reply


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
[Salome] Salome import "Cannot find file "points" in directory..." mismichael OpenFOAM Meshing & Mesh Conversion 6 June 24, 2024 04:17
[snappyHexMesh] snappyHexMesh error "Cannot determine normal vector from patches." lethu OpenFOAM Meshing & Mesh Conversion 1 June 3, 2020 08:49
[snappyHexMesh] How to define to right point for locationInMesh Mirage12 OpenFOAM Meshing & Mesh Conversion 7 March 13, 2016 15:07
[snappyHexMesh] What types of stl files are needed in snappyhexmesh? phandy OpenFOAM Meshing & Mesh Conversion 1 February 19, 2015 06:36
is internalField(U) equivalent to zeroGradient? immortality OpenFOAM Running, Solving & CFD 7 March 29, 2013 02:27


All times are GMT -4. The time now is 17:10.