I have installed the OpenFOAM package via
sudo apt install openfoam
on Ubuntu, inside the Windows WSL environment. But I have no idea what version/variant of the FLOSS is installed. I tried the
blockMesh -help
hoping it would give me some information about what I am dealing with but I got the error message:
--> FOAM FATAL ERROR :
Could not find mandatory etc entry (mode=ugo)
'controlDict'
CodePudding user response:
Using the Ubuntu command
apt-cache show openfoam
I understood that I had installed the 1906.191111 dfsg1-2build1
version and the openfoam.com
variant. But this is a Ubuntu-specific solution, not a general OpenFOAM solution that works on other operating systems.
CodePudding user response:
You can run the script foamVersion
in the shell:
foamVersion
OpenFOAM-v2112 # this is the output in my case