From 13f27d9376c0b1b777614d64a871352c97da36a9 Mon Sep 17 00:00:00 2001 From: Hrvoje Jasak Date: Mon, 6 Feb 2017 11:43:00 +0000 Subject: [PATCH] Added default removte field name for implicitly created regionCoupling patch fields --- .../constraint/regionCoupling/regionCouplingFvPatchField.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/finiteVolume/fields/fvPatchFields/constraint/regionCoupling/regionCouplingFvPatchField.C b/src/finiteVolume/fields/fvPatchFields/constraint/regionCoupling/regionCouplingFvPatchField.C index a60d5e22c..4724300b3 100644 --- a/src/finiteVolume/fields/fvPatchFields/constraint/regionCoupling/regionCouplingFvPatchField.C +++ b/src/finiteVolume/fields/fvPatchFields/constraint/regionCoupling/regionCouplingFvPatchField.C @@ -84,7 +84,7 @@ regionCouplingFvPatchField::regionCouplingFvPatchField : coupledFvPatchField(p, iF, dict), regionCouplePatch_(refCast(p)), - remoteFieldName_(dict.lookup("remoteField")), + remoteFieldName_(dict.lookupOrDefault("remoteField", iF.name())), matrixUpdateBuffer_(), originalPatchField_(), curTimeIndex_(-1)