Install openfoam by entering the following commands in the terminal:
sudo apt update sudo apt install openfoam
Description:
Set of programs for Computational Fluid Dynamics (CFD). Binaries
OpenFOAM is the leading free, open source software for computational fluid dynamics (CFD), owned by the OpenFOAM Foundation and distributed exclusively under the General Public Licence (GPL). . Package contains binaries.
Homepage: http://openfoam.org
Version: 4.1+dfsg1-2
Section: universe/science