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/sloshingInterTrackFoam/readInterfaceSIMPLEControls.H

15 lines
376 B
C

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"));
}