View Issue Details

IDProjectCategoryView StatusLast Update
0002378OpenFOAMPatchpublic2016-12-07 15:43
Reporterwyldckat Assigned Tohenry  
PrioritylowSeveritytrivialReproducibilityalways
Status resolvedResolutionfixed 
Summary0002378: Stray '-parallel' option in Allrun script
DescriptionThe attached file 'Allrun' aims to update the one located at the following directories:

 - In OpenFOAM 4.x: incompressible/pisoFoam/les/motorBike/motorBike
 - In OpenFOAM-dev: incompressible/pisoFoam/LES/motorBike/motorBike

The issue is that there is a '-parallel' argument in the 'runParallel' line for 'snappyHexMesh'.

No other similar instances were found, at least in OpenFOAM-dev, with the following command:

  find $FOAM_TUTORIALS -name "Allrun*" | xargs grep '\-parallel'
TagsNo tags attached.

Activities

wyldckat

2016-12-07 15:34

updater  

Allrun (805 bytes)   
#!/bin/sh
cd ${0%/*} || exit 1    # Run from this directory

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

# copy motorbike surface from resources directory
cp $FOAM_TUTORIALS/resources/geometry/motorBike.obj.gz constant/triSurface/

# Make dummy 0 directory
mkdir 0

runApplication blockMesh
cp system/decomposeParDict.hierarchical system/decomposeParDict
runApplication decomposePar

cp system/decomposeParDict.ptscotch system/decomposeParDict
runParallel snappyHexMesh -overwrite

find . -type f -iname "*level*" -exec rm {} \;

ls -d processor* | xargs -I {} cp -r 0.orig ./{}/0 $1

runParallel renumberMesh -overwrite

runParallel potentialFoam -initialiseUBCs

runParallel `getApplication`

#------------------------------------------------------------------------------
Allrun (805 bytes)   

henry

2016-12-07 15:43

manager   ~0007428

Resolved in OpenFOAM-4.x by commit 2fedcfd00c24e63b81ca91ca556ab99041d8cf44

Resolved in OpenFOAM-dev by commit 8dafde6048ab9c7302712447a0d3bb49f800f8f6

Issue History

Date Modified Username Field Change
2016-12-07 15:34 wyldckat New Issue
2016-12-07 15:34 wyldckat Status new => assigned
2016-12-07 15:34 wyldckat Assigned To => henry
2016-12-07 15:34 wyldckat File Added: Allrun
2016-12-07 15:43 henry Status assigned => resolved
2016-12-07 15:43 henry Resolution open => fixed
2016-12-07 15:43 henry Fixed in Version => 4.x
2016-12-07 15:43 henry Note Added: 0007428