systemDict: Consistent handling of the -dict option
The -dict option is now handled correctly and consistently across all applications with -dict options. The logic associated with doing so has been centralised. If a relative path is given to the -dict option, then it is assumed to be relative to the case directory. If an absolute path is given, then it is used without reference to the case directory. In both cases, if the path is found to be a directory, then the standard dictionary name is appended to the path. Resolves bug report http://bugs.openfoam.org/view.php?id=3692
This commit is contained in:
@ -10,9 +10,9 @@ application=$(getApplication)
|
||||
runApplication blockMesh
|
||||
runApplication transformPoints "scale=(1.6666 1 1)"
|
||||
|
||||
runApplication mirrorMesh -dict mirrorMeshDict.x -overwrite
|
||||
runApplication mirrorMesh -dict system/mirrorMeshDict.x -overwrite
|
||||
rm log.mirrorMesh
|
||||
runApplication mirrorMesh -dict mirrorMeshDict.y -overwrite
|
||||
runApplication mirrorMesh -dict system/mirrorMeshDict.y -overwrite
|
||||
|
||||
runApplication topoSet
|
||||
runApplication createPatch -overwrite
|
||||
|
||||
Reference in New Issue
Block a user