BUG: ManualInjection - corrected for non-zero SOI. See #2096

This commit is contained in:
Andrew Heather
2022-04-29 22:11:21 +01:00
parent 0e5dfb1f64
commit 579883354a

View File

@ -6,7 +6,7 @@
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
Copyright (C) 2011-2017 OpenFOAM Foundation Copyright (C) 2011-2017 OpenFOAM Foundation
Copyright (C) 2015-2020 OpenCFD Ltd. Copyright (C) 2015-2022 OpenCFD Ltd.
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
This file is part of OpenFOAM. This file is part of OpenFOAM.
@ -159,7 +159,7 @@ Foam::scalar Foam::ManualInjection<CloudType>::timeEnd() const
{ {
// Injection is instantaneous - but allow for a finite interval to // Injection is instantaneous - but allow for a finite interval to
// avoid numerical issues when interval is zero // avoid numerical issues when interval is zero
return ROOTVSMALL; return this->SOI_ + SMALL;
} }