mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
- Cleanup/centralize handling of -decomposeParDict by relocating common code into argList. Ensures that all processes receive identical information about the -decomposeParDict opton. - Only use alternative decomposeParDict for simpleFoam/motorBike tutorial so that this will be included in the test loop for snappy. - Added Mattijs' fix for surfaceRedistributePar.
This commit is contained in:
@ -4,14 +4,16 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
# Source tutorial run functions
|
||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||
|
||||
decompDict="-decomposeParDict system/decomposeParDict.6"
|
||||
|
||||
# copy motorbike surface from resources directory
|
||||
\cp $FOAM_TUTORIALS/resources/geometry/motorBike.obj.gz constant/triSurface/
|
||||
runApplication surfaceFeatureExtract
|
||||
|
||||
runApplication blockMesh
|
||||
|
||||
runApplication decomposePar
|
||||
runParallel snappyHexMesh -overwrite
|
||||
runApplication decomposePar $decompDict
|
||||
runParallel $decompDict snappyHexMesh -overwrite
|
||||
|
||||
#- For non-parallel running: - set the initial fields
|
||||
# restore0Dir
|
||||
@ -19,9 +21,9 @@ runParallel snappyHexMesh -overwrite
|
||||
#- For parallel running: set the initial fields
|
||||
restore0Dir -processor
|
||||
|
||||
runParallel patchSummary
|
||||
runParallel potentialFoam
|
||||
runParallel $(getApplication)
|
||||
runParallel $decompDict patchSummary
|
||||
runParallel $decompDict potentialFoam
|
||||
runParallel $decompDict $(getApplication)
|
||||
|
||||
runApplication reconstructParMesh -constant
|
||||
runApplication reconstructPar -latestTime
|
||||
|
||||
@ -28,7 +28,7 @@ simpleCoeffs
|
||||
|
||||
hierarchicalCoeffs
|
||||
{
|
||||
n (3 2 1);
|
||||
n (2 2 1);
|
||||
delta 0.001;
|
||||
order xyz;
|
||||
}
|
||||
Reference in New Issue
Block a user