... | ... | @@ -30,46 +30,46 @@ repositories. |
|
|
You should now be able to install your preferred OpenFOAM package.
|
|
|
For example,
|
|
|
```
|
|
|
$ sudo apt-get install openfoam1912-default
|
|
|
$ sudo apt-get install openfoam2006-default
|
|
|
```
|
|
|
|
|
|
|
|
|
## OpenFOAM Debian Package Description
|
|
|
## OpenFOAM Debian package description
|
|
|
|
|
|
The OpenFOAM packages are currently split as follows:
|
|
|
|
|
|
- `openfoamVER-default`
|
|
|
- Meta package for everything normally needed.
|
|
|
- Includes `openfoamVER`, `openfoamVER-dev`, `openfoamVER-tutorials`
|
|
|
- Includes `openfoamVER`, `openfoamVER-dev`, `openfoamVER-tutorials`.
|
|
|
- `openfoamVER`
|
|
|
- The OpenFOAM runtime. Solvers, utilities and libraries.
|
|
|
- Solvers, utilities and libraries.
|
|
|
- `openfoamVER-dev`
|
|
|
- Source code headers and wmake build chain.
|
|
|
Needed for developing with OpenFOAM, but also if dynamic code
|
|
|
compilation is required.
|
|
|
- `openfoamVER-tutorials`
|
|
|
- tutorials
|
|
|
- Tutorials.
|
|
|
|
|
|
The following are normally only installed indirectly:
|
|
|
- `openfoamVER-common`
|
|
|
- Version information and share files (including the `etc/` directory)
|
|
|
- Version information and share files (including the `etc/` directory).
|
|
|
- `openfoamVER-tools`
|
|
|
- Binaries for OpenFOAM-specific build tools.
|
|
|
|
|
|
|
|
|
### Installation Locations
|
|
|
### Installation locations
|
|
|
|
|
|
The main OpenFOAM files are all installed under `/usr/lib/openfoam`,
|
|
|
which permits multiple versions to be installed simultaneously.
|
|
|
For example,
|
|
|
- `/usr/lib/openfoam/openfoam1912`.
|
|
|
- `/usr/lib/openfoam/openfoam2006`.
|
|
|
...
|
|
|
- `/usr/lib/openfoam/openfoam2006`
|
|
|
- `/usr/lib/openfoam/openfoam1912`
|
|
|
- ...
|
|
|
|
|
|
In addition, an OpenFOAM bash session wrapper will be created under
|
|
|
`/usr/bin`. For example,
|
|
|
- `/usr/bin/openfoam1912`
|
|
|
- `/usr/bin/openfoam2006`
|
|
|
- `/usr/bin/openfoam1912`
|
|
|
- ...
|
|
|
|
|
|
|
... | ... | @@ -78,17 +78,17 @@ In addition, an OpenFOAM bash session wrapper will be created under |
|
|
The bash session wrapper provide the simplest means of starting
|
|
|
OpenFOAM immediately. For example,
|
|
|
```
|
|
|
$ openfoam1912
|
|
|
$ openfoam2006
|
|
|
```
|
|
|
This can be used for an interactive bash session, or to run a single
|
|
|
This can be used for an interactive `bash` session, or to run a single
|
|
|
OpenFOAM command within the OpenFOAM environment.
|
|
|
|
|
|
|
|
|
For a persistent OpenFOAM environment, the OpenFOAM bashrc file can be
|
|
|
sourced from your ~/.bashrc file by adding a line resembling the
|
|
|
For a persistent OpenFOAM environment, the OpenFOAM `bashrc` file can be
|
|
|
sourced from your `~/.bashrc` file by adding a line resembling the
|
|
|
following to that file:
|
|
|
```
|
|
|
source /usr/lib/openfoam/openfoam1912/etc/bashrc
|
|
|
source /usr/lib/openfoam/openfoam2006/etc/bashrc
|
|
|
```
|
|
|
The exact path used will change depending on the OpenFOAM version.
|
|
|
|
... | ... | |