Mapping openFoam result files to my own FEM solver and vice versa