alphaControls.H
Go to the documentation of this file.
1 const dictionary& alphaControls = mesh.solverDict(alpha1.name());
2 
3 label nAlphaCorr(readLabel(alphaControls.lookup("nAlphaCorr")));
4 
5 label nAlphaSubCycles(readLabel(alphaControls.lookup("nAlphaSubCycles")));
6 
7 bool MULESCorr(alphaControls.lookupOrDefault<Switch>("MULESCorr", false));
8 
9 // Apply the compression correction from the previous iteration
10 // Improves efficiency for steady-simulations but can only be applied
11 // once the alpha field is reasonably steady, i.e. fully developed
13 (
14  alphaControls.lookupOrDefault<Switch>("alphaApplyPrevCorr", false)
15 );
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Definition: label.H:59
label nAlphaCorr(readLabel(alphaControls.lookup("nAlphaCorr")))
dynamicFvMesh & mesh
const dictionary & alphaControls
Definition: alphaControls.H:1
const volScalarField & alpha1
label readLabel(Istream &is)
Definition: label.H:64
bool alphaApplyPrevCorr(alphaControls.lookupOrDefault< Switch >("alphaApplyPrevCorr", false))
bool MULESCorr(alphaControls.lookupOrDefault< Switch >("MULESCorr", false))
label nAlphaSubCycles(readLabel(alphaControls.lookup("nAlphaSubCycles")))