Function to load the Ensight Gold file format in Matlab, including separate vector/ scalar variables listed in the encas/case file.
Result is a tree-like struct with all variables.
Be aware this function was only tested with Fluent 12-exported files with triangle/tetrahedal elements. Other formats will likely require some small changes.
If you have any problems/ found bugs, please contact me by e-mail.
Added support for automatic loading of non-triangular faces and for static simulations.
Small edits to make it more robust for other *.geo file formats containing multiple element types. Those element types are ignored (around line 190 of the code).