mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: sprayParcel - updated child particle count - mantis #1281
This commit is contained in:
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2014 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -285,7 +285,7 @@ void Foam::SprayParcel<ParcelType>::calcBreakup
|
|||||||
SprayParcel<ParcelType>* child = new SprayParcel<ParcelType>(*this);
|
SprayParcel<ParcelType>* child = new SprayParcel<ParcelType>(*this);
|
||||||
child->mass0() = massChild;
|
child->mass0() = massChild;
|
||||||
child->d() = dChild;
|
child->d() = dChild;
|
||||||
child->nParticle() = massChild/this->rho()*this->volume(dChild);
|
child->nParticle() = massChild/(this->rho()*this->volume(dChild));
|
||||||
|
|
||||||
const forceSuSp Fcp =
|
const forceSuSp Fcp =
|
||||||
forces.calcCoupled(*child, dt, massChild, Re, muAv);
|
forces.calcCoupled(*child, dt, massChild, Re, muAv);
|
||||||
|
|||||||
Reference in New Issue
Block a user