CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM

Multithreading with OpenFOAM

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   June 23, 2009, 05:49
Default Multithreading with OpenFOAM
Join Date: Jun 2009
Posts: 36
Rep Power: 10
dipling is on a distinguished road

i studied the UserGuide.pdf and one (i think important topic) is to use the multithreading ability of OpenFOAM. In the guide it is described for the example interFoam. Can I use the commandline:

"mpirun -np 4 (i have 4 cores) dieselFoam (e.g.) - parallel" for every calculation? Of course before split the files with decomposePar...

thanks for answers and sorry for my poor english
dipling is offline   Reply With Quote

Old   June 23, 2009, 13:41
Senior Member
akidess's Avatar
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,264
Rep Power: 23
akidess will become famous soon enough
Unless your grid is so small the communication overhead slows down the solution, I don't see a problem.
akidess is offline   Reply With Quote

Old   June 25, 2009, 11:56
Senior Member
Rishi .
Join Date: Mar 2009
Posts: 144
Rep Power: 10
hellorishi is on a distinguished road
or you could use a shorter command for running in parallel.

foamJob -p icoFoam

This is an alias for the mpirun command and it also stores a log file. You can follow the contents of log file by "tailf"
hellorishi is offline   Reply With Quote


Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Superlinear speedup in OpenFOAM 13 msrinath80 OpenFOAM Running, Solving & CFD 18 March 3, 2015 06:36
64bitrhel5 OF installation instructions mirko OpenFOAM Installation 2 August 12, 2008 18:07
Adventure of fisrst openfoam installation on Ubuntu 710 jussi OpenFOAM Installation 0 April 24, 2008 14:25
The OpenFOAM extensions project mbeaudoin OpenFOAM 16 October 9, 2007 09:33
OpenFOAM Debian packaging current status problems and TODOs oseen OpenFOAM Installation 9 August 26, 2007 13:50

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