"docs/GETTING_STARTED.md" did not exist on "c2352d5260868e6ad119d751914424923a16c95a"
alphaControls.H 669 Bytes
Newer Older
shunbo's avatar
shunbo committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
const dictionary& alphaControls = mesh.solverDict(alpha1.name());

label nAlphaCorr(alphaControls.get<label>("nAlphaCorr"));

label nAlphaSubCycles(alphaControls.get<label>("nAlphaSubCycles"));

bool MULESCorr(alphaControls.getOrDefault("MULESCorr", false));

// Apply the compression correction from the previous iteration
// Improves efficiency for steady-simulations but can only be applied
// once the alpha field is reasonably steady, i.e. fully developed
//bool alphaApplyPrevCorr
//(
//    alphaControls.getOrDefault("alphaApplyPrevCorr", false)
//);

// Isotropic compression coefficient
scalar icAlpha
(
    alphaControls.getOrDefault<scalar>("icAlpha", 0)
);