All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
alphaControls.H
Go to the documentation of this file.
1 const dictionary& alphaControls = mesh.solution().solverDict(alpha1.name());
2 
3 const label nAlphaCorr(alphaControls.lookup<label>("nAlphaCorr"));
4 
5 const label nAlphaSubCycles(alphaControls.lookup<label>("nAlphaSubCycles"));
6 
7 const 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 );
const label nAlphaSubCycles(alphaControls.lookup< label >("nAlphaSubCycles"))
const dictionary & alphaControls
Definition: alphaControls.H:1
const bool MULESCorr(alphaControls.lookupOrDefault< Switch >("MULESCorr", false))
const label nAlphaCorr(alphaControls.lookup< label >("nAlphaCorr"))
const bool alphaApplyPrevCorr(alphaControls.lookupOrDefault< Switch >("alphaApplyPrevCorr", false))
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