mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: spray parcel - corrected calculation of tMom - mantis #565
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -246,7 +246,7 @@ void Foam::SprayParcel<ParcelType>::calcBreakup
|
||||
const scalar mass = p.mass();
|
||||
const forceSuSp Fcp = forces.calcCoupled(p, dt, mass, Re, muAv);
|
||||
const forceSuSp Fncp = forces.calcNonCoupled(p, dt, mass, Re, muAv);
|
||||
scalar tMom = 1.0/(Fcp.Sp() + Fncp.Sp());
|
||||
scalar tMom = mass/(Fcp.Sp() + Fncp.Sp());
|
||||
|
||||
const vector g = td.cloud().g().value();
|
||||
|
||||
@ -301,7 +301,7 @@ void Foam::SprayParcel<ParcelType>::calcBreakup
|
||||
child->tc() = -GREAT;
|
||||
child->ms() = 0.0;
|
||||
child->injector() = this->injector();
|
||||
child->tMom() = 1.0/(Fcp.Sp() + Fncp.Sp());
|
||||
child->tMom() = massChild/(Fcp.Sp() + Fncp.Sp());
|
||||
child->user() = 0.0;
|
||||
child->setCellValues(td, dt, cellI);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user