From 418248709f5a45783f739b5d6d495128a2c03d93 Mon Sep 17 00:00:00 2001
From: Andrew Heather <>
Date: Wed, 11 Mar 2020 17:47:19 +0000
Subject: [PATCH] BUG: Corrected update of T field for
 energyJump[AMI]FvPatchScalarField.  See #1624

---
 .../energyJump/energyJump/energyJumpFvPatchScalarField.C        | 2 +-
 .../energyJump/energyJumpAMI/energyJumpAMIFvPatchScalarField.C  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/thermophysicalModels/basic/derivedFvPatchFields/energyJump/energyJump/energyJumpFvPatchScalarField.C b/src/thermophysicalModels/basic/derivedFvPatchFields/energyJump/energyJump/energyJumpFvPatchScalarField.C
index 2caa26dcae7..7ccaecc93f5 100644
--- a/src/thermophysicalModels/basic/derivedFvPatchFields/energyJump/energyJump/energyJumpFvPatchScalarField.C
+++ b/src/thermophysicalModels/basic/derivedFvPatchFields/energyJump/energyJump/energyJumpFvPatchScalarField.C
@@ -121,7 +121,7 @@ void Foam::energyJumpFvPatchScalarField::updateCoeffs()
             const_cast<fixedJumpFvPatchScalarField&>(TbPatch);
 
         // force update of jump
-        Tbp.updateCoeffs();
+        Tbp.evaluate(Pstream::commsTypes::blocking);
 
         const labelUList& faceCells = this->patch().faceCells();
 
diff --git a/src/thermophysicalModels/basic/derivedFvPatchFields/energyJump/energyJumpAMI/energyJumpAMIFvPatchScalarField.C b/src/thermophysicalModels/basic/derivedFvPatchFields/energyJump/energyJumpAMI/energyJumpAMIFvPatchScalarField.C
index 42b86a8c0e6..ba45de7efd5 100644
--- a/src/thermophysicalModels/basic/derivedFvPatchFields/energyJump/energyJumpAMI/energyJumpAMIFvPatchScalarField.C
+++ b/src/thermophysicalModels/basic/derivedFvPatchFields/energyJump/energyJumpAMI/energyJumpAMIFvPatchScalarField.C
@@ -121,7 +121,7 @@ void Foam::energyJumpAMIFvPatchScalarField::updateCoeffs()
             const_cast<fixedJumpAMIFvPatchScalarField&>(TbPatch);
 
         // force update of jump
-        Tbp.updateCoeffs();
+        Tbp.evaluate(Pstream::commsTypes::blocking);
 
         const labelUList& faceCells = this->patch().faceCells();
 
-- 
GitLab