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

Multithreading with OpenFOAM

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 23, 2009, 06:49
Default Multithreading with OpenFOAM
  #1
Member
 
Join Date: Jun 2009
Posts: 36
Rep Power: 16
dipling is on a distinguished road
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
dipling is offline   Reply With Quote

Old   June 23, 2009, 14:41
Default
  #2
Senior Member
 
akidess's Avatar
 
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 29
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, 12:56
Default
  #3
Senior Member
 
Rishi .
Join Date: Mar 2009
Posts: 149
Rep Power: 17
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

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
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 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


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