CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM

sprayEngineFoam crashes in parallel OF-2.1x

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 19, 2013, 10:10
Default sprayEngineFoam crashes in parallel OF-2.1x
  #1
Senior Member
 
Join Date: Oct 2009
Posts: 140
Rep Power: 16
Peter_600 is on a distinguished road
Dear Foamers,

sprayEngineFoam crashes in parallel

Quote:
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

http://www.openfoam.org/mantisbt/view.php?id=577

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
Peter_600 is offline   Reply With Quote

Old   February 19, 2013, 16:10
Default
  #2
ris
Member
 
ri
Join Date: Oct 2012
Posts: 34
Rep Power: 13
ris is on a distinguished road
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.

ris.
ris is offline   Reply With Quote

Old   February 20, 2013, 01:55
Default
  #3
Senior Member
 
Karl-Johan Nogenmyr
Join Date: Mar 2009
Location: Linköping
Posts: 279
Rep Power: 21
kalle is on a distinguished road
Hi,

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.

K
kalle is offline   Reply With Quote

Old   February 20, 2013, 03:51
Default
  #4
Senior Member
 
Join Date: Oct 2009
Posts: 140
Rep Power: 16
Peter_600 is on a distinguished road
Thank you for this information!
Peter_600 is offline   Reply With Quote

Old   March 21, 2013, 02:57
Default
  #5
Senior Member
 
Karl-Johan Nogenmyr
Join Date: Mar 2009
Location: Linköping
Posts: 279
Rep Power: 21
kalle is on a distinguished road
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

meshTools::constrainToMeshCentre
meshTools::constrainDirection

in

src/lagrangian/intermediate/submodels/Kinematic/InjectionModel/InjectionModel/InjectionModel.C

src/lagrangian/intermediate/parcels/Templates/KinematicParcel/KinematicParcel.C

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.

K
kalle is offline   Reply With Quote

Old   March 21, 2013, 17:47
Default
  #6
ris
Member
 
ri
Join Date: Oct 2012
Posts: 34
Rep Power: 13
ris is on a distinguished road
Hello,

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 (http://sourceforge.net/projects/foam/files/foam/2.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.

regards,

ris

Last edited by ris; March 27, 2013 at 13:34.
ris is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Moving mesh still crashes in parallel in 1.6-ext paul b OpenFOAM Running, Solving & CFD 36 February 17, 2014 08:35
Parallel runs with sonicDyMFoam crashes (works fine with sonicFoam) jnilsson OpenFOAM Running, Solving & CFD 0 March 9, 2012 06:45
SnappyHexMesh OF-1.6-ext crashes on a parallel run norman1981 OpenFOAM Bugs 5 December 7, 2011 12:48
Moving mesh crashes in parallel (1.5-dev) jploz OpenFOAM Programming & Development 8 October 21, 2009 17:22
Solver crashes (PVM parallel) Marco Müller CFX 2 February 4, 2009 02:51


All times are GMT -4. The time now is 02:51.