... | ... | @@ -3,14 +3,21 @@ |
|
|
[![home](/icons/home.svg "wiki home")](/home)
|
|
|
[![packages](/icons/package.svg "packages")](/precompiled)
|
|
|
|
|
|
_Precompiled packages (MS-Windows)_
|
|
|
_Precompiled packages (MS-Windows)_ <br>
|
|
|
|
|
|
**Note:** <br>
|
|
|
<em>
|
|
|
Post-process with the [native ParaView][link paraview], for better
|
|
|
performance and easy configuration. [Do _not_ bother with the paraFoam
|
|
|
script][faq paraview].
|
|
|
</em>
|
|
|
|
|
|
[[_TOC_]]
|
|
|
|
|
|
## ![>](/icons/microsoft.svg) MS-Windows
|
|
|
|
|
|
There are currently three different ways to run OpenFOAM on MS-Windows
|
|
|
(10 or newer). These are listed in the likely order of preference:
|
|
|
There are three different ways to run OpenFOAM on MS-Windows (10 or newer).
|
|
|
These are listed in the likely order of preference:
|
|
|
|
|
|
1. [WSL/WSL2][link wsl] : Windows Subsystem for Linux<br>
|
|
|
Many OpenFOAM users like WSL (_Windows Subsystem for Linux_) since
|
... | ... | @@ -18,21 +25,14 @@ There are currently three different ways to run OpenFOAM on MS-Windows |
|
|
applications, use dynamic code compilation, and install additional
|
|
|
programs.<br>
|
|
|
Additionally, the OpenFOAM Linux packages are kept more up-to-date
|
|
|
than the cross-compiled or docker variants.
|
|
|
|
|
|
2. Native Windows: Cross-compiled Windows binaries (mingw).<br>
|
|
|
than cross-compiled or docker variants.
|
|
|
2. _Native Windows_ : Cross-compiled Windows binaries (mingw).<br>
|
|
|
Provides a quick means of using OpenFOAM on windows, but does not
|
|
|
currently include an OpenFOAM development environment
|
|
|
(ie, cannot compile code, no dynamic code)
|
|
|
|
|
|
3. Docker container: [docker-windows]<br>
|
|
|
3. _Docker container_ : [docker-windows]<br>
|
|
|
Equivalent to the WSL approach, except that the entire OpenFOAM
|
|
|
installation is _containerized_ for easier management.
|
|
|
|
|
|
___It is recommended to perform post-processing with the native
|
|
|
ParaView for Windows.___ <br>
|
|
|
This should have better performance and is easier to configure.
|
|
|
Simply [download ParaView for windows][link paraview] directly.
|
|
|
installation is managed as a _container_.
|
|
|
|
|
|
|
|
|
### Windows Subsystem for Linux
|
... | ... | @@ -61,9 +61,7 @@ https://dl.openfoam.com/source/latest/OpenFOAM-windows-mingw.exe |
|
|
|
|
|
1. **Install Docker**:
|
|
|
Follow the [Docker for windows][docker-windows] information.
|
|
|
|
|
|
2. Follow the general [OpenFOAM + Docker](/precompiled/docker)
|
|
|
information.
|
|
|
2. Follow general [OpenFOAM + Docker](/precompiled/docker) information.
|
|
|
|
|
|
|
|
|
--------
|
... | ... | @@ -73,3 +71,4 @@ Copyright (C) 2021 OpenCFD Ltd. |
|
|
[docker-windows]: https://docs.docker.com/docker-for-windows/install/
|
|
|
[link wsl]: https://docs.microsoft.com/en-gb/windows/wsl/install-win10
|
|
|
[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 |