View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002378 | OpenFOAM | Patch | public | 2016-12-07 15:34 | 2016-12-07 15:43 |
Reporter | wyldckat | Assigned To | henry | ||
Priority | low | Severity | trivial | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Summary | 0002378: Stray '-parallel' option in Allrun script | ||||
Description | The 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' | ||||
Tags | No tags attached. | ||||
|
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` #------------------------------------------------------------------------------ |
|
Resolved in OpenFOAM-4.x by commit 2fedcfd00c24e63b81ca91ca556ab99041d8cf44 Resolved in OpenFOAM-dev by commit 8dafde6048ab9c7302712447a0d3bb49f800f8f6 |
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 |