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

motorBike running snappyHexMesh in parallel?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 5, 2011, 18:58
Default motorBike running snappyHexMesh in parallel?
  #1
Senior Member
 
Klaus
Join Date: Mar 2009
Posts: 250
Rep Power: 22
klausb will become famous soon enough
Hello,

what needs to be changed in the Allrun file to run snappyHexMesh, potentialFoam and simpleFoam in parallel on a quad core processor to make the most out of the hardware? (motorBike case)

----------------------------------------------------------------------

#!/bin/sh
# Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/RunFunctions

cp -r 0.org 0 > /dev/null 2>&1

runApplication blockMesh
runApplication snappyHexMesh -overwrite
runApplication decomposePar
runParallel potentialFoam 4 -noFunctionObjects -writep
runParallel `getApplication` 4
runApplication reconstructPar

-----------------------------------------------------------------------

I played with


runApplication decomposePar

runParallel snappyHexMesh 4 -overwrite

and

runApplication reconstructParMesh -constant

but I couldn't get it right.

What's the trick?

Klaus
klausb 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
SnappyHexMesh OF-1.6-ext crashes on a parallel run norman1981 OpenFOAM Bugs 5 December 7, 2011 12:48
[snappyHexMesh] Parallel mesh generation using snappyHexMesh aki_yafuji OpenFOAM Meshing & Mesh Conversion 0 December 25, 2010 03:49
Parallel case setup boundry conditions snappyhexmesh oskar OpenFOAM Pre-Processing 5 September 11, 2009 01:12
Statically Compiling OpenFOAM Issues herzfeldd OpenFOAM Installation 21 January 6, 2009 09:38
Kubuntu uses dash breaks All scripts in tutorials platopus OpenFOAM Bugs 8 April 15, 2008 07:52


All times are GMT -4. The time now is 09:24.