mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
LTS: Simplify the selection of LTS operation
This commit is contained in:
@ -73,7 +73,6 @@ License
|
||||
}
|
||||
|
||||
// Reaction source time scale
|
||||
if (alphaTemp < 1.0)
|
||||
{
|
||||
volScalarField::DimensionedInternalField rDeltaTT
|
||||
(
|
||||
|
||||
@ -175,9 +175,7 @@ void Foam::twoPhaseSystem::solve()
|
||||
label nAlphaSubCycles(readLabel(alphaControls.lookup("nAlphaSubCycles")));
|
||||
label nAlphaCorr(readLabel(alphaControls.lookup("nAlphaCorr")));
|
||||
|
||||
bool LTS =
|
||||
word(mesh.ddtScheme("default"))
|
||||
== fv::localEulerDdtScheme<scalar>::typeName;
|
||||
bool LTS = fv::localEulerDdt::enabled(mesh);
|
||||
|
||||
word alphaScheme("div(phi," + alpha1.name() + ')');
|
||||
word alpharScheme("div(phir," + alpha1.name() + ')');
|
||||
|
||||
Reference in New Issue
Block a user