alphaControls.H
Go to the documentation of this file.
1 const dictionary& alphaControls = mesh.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
12 const bool alphaApplyPrevCorr
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
const bool alphaApplyPrevCorr(alphaControls.lookupOrDefault< Switch >("alphaApplyPrevCorr", false))
dynamicFvMesh & mesh
volScalarField & alpha1(mixture.alpha1())
const label nAlphaSubCycles(alphaControls.lookup< label >("nAlphaSubCycles"))
const label nAlphaCorr(alphaControls.lookup< label >("nAlphaCorr"))
const dictionary & alphaControls
Definition: alphaControls.H:1
const bool MULESCorr(alphaControls.lookupOrDefault< Switch >("MULESCorr", false))