CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

motorBike running snappyHexMesh in parallel?

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

LinkBack Thread Tools Display Modes
Old   December 5, 2011, 19:58
Default motorBike running snappyHexMesh in parallel?
Senior Member
Join Date: Mar 2009
Posts: 120
Rep Power: 10
klausb is on a distinguished road

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)


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

cp -r 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


runApplication reconstructParMesh -constant

but I couldn't get it right.

What's the trick?

klausb 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
SnappyHexMesh OF-1.6-ext crashes on a parallel run norman1981 OpenFOAM Bugs 5 December 7, 2011 13:48
Parallel mesh generation using snappyHexMesh aki_yafuji OpenFOAM Mesh Utilities 0 December 25, 2010 04: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 10: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 15:34.