|
[Sponsors] |
May 28, 2013, 12:17 |
SnappyHexMesh& extrudeMesh
|
#1 |
Senior Member
saeideh mohamadi
Join Date: Aug 2012
Posts: 229
Rep Power: 14 |
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 |
|
May 29, 2013, 09:33 |
|
#2 |
Senior Member
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,266
Blog Entries: 1
Rep Power: 24 |
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) |
|
June 2, 2013, 09:02 |
|
#3 | |
Senior Member
saeideh mohamadi
Join Date: Aug 2012
Posts: 229
Rep Power: 14 |
Quote:
i did what you said me, but i didn't get good results i attach some pictures of the corners of the elements |
||
June 2, 2013, 10:32 |
|
#4 |
Senior Member
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,266
Blog Entries: 1
Rep Power: 24 |
dear saide
1) whats wrong? 2) why just two layers?
__________________
My Personal Website (http://nimasamkhaniani.ir/) Telegram channel (https://t.me/cfd_foam) |
|
June 2, 2013, 11:12 |
|
#5 |
Senior Member
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 26 |
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. |
|
June 2, 2013, 11:33 |
|
#6 |
Senior Member
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,266
Blog Entries: 1
Rep Power: 24 |
-------------------------------------------------------------------
__________________
My Personal Website (http://nimasamkhaniani.ir/) Telegram channel (https://t.me/cfd_foam) Last edited by nimasam; June 2, 2013 at 13:53. |
|
June 2, 2013, 11:39 |
|
#7 |
Senior Member
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 26 |
dear Nima
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. |
|
June 2, 2013, 11:48 |
|
#8 |
Senior Member
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,266
Blog Entries: 1
Rep Power: 24 |
----------------------------------------------------------
__________________
My Personal Website (http://nimasamkhaniani.ir/) Telegram channel (https://t.me/cfd_foam) Last edited by nimasam; June 2, 2013 at 13:54. |
|
June 2, 2013, 11:56 |
|
#9 |
Senior Member
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 26 |
I think its better to help her than trying to answer me.as I know your posts were irrelevant dear Nima.you didn't know whats the matter and unfortunately now persist on your mistake.its nice that people accept their mistakes than keep them!
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. |
|
June 2, 2013, 12:01 |
|
#10 |
Senior Member
saeideh mohamadi
Join Date: Aug 2012
Posts: 229
Rep Power: 14 |
||
June 2, 2013, 12:04 |
|
#11 | |
Senior Member
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,266
Blog Entries: 1
Rep Power: 24 |
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) |
||
June 2, 2013, 12:12 |
|
#12 |
Senior Member
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,266
Blog Entries: 1
Rep Power: 24 |
why not but i suggest to increase it to forexample 5 layers and post results here , i guess it will improve
__________________
My Personal Website (http://nimasamkhaniani.ir/) Telegram channel (https://t.me/cfd_foam) |
|
June 2, 2013, 12:32 |
|
#13 | |
Senior Member
saeideh mohamadi
Join Date: Aug 2012
Posts: 229
Rep Power: 14 |
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. |
||
June 2, 2013, 12:37 |
|
#14 |
Senior Member
saeideh mohamadi
Join Date: Aug 2012
Posts: 229
Rep Power: 14 |
||
June 2, 2013, 13:11 |
|
#15 |
Senior Member
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 26 |
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. |
|
June 2, 2013, 13:31 |
|
#16 | |
Senior Member
saeideh mohamadi
Join Date: Aug 2012
Posts: 229
Rep Power: 14 |
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. |
||
June 2, 2013, 13:35 |
|
#17 | |
Senior Member
saeideh mohamadi
Join Date: Aug 2012
Posts: 229
Rep Power: 14 |
Quote:
these pictures are the results of runningSHM with five layers.. |
||
June 2, 2013, 13:59 |
|
#18 |
Senior Member
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,266
Blog Entries: 1
Rep Power: 24 |
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) |
|
June 2, 2013, 15:47 |
|
#19 |
Senior Member
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 26 |
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. |
|
June 2, 2013, 16:41 |
|
#20 | |
Senior Member
saeideh mohamadi
Join Date: Aug 2012
Posts: 229
Rep Power: 14 |
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)") in extrudeMeshDict. after that, execute extrudeMesh.by executing the extrudeMesh, it extrude the mesh that the name of it's folder have been written in front of sourceCase in extrudeMeshDict tahnk you very much again |
||
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
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 |