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

[snappyHexMesh] snappyHexMesh feature edge

Register Blogs Community New Posts Updated Threads Search

Like Tree18Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 17, 2016, 07:43
Default Meshing usig snappyHexMesh
  #61
New Member
 
Subhasree
Join Date: Mar 2014
Location: IIT Bombay, India
Posts: 25
Rep Power: 12
Subhasree is on a distinguished road
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.

Thanks in advance

Regards
Subhasree
Attached Images
File Type: png 1.png (15.3 KB, 70 views)
File Type: png 2.png (37.8 KB, 71 views)
File Type: png 3.png (65.0 KB, 77 views)
File Type: png 4.png (31.2 KB, 64 views)
Attached Files
File Type: gz snappyHexMeshDict.tar.gz (3.4 KB, 4 views)
Subhasree is offline   Reply With Quote

Old   October 30, 2016, 07:26
Default surfaceFeatureExtract error
  #62
Member
 
Vignesh Rajendiran
Join Date: Aug 2016
Location: Chennai, India
Posts: 62
Rep Power: 9
Vignesh2508 is on a distinguished road
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?
Vignesh2508 is offline   Reply With Quote

Old   October 30, 2016, 21:03
Default
  #63
Senior Member
 
Join Date: Aug 2013
Posts: 407
Rep Power: 15
Antimony is on a distinguished road
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
Antimony 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
[snappyHexMesh] Failed Edge Snap with box geometry and correct feature capture thiagomarinho OpenFOAM Meshing & Mesh Conversion 7 May 7, 2022 09:19
how to set periodic boundary conditions Ganesh FLUENT 15 November 18, 2020 06:09
[snappyHexMesh] snappyHexMesh: Feature snapping of thin membrane edge gooofy OpenFOAM Meshing & Mesh Conversion 7 September 19, 2016 04:29
[snappyHexMesh] snappyHexMesh doesn't do feature edge snapping wc34071209 OpenFOAM Meshing & Mesh Conversion 1 May 7, 2014 16:47
fluent add additional zones for the mesh file SSL FLUENT 2 January 26, 2008 11:55


All times are GMT -4. The time now is 14:55.