CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM (
-   -   sprayEngineFoam crashes in parallel OF-2.1x (

Peter_600 February 19, 2013 11:10

sprayEngineFoam crashes in parallel OF-2.1x
Dear Foamers,

sprayEngineFoam crashes in parallel


mpirun has exited due to process rank 0 with PID 29241 on
node nusm-14 exiting improperly. There are two reasons this could occur:

1. this process did not call "init" before exiting, but others in
the job did. This can cause a job to hang indefinitely while it waits
for all processes to call "init". By rule, if one process calls "init",
then ALL processes must call "init" prior to termination.

2. this process called "init", but exited without calling "finalize".
By rule, all processes that call "init" MUST call "finalize" prior to
exiting or it will be considered an "abnormal termination"

This may have caused other processes in the application to be
terminated by signals sent by mpirun (as reported here).

I was following an bug report

Unfortunately, I couldn't solve the problem with the proposed workaround.

Has someone of you used successfully sprayEngineFoam with OF-2.1.x ?

Cheers Peter

ris February 19, 2013 17:10

Hello Peter,

I have the same problem and just want to confirm that the workaround provided on the bug report page does not work for OF2.1.x latest commit.


kalle February 20, 2013 02:55


so, there might have been changes lately in the code that renders the workaround unusable. I did not git pull since september I think, so it is about time I do an update. I also need parallel mesh motion + spray, so I'll investigate. I guess the developers have an idea to solve this later on, but for some reason they did not comment or acted upon this yet.

I'll get back here when I know more.


Peter_600 February 20, 2013 04:51

Thank you for this information!

kalle March 21, 2013 03:57

Sorry for the delay. I have migrated my code to 2.2.x recently. It seems the hack still works for my case. This time I have simply commented out all calls to





as 1D and 2D is not of interest for me anyway.

I run unsteady parallel with mesh motion (without topological changes) with coneNozzleInjection. Except that, the sprayCloudProperties is the same as aachenBomb. I guess for other configurations, you may fall in other traps.

Lets hope they find a more smooth solution.


ris March 21, 2013 18:47


I attempted the hack on OF-2.2.x for use with sprayEngineFoam and topo changes but it did not work.
I decided to use the 1st release of OF2.1.1 ( and the hack (commenting out the lines) does not work. The code will run but the simulation is incorrect in the fact that some cells are not updated with the correct information.



All times are GMT -4. The time now is 05:38.