|
[Sponsors] |
June 23, 2009, 06:49 |
Multithreading with OpenFOAM
|
#1 |
Member
Join Date: Jun 2009
Posts: 36
Rep Power: 17 |
Hello,
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 |
|
June 23, 2009, 14:41 |
|
#2 |
Senior Member
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 30 |
Unless your grid is so small the communication overhead slows down the solution, I don't see a problem.
|
|
June 25, 2009, 12:56 |
|
#3 |
Senior Member
Rishi .
Join Date: Mar 2009
Posts: 149
Rep Power: 17 |
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" |
|
|
|
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 19:07 |
Adventure of fisrst openfoam installation on Ubuntu 710 | jussi | OpenFOAM Installation | 0 | April 24, 2008 15:25 |
The OpenFOAM extensions project | mbeaudoin | OpenFOAM | 16 | October 9, 2007 10:33 |
OpenFOAM Debian packaging current status problems and TODOs | oseen | OpenFOAM Installation | 9 | August 26, 2007 14:50 |