CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Pre-Processing

SnappyHexMesh& extrudeMesh

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree10Likes

Reply
 
LinkBack Thread Tools Display Modes
Old   January 29, 2014, 06:17
Default
  #41
Member
 
Mehdi GHOZALI
Join Date: May 2013
Location: Dubai, UAE
Posts: 65
Rep Power: 5
Dadou is on a distinguished road
Quote:
Originally Posted by nimasam View Post
well, you may want to add surfaceFeatureExtractDict to your system folder, and edit it appropriately
Hi again,

I'm sorry to bother you again but it's not working. I edit the surfaceFeatureExtractDict, it takes care of 3 .STL files but still the same error : " FOAM FATAL ERROR :
Wrong number of arguments, expected 0 found3
Invalid option: -includedAngle

FOAM exittimg"

Best Regards,

Dadou
Dadou is offline   Reply With Quote

Old   January 29, 2014, 09:50
Default
  #42
Member
 
Mehdi GHOZALI
Join Date: May 2013
Location: Dubai, UAE
Posts: 65
Rep Power: 5
Dadou is on a distinguished road
Quote:
Originally Posted by Dadou View Post
Hi again,

I'm sorry to bother you again but it's not working. I edit the surfaceFeatureExtractDict, it takes care of 3 .STL files but still the same error : " FOAM FATAL ERROR :
Wrong number of arguments, expected 0 found3
Invalid option: -includedAngle

FOAM exittimg"

Best Regards,

Dadou

I just figured out the problem.
I'm using OpenFOAM 2.2.2 and the option -includedAngle doesn't exist anymore. You just have to write surfaceFeatureExtract and you will have your extrudeMesh.

Dadou
Bachduong likes this.
Dadou is offline   Reply With Quote

Old   August 5, 2016, 06:20
Default Dear immortality
  #43
New Member
 
Anuj
Join Date: Jun 2016
Posts: 2
Rep Power: 0
Anuj1411 is on a distinguished road
Quote:
Originally Posted by immortality View Post
dear Saideh in doing this command:
Code:
surfaceFeatureExtract -includedAngle 150 -writeObj constant/triSurface/airfoil.stl airfoil
this error displayed:
Code:
Create time

Reading surfaceFeatureExtractDict



--> FOAM FATAL IO ERROR: 
cannot open file

file: /home/ehsan/Desktop/airfoil_snappyHexMesh_modified/system/surfaceFeatureExtractDict at line 0.

    From function regIOobject::readStream()
    in file db/regIOobject/regIOobjectRead.C at line 87.

FOAM exiting

ehsan@Ehsan-com:~/Desktop/airfoil_snappyHexMesh_modified$ 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-2.2.0 (see www.OpenFOAM.org)
Build: 2.2.0-b363e8d14789



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


FOAM exiting
I'm totally unfamiliar with snappyHexMesh commands if I have run it mistakenly.
.................I have been facing a similar problem and for the same problem for airfoil, where the command line returns:
--> FOAM FATAL ERROR:
Wrong number of arguments, expected 0 found 3
Invalid option: -writeObj
Invalid option: -includedAngle

Please could you share the solution to this problem with me??
Anuj1411 is offline   Reply With Quote

Old   August 11, 2016, 04:16
Default surfaceFeatureExtract
  #44
New Member
 
Anuj
Join Date: Jun 2016
Posts: 2
Rep Power: 0
Anuj1411 is on a distinguished road
Quote:
Originally Posted by s.m View Post
Dear ehsan, thank you very much for your kind attention.
i put in the attachment the airfoil_snappyHexMesh_modified2 , please open the allrun in this folder, i write in it that you just should run blockMesh and after that snappyHexMesh in two steps as you see in the allrun.txt.
.................I have been facing a similar problem and for the same problem for airfoil, where the command line returns:
--> FOAM FATAL ERROR:
Wrong number of arguments, expected 0 found 3
Invalid option: -writeObj
Invalid option: -includedAngle

Please could you share the solution to this problem with me??
Anuj1411 is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Generating 3-D axisymmetric mesh using extrudeMesh martyn88 OpenFOAM Meshing & Mesh Conversion 11 August 23, 2016 05:59
extrudeMesh from STL Surface TRT OpenFOAM Meshing & Mesh Conversion 0 April 19, 2012 15:32
extrudeMesh - odd behaviour grjmell OpenFOAM 0 September 20, 2011 08:41
extrudeMesh from patch Lodda OpenFOAM 4 August 15, 2011 10:35
BIG Problem in extrudeMesh! wind_fyp OpenFOAM 0 January 28, 2010 01:41


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