diff --git a/cxxfem/src/femPost.cpp b/cxxfem/src/femPost.cpp
index 2c8448161e3ad71ab34372ce2292bff086df27bc..1c4119ef30d1fed3832df50c139a937a69ba2940 100644
--- a/cxxfem/src/femPost.cpp
+++ b/cxxfem/src/femPost.cpp
@@ -305,7 +305,10 @@ void Post::write()
 {
     gmsh::option::setNumber("Mesh.Binary", 1); // writes files in binary format
 
-    gmsh::write("mesh.opt"); //  save the options
+    gmsh::write("post.opt"); //  save the options
+    // some data is missing in mesh.opt (mesh deformation)
+    //      View[i].UseGeneralizedRaise = 1;
+    //      View[i].GeneralizedRaiseView = 3;
     gmsh::write("mesh.msh"); //  only save the mesh
 
     // save the views (without the mesh)
diff --git a/fossils.py b/fossils.py
index ced959d4f716e345a1d361951cde709253ac9bf1..c8767a74b03b50f39dc0ca356d6316cf9c240189 100644
--- a/fossils.py
+++ b/fossils.py
@@ -111,7 +111,7 @@ def view_results():
     gmsh.option.setNumber("General.Verbosity", 3)
     # load views from the option file
     views = []
-    with open('mesh.opt') as f:
+    with open('post.opt') as f:
         import re
         viewregex = re.compile('View\[(.+)\].FileName = "(.+)";')
         for l in f.readlines():
@@ -123,7 +123,7 @@ def view_results():
         print(f'loading "{v[1]}"')
         gmsh.merge(v[1])
     print('loading options...')
-    gmsh.merge('mesh.opt')
+    gmsh.merge('post.opt')
     print('starting Gmsh GUI, please wait...')
     gmsh.fltk.run()
 
@@ -267,12 +267,12 @@ if __name__ == "__main__":
         
         create_workspace(workspace, testname)
 
-        tee = cxxfem.Tee('stdout.txt')  # split streams (stdout + logfile)
-
         try:
             if action == 'run':
+                tee = cxxfem.Tee('stdout.txt')  # split streams (stdout + logfile)
                 run_simulation(testname)
             elif action == 'post':
+                tee = cxxfem.Tee('post.txt')
                 view_results()
         except Exception as err:
             print(f'\n** ERROR: {err}\n')