systemDict: Added support for system as the default directory for the -dict option
With this change both
blockMesh -dict fineBlockMeshDict
blockMesh -dict system/fineBlockMeshDict
are supported, if the system/ path is not specified it is assumed
This commit is contained in:
@ -17,7 +17,7 @@ do
|
||||
|
||||
runApplication -a topoSet
|
||||
|
||||
runApplication -a refineMesh -dict system/refineMeshDict -overwrite
|
||||
runApplication -a refineMesh -dict refineMeshDict -overwrite
|
||||
done
|
||||
|
||||
runApplication snappyHexMesh -overwrite
|
||||
|
||||
@ -17,7 +17,7 @@ do
|
||||
|
||||
runApplication -a topoSet
|
||||
|
||||
runApplication -a refineMesh -dict system/refineMeshDict -overwrite
|
||||
runApplication -a refineMesh -dict refineMeshDict -overwrite
|
||||
done
|
||||
|
||||
runApplication snappyHexMesh -overwrite
|
||||
|
||||
@ -17,7 +17,7 @@ do
|
||||
|
||||
runApplication -a topoSet
|
||||
|
||||
runApplication -a refineMesh -dict system/refineMeshDict -overwrite
|
||||
runApplication -a refineMesh -dict refineMeshDict -overwrite
|
||||
done
|
||||
|
||||
runApplication snappyHexMesh -overwrite
|
||||
|
||||
@ -10,7 +10,7 @@ echo "Creating channel"
|
||||
i=1
|
||||
while [ "$i" -lt 3 ] ; do
|
||||
echo "Running extrudeMesh, instance" ${i}
|
||||
extrudeMesh -dict system/extrudeMeshDict.${i} > log.extrudeMesh.${i}
|
||||
extrudeMesh -dict extrudeMeshDict.${i} > log.extrudeMesh.${i}
|
||||
i=$((i + 1))
|
||||
done
|
||||
|
||||
|
||||
Reference in New Issue
Block a user