... | ... | @@ -13,10 +13,10 @@ curl https://dl.openfoam.com/add-debian-repo.sh | sudo bash |
|
|
sudo apt-get update
|
|
|
|
|
|
# Install preferred package. Eg,
|
|
|
sudo apt-get install openfoam2312-default
|
|
|
sudo apt-get install openfoam2406-default
|
|
|
|
|
|
# Use the openfoam shell session. Eg,
|
|
|
openfoam2312
|
|
|
openfoam2406
|
|
|
```
|
|
|
|
|
|
 The packages do ***not*** contain
|
... | ... | @@ -58,7 +58,7 @@ which conveniently [bundles several operations](#description-install-script). |
|
|
After this you should immediately be able to install your preferred
|
|
|
OpenFOAM package. For example,
|
|
|
```
|
|
|
sudo apt-get install openfoam2312-default
|
|
|
sudo apt-get install openfoam2406-default
|
|
|
```
|
|
|
If your Ubuntu installation is a somewhat older, you may also need to
|
|
|
update the signing certificates first:
|
... | ... | @@ -69,7 +69,7 @@ sudo apt-get update |
|
|
After migrating from one version to another, you can remove the old
|
|
|
version with the usual commands. For example,
|
|
|
```
|
|
|
sudo apt-get autoremove openfoam2312-default
|
|
|
sudo apt-get autoremove openfoam2406-default
|
|
|
```
|
|
|
|
|
|
### Supported versions and distributions
|
... | ... | @@ -93,9 +93,9 @@ descriptions, the following represent typical installation commands: |
|
|
|
|
|
|User Group | Command |
|
|
|
|---------------|------------------|
|
|
|
| minimalist | `sudo apt-get install openfoam2312` |
|
|
|
| traditional | `sudo apt-get install openfoam2312-dev` |
|
|
|
| everything | `sudo apt-get install openfoam2312-default` |
|
|
|
| minimalist | `sudo apt-get install openfoam2406` |
|
|
|
| traditional | `sudo apt-get install openfoam2406-dev` |
|
|
|
| everything | `sudo apt-get install openfoam2406-default` |
|
|
|
|
|
|
|
|
|
### Installation locations
|
... | ... | @@ -112,7 +112,7 @@ As documented in [precompiled packages - OpenFOAM environment](/precompiled#envi |
|
|
|
|
|
After adding the repositories and installing a particular version of
|
|
|
OpenFOAM, upgrade notifications should also appear
|
|
|
(for example for `openfoam2312`):
|
|
|
(for example for `openfoam2406`):
|
|
|
|
|
|

|
|
|
|
... | ... | @@ -155,7 +155,7 @@ export WM_PROJECT_DIR=/usr/share/openfoam |
|
|
which means you should immediately be able to install
|
|
|
your preferred OpenFOAM package. For example,
|
|
|
```
|
|
|
sudo apt-get install openfoam2312-default
|
|
|
sudo apt-get install openfoam2406-default
|
|
|
```
|
|
|
|
|
|
- <em>Cannot find MPI library</em><br/>
|
... | ... | @@ -198,7 +198,7 @@ export WM_PROJECT_DIR=/usr/share/openfoam |
|
|
```
|
|
|
|
|
|
---
|
|
|
Copyright (C) 2020-2022 OpenCFD Ltd.
|
|
|
Copyright (C) 2020-2024 OpenCFD Ltd.
|
|
|
|
|
|
[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 |