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:
Henry Weller
2021-07-02 21:05:47 +01:00
parent 677defdc5c
commit 78977d3259
18 changed files with 49 additions and 25 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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