From bb4cde58e33be072bea8fb528c4453ed8cb5a933 Mon Sep 17 00:00:00 2001 From: andy Date: Wed, 24 Oct 2012 17:20:22 +0100 Subject: [PATCH] ENH: Updates to temperature jump BC --- .../temperatureJump/temperatureJumpFvPatchScalarField.C | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/thermophysicalModels/basic/derivedFvPatchFields/temperatureJump/temperatureJumpFvPatchScalarField.C b/src/thermophysicalModels/basic/derivedFvPatchFields/temperatureJump/temperatureJumpFvPatchScalarField.C index 22828d79c7..ad33df0ddd 100644 --- a/src/thermophysicalModels/basic/derivedFvPatchFields/temperatureJump/temperatureJumpFvPatchScalarField.C +++ b/src/thermophysicalModels/basic/derivedFvPatchFields/temperatureJump/temperatureJumpFvPatchScalarField.C @@ -61,12 +61,11 @@ Foam::temperatureJumpFvPatchScalarField::temperatureJumpFvPatchScalarField ) : fixedJumpFvPatchField(p, iF), - jumpTable_(new DataEntry("jumpTable")) + jumpTable_(0) { - if (this->cyclicPatch().owner()) { - jumpTable_ = DataEntry::New("jumpTable", dict); + jumpTable_ = DataEntry::New("jumpTable", dict); } if (dict.found("value"))