From c513ae8ccc30c302fa55fdaee9cf14dfc2ab0ce3 Mon Sep 17 00:00:00 2001
From: Henry <Henry>
Date: Tue, 5 Apr 2011 14:54:42 +0100
Subject: [PATCH] potentialFoam: Changed the sub-dict in fvSolution from SIMPLE
 to potentialFlow

---
 applications/solvers/basic/potentialFoam/readControls.H | 5 +++++
 1 file changed, 5 insertions(+)
 create mode 100644 applications/solvers/basic/potentialFoam/readControls.H

diff --git a/applications/solvers/basic/potentialFoam/readControls.H b/applications/solvers/basic/potentialFoam/readControls.H
new file mode 100644
index 00000000000..9381fd44526
--- /dev/null
+++ b/applications/solvers/basic/potentialFoam/readControls.H
@@ -0,0 +1,5 @@
+    const dictionary& potentialFlow = mesh.solutionDict().subDict("potentialFlow");
+
+    const int nNonOrthCorr =
+        potentialFlow.lookupOrDefault<int>("nNonOrthogonalCorrectors", 0);
+
-- 
GitLab