SprayParcel: Copy construct mass0 data

Resolves bug report https://bugs.openfoam.org/view.php?id=4181
This commit is contained in:
Will Bainbridge
2024-11-21 16:56:15 +00:00
parent f2360fda09
commit fe01324f53

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2024 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -420,6 +420,7 @@ Foam::SprayParcel<ParcelType>::SprayParcel(const SprayParcel<ParcelType>& p)
:
ParcelType(p),
d0_(p.d0_),
mass0_(p.mass0_),
position0_(p.position0_),
sigma_(p.sigma_),
mu_(p.mu_),