-
|
OpenFOAM tends to rely on very long paths for some tutorials and source code folder structure. To workaround this, there are a few strategies, which will be explained in the answer below. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Solutions:
Enabling support for 8.3 filenames and extensionsSource of where this information was retrieved from: HOWTO: Enabling 8.3 file name creation in Windows
|
Beta Was this translation helpful? Give feedback.
Solutions:
Use virtual drives, namely to use the
substcommand to create a virtual drive that points to the starting path of interest, therefore ignoring all of the original path. This is used for compiling OpenFOAM in blueCFD-Core, by assigning theX:drive to where blueCFD-Core was installed.To rely on the short-file name and extensions which were inherited from the MS-DOS era, namely the 8.3
name.extensionformat. This feature is not always turned on (e.g. on Microsoft's Windows Server editions) and if by any chance you cannot use thesubstcommand, then the other alternative is to enable this feature and reboot the server (good luck convincing your IT admin to do that). The instr…