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 9d3f407fc7
commit 25e5f67f86

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());
}
}