From 8c7e1e13afdbd5699e6a12e193ce1b1e11f4390e Mon Sep 17 00:00:00 2001 From: andy Date: Mon, 28 Feb 2011 11:58:22 +0000 Subject: [PATCH] ENH: Updated kinematic and thermo cloud sources --- .../clouds/Templates/KinematicCloud/KinematicCloudI.H | 2 +- .../intermediate/clouds/Templates/ThermoCloud/ThermoCloudI.H | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lagrangian/intermediate/clouds/Templates/KinematicCloud/KinematicCloudI.H b/src/lagrangian/intermediate/clouds/Templates/KinematicCloud/KinematicCloudI.H index 41aae6135a..baa0f0141d 100644 --- a/src/lagrangian/intermediate/clouds/Templates/KinematicCloud/KinematicCloudI.H +++ b/src/lagrangian/intermediate/clouds/Templates/KinematicCloud/KinematicCloudI.H @@ -334,7 +334,7 @@ Foam::KinematicCloud::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 diff --git a/src/lagrangian/intermediate/clouds/Templates/ThermoCloud/ThermoCloudI.H b/src/lagrangian/intermediate/clouds/Templates/ThermoCloud/ThermoCloudI.H index 36166041ea..c774133cb0 100644 --- a/src/lagrangian/intermediate/clouds/Templates/ThermoCloud/ThermoCloudI.H +++ b/src/lagrangian/intermediate/clouds/Templates/ThermoCloud/ThermoCloudI.H @@ -141,7 +141,7 @@ Foam::ThermoCloud::Sh(volScalarField& hs) const return hsTrans()/(this->mesh().V()*this->db().time().deltaT()) - + fvm::SuSp(-hsCoeff()/(Cp*this->mesh().V()), hs) + - fvm::Sp(hsCoeff()/(Cp*this->mesh().V()), hs) + hsCoeff()/(Cp*this->mesh().V())*hs; } else