Free and open source alternative to COMSOL is OpenFoam, which implements some of the COMSOL functionality.

The following steps will illustrate the installation of COMSOL-5.0 on CentOS7 Linux operating system. Other flavor of Linux has similar installation steps. Linux version of the software can be downloaded from the link