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

new Solver won't run parallel

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 8, 2011, 13:00
Default new Solver won't run parallel
  #1
Senior Member
 
Christian Lucas
Join Date: Aug 2009
Location: Braunschweig, Germany
Posts: 202
Rep Power: 18
Chris Lucas is on a distinguished road
Hi,

I have modified rhoPisoFoam a bit e.g. changed the energy equation (see link below). Now the variable htot is used instead of h.

http://www.cfd-online.com/Forums/ope...-equation.html

The solver runs fine when I use one processor with one core, but when I want to run a case parallel, the simulation crashes after the htot iteration with the following error.

[morgoth:15364] *** on communicator MPI_COMM_WORLD
[morgoth:15364] *** MPI_ERR_TRUNCATE: message truncated
[morgoth:15364] *** MPI_ERRORS_ARE_FATAL (your MPI job will now abort)
--------------------------------------------------------------------------
mpirun has exited due to process rank 1 with PID 15364 on
node morgoth exiting without calling "finalize". This may
have caused other processes in the application to be
terminated by signals sent by mpirun (as reported here).
--------------------------------------------------------------------------


Do I have to make any changes to openMPI or in openFoam to make the new solver run parallel

Thanks for the help,
Christian

Chris Lucas is offline   Reply With Quote

Old   February 8, 2011, 19:26
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings Christian,

Note to other readers: if you know better than what I wrote, please also respond!

I'm not completely familiar with the way OpenFOAM handles MPI, but I believe that it should be as easy as:
  • Creating the new field with an option for using parallel.
  • Or adding the variable to the list of parallelizable variables.
  • Or some operations to the variable have to be done in a dedicated zone in the code for parallel operations.
Check the header files that are included inside the main function and check how the other variables are created and if there is a modifier somewhere that indicates them to be parallelizable... Also look for special handling of the other some variables.
Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   April 16, 2011, 11:29
Default
  #3
Senior Member
 
Fabian Braennstroem
Join Date: Mar 2009
Posts: 407
Rep Power: 19
braennstroem is on a distinguished road
Hello,

did you could fix this problem... I have the error message sometimes for standard solvers as well, but do not know the reason for this!?
I do not think that you need to update some list of fields...

Regards!
Fabian

Btw. off-topic another problem I had with the nfs stales is fixed now; the raid-controller was the bad guy.
braennstroem is offline   Reply With Quote

Old   April 18, 2011, 03:49
Default
  #4
Senior Member
 
Christian Lucas
Join Date: Aug 2009
Location: Braunschweig, Germany
Posts: 202
Rep Power: 18
Chris Lucas is on a distinguished road
Hi,

if I remember correctly, the problem was related to the command "correctBoundaryCondition" I used on a dummy field in my solver

Regards,
Christian
Chris Lucas is offline   Reply With Quote

Old   January 10, 2012, 11:30
Default
  #5
Senior Member
 
Bernhard Linseisen
Join Date: May 2010
Location: Heilbronn
Posts: 183
Blog Entries: 1
Rep Power: 16
Linse is on a distinguished road
Quote:
Originally Posted by Chris Lucas View Post
Hi,

if I remember correctly, the problem was related to the command "correctBoundaryCondition" I used on a dummy field in my solver

Regards,
Christian
Hello Christian!
You mentioned a dummy field in your solver, and at the moment I am looking for some kind of a dummy field or a dummy function myself. Can you share the code for that specific field with me? Maybe it already is the solution to my problems...
Cheers,
Bernhard
Linse 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
"Define_Profile" UDF for parallel solver Antoine Fluent UDF and Scheme Programming 9 February 29, 2016 07:09
RBF motion solver does not work well in parallel lakeat OpenFOAM Bugs 3 August 8, 2013 06:50
UDF problem with Parallel Solver manu FLUENT 0 January 24, 2008 15:31
Run in parallel a 2mesh case cosimobianchini OpenFOAM Running, Solving & CFD 2 January 11, 2007 07:33
MPICH Parallel Run Error on the Windows Server2003 Saturn CFX 3 August 29, 2006 09:42


All times are GMT -4. The time now is 04:35.