potentialFoam: Changed the sub-dict in fvSolution from SIMPLE to potentialFlow

This commit is contained in:
Henry 2011-04-05 14:56:41 +01:00
parent c513ae8ccc
commit d057de7128
2 changed files with 3 additions and 2 deletions

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2004-2010 OpenCFD Ltd.
\\ / A nd | Copyright (C) 2004-2011 OpenCFD Ltd.
\\/ M anipulation |
-------------------------------------------------------------------------------
License

View File

@ -1,4 +1,5 @@
const dictionary& potentialFlow = mesh.solutionDict().subDict("potentialFlow");
const dictionary& potentialFlow =
mesh.solutionDict().subDict("potentialFlow");
const int nNonOrthCorr =
potentialFlow.lookupOrDefault<int>("nNonOrthogonalCorrectors", 0);