LTS, MULES and sub-cycling: Improved the handling of the rSubDeltaT field
This commit is contained in:
@ -96,7 +96,10 @@ void Foam::MULES::correct
|
||||
if (LTS)
|
||||
{
|
||||
const volScalarField& rDeltaT =
|
||||
mesh.objectRegistry::lookupObject<volScalarField>("rSubDeltaT");
|
||||
mesh.objectRegistry::lookupObject<volScalarField>
|
||||
(
|
||||
mesh.time().subCycling() ? "rSubDeltaT" : "rDeltaT"
|
||||
);
|
||||
|
||||
limitCorr
|
||||
(
|
||||
|
||||
@ -118,7 +118,10 @@ void Foam::MULES::explicitSolve
|
||||
if (LTS)
|
||||
{
|
||||
const volScalarField& rDeltaT =
|
||||
mesh.objectRegistry::lookupObject<volScalarField>("rSubDeltaT");
|
||||
mesh.objectRegistry::lookupObject<volScalarField>
|
||||
(
|
||||
mesh.time().subCycling() ? "rSubDeltaT" : "rDeltaT"
|
||||
);
|
||||
|
||||
limit
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user