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
|
||||
UTrans()/(mesh_.V()*this->db().time().deltaT())
|
||||
+ fvm::SuSp(-UCoeff()/mesh_.V(), U)
|
||||
- fvm::Sp(UCoeff()/mesh_.V(), U)
|
||||
+ UCoeff()/mesh_.V()*U;
|
||||
}
|
||||
else
|
||||
|
||||
@ -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
|
||||
|
||||
Reference in New Issue
Block a user