From 1649b57a40cd5ae0bd9c2a73f8b16f5f293c4385 Mon Sep 17 00:00:00 2001 From: Henry Weller Date: Sun, 25 Sep 2016 18:38:06 +0100 Subject: [PATCH] processorFvPatchField: If the value is not supplied set to the internal field --- .../constraint/processor/processorFvPatchField.C | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/finiteVolume/fields/fvPatchFields/constraint/processor/processorFvPatchField.C b/src/finiteVolume/fields/fvPatchFields/constraint/processor/processorFvPatchField.C index c428d9499d..0a7c8e7bea 100644 --- a/src/finiteVolume/fields/fvPatchFields/constraint/processor/processorFvPatchField.C +++ b/src/finiteVolume/fields/fvPatchFields/constraint/processor/processorFvPatchField.C @@ -96,6 +96,12 @@ Foam::processorFvPatchField::processorFvPatchField << " in file " << this->internalField().objectPath() << exit(FatalIOError); } + + // If the value is not supplied set to the internal field + if (!dict.found("value")) + { + fvPatchField::operator=(this->patchInternalField()); + } }