diff --git a/src/harmonicmaps.cc b/src/harmonicmaps.cc
index bb4ad886831b8145d83e3a4ddccc5b960f6eab0b..cdb65ce8a0797492589b6471de4bd547929a2e60 100644
--- a/src/harmonicmaps.cc
+++ b/src/harmonicmaps.cc
@@ -277,7 +277,7 @@ int main (int argc, char *argv[]) try
                (new VTKBasisGridFunction<FEBasis,EmbeddedVectorType>(feBasis, xEmbedded, "orientation"));
     vtkWriter.addVertexData(vtkVectorField);
 
-    vtkWriter.write("resultGrid");
+    vtkWriter.write(resultPath + "_" + energy + "_result");
 
     // //////////////////////////////////////////////////////////
     //   Recompute and compare against exact solution