From 0110e6901867802f3ba18c2b99794add9cecbbf2 Mon Sep 17 00:00:00 2001
From: mattijs <mattijs>
Date: Thu, 17 Jun 2021 11:48:46 +0100
Subject: [PATCH] BUG: tutorial: missing writing of phi. Fixes #2124

---
 tutorials/basic/potentialFoam/cylinder/Allrun  | 2 +-
 tutorials/basic/potentialFoam/pitzDaily/Allrun | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tutorials/basic/potentialFoam/cylinder/Allrun b/tutorials/basic/potentialFoam/cylinder/Allrun
index 55c1b15236e..577a8cde7a5 100755
--- a/tutorials/basic/potentialFoam/cylinder/Allrun
+++ b/tutorials/basic/potentialFoam/cylinder/Allrun
@@ -9,7 +9,7 @@ restore0Dir
 
 runApplication blockMesh
 
-runApplication $(getApplication) -withFunctionObjects -writePhi -writep
+runApplication $(getApplication) -withFunctionObjects -writePhi -writephi -writep
 
 runApplication postProcess -func streamFunction
 
diff --git a/tutorials/basic/potentialFoam/pitzDaily/Allrun b/tutorials/basic/potentialFoam/pitzDaily/Allrun
index aa21a3a2a29..396692572ba 100755
--- a/tutorials/basic/potentialFoam/pitzDaily/Allrun
+++ b/tutorials/basic/potentialFoam/pitzDaily/Allrun
@@ -7,7 +7,7 @@ restore0Dir
 
 runApplication blockMesh
 
-runApplication $(getApplication) -writePhi -writep
+runApplication $(getApplication) -writePhi -writephi -writep
 
 runApplication postProcess -func streamFunction
 
-- 
GitLab