ENH: Updated kinematic and thermo cloud sources

This commit is contained in:
andy
2011-02-28 11:58:22 +00:00
parent da12c41f15
commit 6036c90d2a
2 changed files with 2 additions and 2 deletions

View File

@ -334,7 +334,7 @@ Foam::KinematicCloud<CloudType>::SU(volVectorField& U) const
{
return
UTrans()/(mesh_.V()*this->db().time().deltaT())
+ fvm::SuSp(-UCoeff()/mesh_.V(), U)
- fvm::Sp(UCoeff()/mesh_.V(), U)
+ UCoeff()/mesh_.V()*U;
}
else

View File

@ -141,7 +141,7 @@ Foam::ThermoCloud<CloudType>::Sh(volScalarField& hs) const
return
hsTrans()/(this->mesh().V()*this->db().time().deltaT())
+ fvm::SuSp(-hsCoeff()/(Cp*this->mesh().V()), hs)
- fvm::SuSp(hsCoeff()/(Cp*this->mesh().V()), hs)
+ hsCoeff()/(Cp*this->mesh().V())*hs;
}
else