Running in parallel
hi dear foamers,
I am dealing with running a large case in parallel. Previously, I was doing different steps in this order : Code:
blockmesh And it worked quite well. Nevertheless, I think it was not 100% correct, because for example paraView is not able to read the decomposed case. I have to reconstruct it before to plot it. Note: I am using twice sHM because I want to snap the mesh over one object, but not over another one. Thus, I use two STL and two different sHMDict. By the way, I want to use renumberMesh, and to use sHM in parallel mode. Thus, my new steps are: Code:
blockMesh Code:
find . -type f -iname "*level*" -exec rm {} \; Second question: When I run paraView on the case, using "decomposed case", I can see the separations between the 14 different processors. Is it normal? When I try reconstructPar -zeroTime, it crashes: Code:
--> FOAM FATAL ERROR: Can anyone explain me all this process ? Why working on constant or zerotime ? Do you need anything more to help me? |
Greetings Julien,
I don't have much time to go into details, so I'll be succinct:
Best regards, Bruno |
Thanks Bruno,
I think I've catched some more about how it works. In the BlueCFD tuto, you reconstruct the Mesh (only the mesh), and then decompose again. It forces the basic case to correspond with the decomposed case. Nice! So I suppose I can copy my boundary condition just before to run the ultimate decomposition? Only once, instead of each processor? Saying: Code:
cp -r 0.org/* 0/ Code:
ls -d processor* | xargs -i cp -r 0.org/* ./{}/0/ Thanks for this tuto! |
Hi Julien,
Quote:
Bruno |
All times are GMT -4. The time now is 18:07. |