Skip to content
Snippets Groups Projects
Commit 57988335 authored by Andrew Heather's avatar Andrew Heather
Browse files

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

parent 0e5dfb1f
No related branches found
No related tags found
No related merge requests found
...@@ -6,7 +6,7 @@ ...@@ -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 ...@@ -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;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment