... | @@ -43,7 +43,7 @@ These are listed in the likely order of preference: |
... | @@ -43,7 +43,7 @@ These are listed in the likely order of preference: |
|
### Windows Subsystem for Linux
|
|
### Windows Subsystem for Linux
|
|
<a name="wsl"></a>
|
|
<a name="wsl"></a>
|
|
|
|
|
|
1. **Install WSL** :
|
|
1. **Install WSL/WSL2** :
|
|
The [WSL information from Microsoft][link wsl] provides extensive
|
|
The [WSL information from Microsoft][link wsl] provides extensive
|
|
information about installing and configuring WSL.
|
|
information about installing and configuring WSL.
|
|
2. **Install Linux** :
|
|
2. **Install Linux** :
|
... | @@ -54,6 +54,28 @@ These are listed in the likely order of preference: |
... | @@ -54,6 +54,28 @@ These are listed in the likely order of preference: |
|
[Ubuntu](/precompiled/debian) or [openSUSE](/precompiled/suse).
|
|
[Ubuntu](/precompiled/debian) or [openSUSE](/precompiled/suse).
|
|
|
|
|
|
|
|
|
|
|
|
***Note***
|
|
|
|
OpenFOAM requires a [case sensitive file system](https://en.wikipedia.org/wiki/Case_sensitivity) to build.
|
|
|
|
If you attempt to build OpenFOAM from a location _outside_ of the
|
|
|
|
WSL/WSL2 partition (for example a mounted drive, `/mnt/c/Users/some/path`)
|
|
|
|
this will cause issues. To avoid such problems, there are two possible solutions:
|
|
|
|
|
|
|
|
- Build OpenFOAM within the [WSL/WSL2][link wsl] partition.
|
|
|
|
This partition is case sensitive.
|
|
|
|
- *or* Create a [case sensitive folder][windows-case-sensitive] within the
|
|
|
|
Windows Partition and build OpenFOAM there.
|
|
|
|
The procedure for this approach is outlined below:
|
|
|
|
|
|
|
|
1. Create a new folder within Windows (eg, `../Documents/OpenFOAM`).
|
|
|
|
***Folder must be empty to perform the next step!***
|
|
|
|
2. Enable case sensitivity for this folder using the `fsutil.exe` utility.
|
|
|
|
This is accomplished by running the command `fsutil.exe file setCaseSensitiveInfo <path/to/folder> enable`
|
|
|
|
in PowerShell (see [case sensitivity for Windows][windows-case-sensitive])
|
|
|
|
3. From inside the [WSL/WSL2][link wsl] environment/terminal,
|
|
|
|
unpack the OpenFOAM-vXXXX.tgz/ThirdParty-vXXXX.tgz files
|
|
|
|
or clone the repositories within this folder. Build OpenFOAM.
|
|
|
|
|
|
|
|
|
|
### Native-windows
|
|
### Native-windows
|
|
<a name="native"></a>
|
|
<a name="native"></a>
|
|
|
|
|
... | @@ -71,9 +93,10 @@ https://dl.openfoam.com/source/latest/OpenFOAM-windows-mingw.exe |
... | @@ -71,9 +93,10 @@ https://dl.openfoam.com/source/latest/OpenFOAM-windows-mingw.exe |
|
|
|
|
|
--------
|
|
--------
|
|
|
|
|
|
Copyright (C) 2021-2022 OpenCFD Ltd.
|
|
Copyright (C) 2021-2023 OpenCFD Ltd.
|
|
|
|
|
|
[docker-windows]: https://docs.docker.com/docker-for-windows/install/
|
|
[docker-windows]: https://docs.docker.com/docker-for-windows/install/
|
|
[link wsl]: https://docs.microsoft.com/en-gb/windows/wsl/install-win10
|
|
[link wsl]: https://docs.microsoft.com/en-gb/windows/wsl/install-win10
|
|
|
|
[windows-case-sensitive]: https://learn.microsoft.com/en-us/windows/wsl/case-sensitivity
|
|
[link paraview]: https://www.paraview.org/download/
|
|
[link paraview]: https://www.paraview.org/download/
|
|
[faq paraview]: https://discourse.paraview.org/t/i-want-to-visualize-my-openfoam-simulation-results-with-paraview-but-im-confused-which-version-should-i-use |
|
[faq paraview]: https://discourse.paraview.org/t/i-want-to-visualize-my-openfoam-simulation-results-with-paraview-but-im-confused-which-version-should-i-use |