Commit 1649b57a authored by Henry Weller's avatar Henry Weller
Browse files

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

parent dc59c633
......@@ -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());
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment