This document provides instructions for setting up mesh generation in FreeCAD for use with OpenFOAM simulations. It describes installing and configuring DEXCS2014, an integrated environment for OpenFOAM and FreeCAD, on an Ubuntu 14.04 system. The document then outlines lessons on using FreeCAD and DEXCS2014 to generate meshes for various geometries and export them for use in OpenFOAM simulations.