Parallel snappyHexMesh
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 |
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 |
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) |
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 |
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. |
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. |
@Mwaqas
Post your case somewhere and let some people debug the setup. This will be the quickest way possible. |
Sounds like you want to run
Code:
snappyHexMesh -overwrite |
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! |
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 |
Quote:
Quote:
|
Getting the same Error
Quote:
I am getting the same error were you able to resolve your issue. Thank you Regards |
@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. |
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. |
All times are GMT -4. The time now is 17:22. |