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/)
-   -   [Other] Why surfaceFeatureExtract don't work on OF 2.3.x (https://www.cfd-online.com/Forums/openfoam-meshing/141479-why-surfacefeatureextract-dont-work-2-3-x.html)

aminem September 9, 2014 03:30

Why surfaceFeatureExtract don't work on OF 2.3.x
 
I have openfoam 2.3.x work on windows 7 with cygwin64

I have this error message

instruction :
surfaceFeatureExtract -includedAngle 150 -writeObj constant/triSurface/airfoil.stl airfoil

error:

--> FOAM FATAL ERROR:
Wrong number of arguments, expected 0 found 3
Invalid option: -writeObj
Invalid option: -includedAngle


Thanks

wc34071209 October 13, 2014 10:54

Quote:

Originally Posted by aminem (Post 509616)
I have openfoam 2.3.x work on windows 7 with cygwin64

I have this error message

instruction :
surfaceFeatureExtract -includedAngle 150 -writeObj constant/triSurface/airfoil.stl airfoil

error:

--> FOAM FATAL ERROR:
Wrong number of arguments, expected 0 found 3
Invalid option: -writeObj
Invalid option: -includedAngle


Thanks

Hi,

I think the surfaceFeatureExtract has been modified in v2.3.X which means you don't need to specify the command line but instead write a surfaceFeatureExtractDict file in the system folder.

bcarteron October 14, 2014 08:00

Hi,

You have to use the file surfaceFeatureExtractDict. You can find this file in the tutorials directory in flange case.
After that the command line is just surfaceFeatureExtract.

Have a good one.

aminem October 14, 2014 08:09

problem resolved
 
Hi,
I have use surfaceFeatureExtractDict and it's work well
Thanks


All times are GMT -4. The time now is 07:42.