mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: MPPICParcel: removed increments to a parcel's age in correction steps
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2013 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2013-2014 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -95,12 +95,16 @@ bool Foam::MPPICParcel<ParcelType>::move
|
||||
|
||||
scalar f = p.stepFraction();
|
||||
|
||||
scalar a = p.age();
|
||||
|
||||
p.U() = (1.0 - f)*p.UCorrect();
|
||||
|
||||
ParcelType::move(td, trackTime);
|
||||
|
||||
p.U() = U + (p.stepFraction() - f)*p.UCorrect();
|
||||
|
||||
p.age() = a;
|
||||
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user