Open wyldckat opened 2 years ago
Note: OpenFOAM 12 has changed things considerably, so it's not easy to test this out-of-the-box with an old case.
TODO Adopting the long path support in general, i.e. UNC variant of the path when the path is too long, e.g. asLongPath
in the class fileName
.
-case
argument with the UNC form of the current path, if need-be, in order for it to be inherited.This comment is a follow up to what was done in the following commits:
snappyHexMesh
uses an interesting feature from OpenFOAM: it can lookup feature edge mesh files and triSurface files from both the current processor folder and the root folder of the case.Now, this is nice and all, but on Windows it leads to the issue where the case folder might use one convention of folder name and the feature edge mesh folder/path uses another, e.g.:
This means that the method
Foam::fileOperations::masterUncollatedFileOperation::filePath
will not work properly on Windows.The workaround is to use show path names for everything or perhaps enforce both paths to use UNC, but still...