|
[Sponsors] |
![]() |
![]() |
#1 |
Senior Member
saeideh mohamadi
Join Date: Aug 2012
Posts: 229
Rep Power: 15 ![]() |
hi dear fomers, i am working on multi element arifoils, i make the mesh using snappyHexMesh, then for using this mesh with simpleFoam i run "extrudeMesh"
my problem is the cprner of slat that is good till extrudeMesh didn't run. i put the pictures before and after the extrudeMesh. any body could help me? thanks to all ![]() |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,268
Blog Entries: 1
Rep Power: 25 ![]() |
Dear saide
look at this post i think if you add several layers around your airfoil, problem will be solved on given post there are is a test case which may help you
__________________
My Personal Website (http://nimasamkhaniani.ir/) Telegram channel (https://t.me/cfd_foam) |
|
![]() |
![]() |
![]() |
![]() |
#3 | |
Senior Member
saeideh mohamadi
Join Date: Aug 2012
Posts: 229
Rep Power: 15 ![]() |
Quote:
i did what you said me, but i didn't get good results ![]() i attach some pictures of the corners of the elements |
||
![]() |
![]() |
![]() |
![]() |
#4 |
Senior Member
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,268
Blog Entries: 1
Rep Power: 25 ![]() |
dear saide
![]() 1) whats wrong? 2) why just two layers?
__________________
My Personal Website (http://nimasamkhaniani.ir/) Telegram channel (https://t.me/cfd_foam) |
|
![]() |
![]() |
![]() |
![]() |
#5 |
Senior Member
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 27 ![]() |
Hi Saideh
this error occurred when I run blockMesh on your snappyHexMesh file: Code:
Create time --> FOAM FATAL IO ERROR: Cannot open include file "/home/ehsan/Desktop/airfoil_snappyHexMesh/system/forceCoeffs" while reading dictionary "/home/ehsan/Desktop/airfoil_snappyHexMesh/system/controlDict.functions" file: /home/ehsan/Desktop/airfoil_snappyHexMesh/system/controlDict at line 49. From function functionEntries::includeEntry::includeEntry(dictionary& parentDict, Istream&) in file db/dictionary/functionEntries/includeEntry/includeEntry.C at line 120. FOAM exiting
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King. To Be or Not To Be,Thats the Question! The Only Stupid Question Is the One that Goes Unasked. |
|
![]() |
![]() |
![]() |
![]() |
#6 |
Senior Member
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,268
Blog Entries: 1
Rep Power: 25 ![]() |
-------------------------------------------------------------------
__________________
My Personal Website (http://nimasamkhaniani.ir/) Telegram channel (https://t.me/cfd_foam) Last edited by nimasam; June 2, 2013 at 13:53. |
|
![]() |
![]() |
![]() |
![]() |
#7 |
Senior Member
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 27 ![]() |
![]() be more patient please! yes its related. Saideh wanted me help her but I wasn't familiar with snappyHexMesh and the files she gave me displayed an error on blockMesh that I wrote and noticed her to her thread. ![]()
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King. To Be or Not To Be,Thats the Question! The Only Stupid Question Is the One that Goes Unasked. |
|
![]() |
![]() |
![]() |
![]() |
#8 |
Senior Member
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,268
Blog Entries: 1
Rep Power: 25 ![]() |
----------------------------------------------------------
__________________
My Personal Website (http://nimasamkhaniani.ir/) Telegram channel (https://t.me/cfd_foam) Last edited by nimasam; June 2, 2013 at 13:54. |
|
![]() |
![]() |
![]() |
![]() |
#9 |
Senior Member
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 27 ![]() |
I think its better to help her than trying to answer me.
![]() ![]() ![]() anyway,please have a look into the error if you can so that I can help her by her case. ![]()
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King. To Be or Not To Be,Thats the Question! The Only Stupid Question Is the One that Goes Unasked. |
|
![]() |
![]() |
![]() |
![]() |
#10 |
Senior Member
saeideh mohamadi
Join Date: Aug 2012
Posts: 229
Rep Power: 15 ![]() |
||
![]() |
![]() |
![]() |
![]() |
#11 | |
Senior Member
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,268
Blog Entries: 1
Rep Power: 25 ![]() |
Quote:
well answer is there: (read error carefully ![]() Code:
Cannot open include file "/home/ehsan/Desktop/airfoil_snappyHexMesh/system/forceCoeffs" while reading dictionary "/home/ehsan/Desktop/airfoil_snappyHexMesh/system/controlDict.functions" ![]()
__________________
My Personal Website (http://nimasamkhaniani.ir/) Telegram channel (https://t.me/cfd_foam) |
||
![]() |
![]() |
![]() |
![]() |
#12 | |
Senior Member
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,268
Blog Entries: 1
Rep Power: 25 ![]() |
Quote:
![]() ![]()
__________________
My Personal Website (http://nimasamkhaniani.ir/) Telegram channel (https://t.me/cfd_foam) |
||
![]() |
![]() |
![]() |
![]() |
#13 | |
Senior Member
saeideh mohamadi
Join Date: Aug 2012
Posts: 229
Rep Power: 15 ![]() |
Quote:
yes i forget to put the include function that i had been written in the controlDict of airfoil_snappyHexMesh folder. sorry. here you are, these are the complete folders in the attachment. thank you very much ![]() Last edited by s.m; June 7, 2013 at 14:09. |
||
![]() |
![]() |
![]() |
![]() |
#14 |
Senior Member
saeideh mohamadi
Join Date: Aug 2012
Posts: 229
Rep Power: 15 ![]() |
||
![]() |
![]() |
![]() |
![]() |
#15 |
Senior Member
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 27 ![]() |
dear Saideh in doing this command:
Code:
surfaceFeatureExtract -includedAngle 150 -writeObj constant/triSurface/airfoil.stl airfoil 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
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King. To Be or Not To Be,Thats the Question! The Only Stupid Question Is the One that Goes Unasked. |
|
![]() |
![]() |
![]() |
![]() |
#16 | |
Senior Member
saeideh mohamadi
Join Date: Aug 2012
Posts: 229
Rep Power: 15 ![]() |
Quote:
![]() 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. Last edited by s.m; June 7, 2013 at 14:10. |
||
![]() |
![]() |
![]() |
![]() |
#17 | |
Senior Member
saeideh mohamadi
Join Date: Aug 2012
Posts: 229
Rep Power: 15 ![]() |
Quote:
these pictures are the results of runningSHM with five layers.. |
||
![]() |
![]() |
![]() |
![]() |
#18 |
Senior Member
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,268
Blog Entries: 1
Rep Power: 25 ![]() |
dear saide
check which side of 3D body, are you going to extrude? are both sides (front and back) are the same?
__________________
My Personal Website (http://nimasamkhaniani.ir/) Telegram channel (https://t.me/cfd_foam) |
|
![]() |
![]() |
![]() |
![]() |
#19 |
Senior Member
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 27 ![]() |
you're welcome.Saideh it executes fine till extrudeMesh
I don't know why it doesn't open.I use OF 2.2.0 Code:
Create time Create mesh for time = 0 --> FOAM FATAL IO ERROR: cannot open file file: /home/ehsan/Desktop/airfoil_simpleFoam/system/extrudeMeshDict at line 0. From function regIOobject::readStream() in file db/regIOobject/regIOobjectRead.C at line 87. FOAM exiting
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King. To Be or Not To Be,Thats the Question! The Only Stupid Question Is the One that Goes Unasked. |
|
![]() |
![]() |
![]() |
![]() |
#20 | |
Senior Member
saeideh mohamadi
Join Date: Aug 2012
Posts: 229
Rep Power: 15 ![]() |
Quote:
after finishing the 2th step of snappHexMesh you should go two the airfoil_simpleFoam_modified that i attach for you, in this folder you should execute "extrudeMesh", after fininshing extrudeMesh, i create polyMesh in the constant folder of airfoil_simpleFoam_modified. p-s: before running the extrudeMesh in terminal,please copy the name of aifoil_snappyHexMesh_modified2 folder, and past it in front of (sourceCase "../(here)" ![]() tahnk you very much again ![]() |
||
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[mesh manipulation] extrudeMesh from STL Surface | TRT | OpenFOAM Meshing & Mesh Conversion | 1 | March 26, 2018 07:15 |
[mesh manipulation] Generating 3-D axisymmetric mesh using extrudeMesh | martyn88 | OpenFOAM Meshing & Mesh Conversion | 17 | June 21, 2017 19:42 |
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 00:41 |