processorFvPatchField: If the value is not supplied set to the internal field

This commit is contained in:
Henry Weller 2016-09-25 18:38:06 +01:00
parent dc59c63351
commit 1649b57a40

View File

@ -96,6 +96,12 @@ Foam::processorFvPatchField<Type>::processorFvPatchField
<< " in file " << this->internalField().objectPath()
<< exit(FatalIOError);
}
// If the value is not supplied set to the internal field
if (!dict.found("value"))
{
fvPatchField<Type>::operator=(this->patchInternalField());
}
}