<p>Use the following link (section Getting started) to make a new directory and run an in built tutorial:</p>

<p><a href="https://openfoam.org/download/8-ubuntu/" target="_blank">Link for commands to run a turotial</a>&nbsp;&nbsp;</p>

<p>FOr convenience, the commands are listed below:</p>

<p>cd $HOME<br />
mkdir OpenFOAM<br />
cd OpenFOAM<br />
mkdir MyDirectory<br />
cd MyDirectory<br />
mkdir -p $FOAM_RUN<br />
cd $FOAM_RUN<br />
cp -r $FOAM_TUTORIALS/incompressible/simpleFoam/pitzDaily .<br />
cd pitzDaily<br />
blockMesh<br />
simpleFoam<br />
paraFoam</p>