mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: Minor code mods
This commit is contained in:
@ -315,8 +315,16 @@ void Foam::SprayCloud<CloudType>::motion(TrackData& td)
|
||||
scalarField Xq(liqMix.X(q.Y()));
|
||||
q.rho() = liqMix.rho(q.pc(), q.T(), Xq);
|
||||
q.Cp() = liqMix.Cp(q.pc(), q.T(), Xq);
|
||||
scalar rhs = 6.0*mq/(q.nParticle()*q.rho()*constant::mathematical::pi);
|
||||
q.d() = pow(rhs, 1.0/3.0);
|
||||
q.d() =
|
||||
cbrt
|
||||
(
|
||||
6.0*mq
|
||||
/(
|
||||
q.nParticle()
|
||||
*q.rho()
|
||||
*constant::mathematical::pi
|
||||
)
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user