From c3f30630e45ebdabde0573aa087ec7dd041b33e1 Mon Sep 17 00:00:00 2001 From: Henry Weller Date: Wed, 4 Apr 2018 22:05:19 +0100 Subject: [PATCH] compressibleInterFoam::TEqn: De-reference the dimensioned internal field of the sources Minor change to make it simpler to change the set of sources. --- applications/solvers/multiphase/compressibleInterFoam/TEqn.H | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/applications/solvers/multiphase/compressibleInterFoam/TEqn.H b/applications/solvers/multiphase/compressibleInterFoam/TEqn.H index 135fb5ee8..bf7a4bfc2 100644 --- a/applications/solvers/multiphase/compressibleInterFoam/TEqn.H +++ b/applications/solvers/multiphase/compressibleInterFoam/TEqn.H @@ -4,8 +4,8 @@ fvm::ddt(rho, T) + fvm::div(rhoPhi, T) - fvm::Sp(contErr, T) - fvm::laplacian(turbulence.alphaEff(), T) + ( - fvc::div(fvc::absolute(phi, U), p)() - contErr/rho*p - + (fvc::ddt(rho, K) + fvc::div(rhoPhi, K))() - contErr*K + fvc::div(fvc::absolute(phi, U), p)()() - contErr/rho*p + + (fvc::ddt(rho, K) + fvc::div(rhoPhi, K))()() - contErr*K ) *( alpha1()/mixture.thermo1().Cv()()