This repository has been archived on 2023-11-20. You can view files and clone it, but cannot push or open issues or pull requests.
foam-extend4.1-coherent-io/applications/solvers/surfaceTracking/bubbleInterTrackFoam/include/readBubbleSIMPLEControls.H

16 lines
376 B
C
Raw Normal View History

const dictionary& simple = mesh.solutionDict().subDict("SIMPLE");
int nTimeCorr = 0;
if (simple.found("nTimeCorrectors"))
{
nTimeCorr = readInt(simple.lookup("nTimeCorrectors"));
}
int nNonOrthCorr = 0;
if (simple.found("nNonOrthogonalCorrectors"))
{
nNonOrthCorr = readInt(simple.lookup("nNonOrthogonalCorrectors"));
}