shm in parallel with simple decomposition
1 Attachment(s)
Hi, I need some help getting SHM to run in parallel on OF 2.1.1
Here is my script: Code:
echo Started At Code:
/*--------------------------------*- C++ -*----------------------------------*\ Code:
--> FOAM FATAL ERROR: |
Hello,
You should try the command "reconstructParMesh" instead of "reconstructPar". Regards, Aurelien |
Quote:
running it with -time 0 as parameter does not work. |
You can't recreate the folder 0 from the parallel output of snappyHexMesh (or at least I'm not aware of such a capability of OpenFOAM). You have to build it by hand before the 2nd call to decomposePar.
blockMesh surfaceFeatureExtract -includedAngle 150 -writeObj constant/triSurface/capri.stl capri decomposePar (you may need to copy paste the capri.eMesh file in the folders processori) mpirun -np 4 snappyHexMesh -overwrite -parallel reconstructParMesh -constant (Not sure about the -constant option, this command allow you to have the whole mesh in the folder ./constant/polyMesh ) Here you check that your folder ./0 is OK decomposePar mpirun -np 4 rhoSimplecFoam -parallel reconstructPar -latestTime (this option is optionnal) |
Not sure if the previous answers solved your problem but I had the same error when trying to decompose a case with Processor 0, Processor 1, etc. folders already in it. Removing them fixed it for me.
|
if I got your problem right the processor folders are causing
the error messages so you could use the force flag to avoid deleting them separately and they will automatically be overwritten: decomposePar -force decomposeParMesh -force for further hints on what flags are available type: decomposePar --help decomposeParMesh --help regards |
take care that the -force option will delete all your processor* directories even if the times to decompose do not overlap those already decomposed.
|
All times are GMT -4. The time now is 17:35. |