|
[Sponsors] |
July 14, 2014, 08:06 |
Parallel snappyHexMesh
|
#1 |
Senior Member
|
Hi everyone
I am using snappyHexMesh for my geometry (simple cylinder). when I run my program in parallel, I get meshed geometry. but when I try to use simple (not parallel), I get only background mesh (not cylinder). It means my case is ok, may be I am writing wrong command in terminal widows. I write following commands. 1) blockMesh 2) surfaceFeatureExtract 3) snappyHexMesh Can you please tell me, all these commands are fine or not. Thank you |
|
July 17, 2014, 03:30 |
|
#2 |
Senior Member
matej forman
Join Date: Mar 2009
Location: Brno, Czech Republic
Posts: 182
Rep Power: 17 |
all these commands are OK. Can you post the output of the commands which do not work? which version of OF are you using? More info = better chance to get answer which helps you.
matej |
|
July 17, 2014, 08:23 |
|
#3 |
Senior Member
|
OF is 2.3.0 Ubuntu 13.10
All these commands are working properly, I dont get any error. But when I open Paraview I get only background Mesh (cube). I dont get my geometry (cylinder). But for some case (without any change in snappyHexMeshdict, blockMeschdict and stl.), when I run in parallel I get my geometry (cylinder) |
|
July 17, 2014, 10:54 |
|
#4 |
Senior Member
matej forman
Join Date: Mar 2009
Location: Brno, Czech Republic
Posts: 182
Rep Power: 17 |
Hmmm... I'm just wondering. Running the case in paralel means, you do the snappyHexMesh with mpirun and then do the reconstrutParMesh ?
Are you writting intermediate mesh (you set it in snappyHexMesh) or you overwrite the mesh into 0 direcotory? Your new mesh is where? in constant directory, in 0 direcotry or in 1 or 2 direcotry? Still hard to say where the problem is. Matej |
|
July 17, 2014, 14:01 |
|
#5 |
Senior Member
|
Yes I am running snappyHexMesh with mpirun and then do the reconstrutParMesh.
I am not writing any intermediate Mesh. And my new mesh is constant directory. |
|
July 23, 2014, 08:04 |
|
#6 |
Senior Member
matej forman
Join Date: Mar 2009
Location: Brno, Czech Republic
Posts: 182
Rep Power: 17 |
hmmmm... and if you would write some intermediate meshes, would you have them in serial as well as in parallel case?
It is just very strange problem or I am missing something. |
|
July 23, 2014, 08:55 |
|
#7 |
Senior Member
Daniel P. Combest
Join Date: Mar 2009
Location: St. Louis, USA
Posts: 621
Rep Power: 0 |
@Mwaqas
Post your case somewhere and let some people debug the setup. This will be the quickest way possible. |
|
September 4, 2014, 14:39 |
|
#9 | |
New Member
Khiem Pham
Join Date: Nov 2013
Posts: 23
Rep Power: 12 |
Hi guys.
My OF is 2.3.0 and Ubuntu 14.04. I try to run tutorial https://www.hpc.ntnu.no/display/hpc/...l+Calculations (2d airfoil), but i have a problem when i write command "surfaceFeatureExtract", Quote:
Thanks! |
||
September 5, 2014, 03:41 |
|
#10 |
Senior Member
matej forman
Join Date: Mar 2009
Location: Brno, Czech Republic
Posts: 182
Rep Power: 17 |
Hi,
there is nothing wrong, only oportunity for you start reading the error messages the FOAM is spitting out. For example in your case, it writes: cannot open file file: /home/bachduong/OpenFOAM/bachduong-2.3.0/run/tutorials/incompressible/pimpleDyMFoam/airfoil/airfoil_snappyHexMesh/system/surfaceFeatureExtractDict at line 0. meaning it needs the file surfaceFeatureExtractDict, where you specify the parameters (which surface and what angle of triangles it should read as feature and which to ignore) you will find plenty examples among tutorials. good luck matej |
|
September 5, 2014, 06:37 |
|
#11 | ||
New Member
Khiem Pham
Join Date: Nov 2013
Posts: 23
Rep Power: 12 |
Quote:
Quote:
|
|||
February 9, 2017, 16:47 |
Getting the same Error
|
#12 | |
Senior Member
Himanshu Sharma
Join Date: Jul 2012
Posts: 101
Rep Power: 13 |
Quote:
I am getting the same error were you able to resolve your issue. Thank you Regards |
||
February 10, 2017, 06:49 |
|
#13 |
Member
power
Join Date: Jun 2014
Posts: 86
Rep Power: 11 |
@Bachduong,
you should check your snappyHexMeshDict file because it seems the cell zone refinements are not well defined. Based on my small experience, I can say only this. |
|
February 10, 2017, 11:07 |
|
#14 | |
Senior Member
Himanshu Sharma
Join Date: Jul 2012
Posts: 101
Rep Power: 13 |
Quote:
Thanks for the reply. I Figured out the problem, the issue was that I had an old mesh "Point" file copied to my poly mesh folder and I was running the snappyHexMesh with that file, Hence the error. |
||
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[snappyHexMesh] snappyHexMesh in parallel | shailesh.nitk | OpenFOAM Meshing & Mesh Conversion | 33 | January 25, 2022 10:35 |
Error running openfoam in parallel | fede32 | OpenFOAM Programming & Development | 5 | October 4, 2018 16:38 |
[snappyHexMesh] SnappyHexMesh in parallel missing 0 folder | libindaniel2000 | OpenFOAM Meshing & Mesh Conversion | 0 | May 26, 2016 22:46 |
[snappyHexMesh] SnappyHexMesh in Parallel problem | swifty | OpenFOAM Meshing & Mesh Conversion | 10 | November 6, 2015 04:40 |
Explicitly filtered LES | saeedi | Main CFD Forum | 16 | October 14, 2015 11:58 |