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 feature edge (https://www.cfd-online.com/Forums/openfoam-meshing/89669-snappyhexmesh-feature-edge.html)

Subhasree May 17, 2016 07:43

Meshing usig snappyHexMesh
 
5 Attachment(s)
Hi Everyone!,

I have been trying to mesh using snappyHexMesh a rectangular domain with a cylinder inside. Although I was able to mesh it, the surface mesh is not that good. Also the edges with layers are having bad elements. I will be using icoLagrangianFoam solver and good surface mesh is important.

I am attaching the snappyHexMesh file.

Can anyone look through this and tell me what can i modify to improve the mesh quality.:o:o:o

Thanks in advance

Regards
Subhasree

Vignesh2508 October 30, 2016 07:26

surfaceFeatureExtract error
 
I got the following error when i tried to get the .eMesh file from the .stl file. Is there any problem with my openfoam installation. Do I need to reinstall the entire thing once again?

Code:

$ surfaceFeatureExtract -includedAngle 150 -writeObj constant/triSurface/airfoil.stl airfoil

Usage: surfaceFeatureExtract [OPTIONS]
options:
  -case <dir>      specify alternate case directory, default is the cwd
  -dict <file>      read control dictionary from specified location
  -noFunctionObjects
                    do not execute functionObjects
  -srcDoc          display source code in browser
  -doc              display application documentation in browser
  -help            print the usage

extract and write surface features to file

Using: OpenFOAM-3.0.1 (see www.OpenFOAM.org)
Build: 3.0.1-d8a290b55d28



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


FOAM exiting

Can anyone explain the reason i am getting this error message?

Antimony October 30, 2016 21:03

Hi,

Your format for surfaceFeatureExtract is based on OF-2.1 and possibly older.

The new ones from OF-2.2 require a surfaceFeatureExtractDict where you specify the includedAngle and the like...

Cheers,
Antimony


All times are GMT -4. The time now is 23:54.