mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: Updated kinematic and thermo cloud sources
This commit is contained in:
@ -334,7 +334,7 @@ Foam::KinematicCloud<CloudType>::SU(volVectorField& U) const
|
|||||||
{
|
{
|
||||||
return
|
return
|
||||||
UTrans()/(mesh_.V()*this->db().time().deltaT())
|
UTrans()/(mesh_.V()*this->db().time().deltaT())
|
||||||
+ fvm::SuSp(-UCoeff()/mesh_.V(), U)
|
- fvm::Sp(UCoeff()/mesh_.V(), U)
|
||||||
+ UCoeff()/mesh_.V()*U;
|
+ UCoeff()/mesh_.V()*U;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
@ -141,7 +141,7 @@ Foam::ThermoCloud<CloudType>::Sh(volScalarField& hs) const
|
|||||||
|
|
||||||
return
|
return
|
||||||
hsTrans()/(this->mesh().V()*this->db().time().deltaT())
|
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;
|
+ hsCoeff()/(Cp*this->mesh().V())*hs;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user