Skip to content
Snippets Groups Projects
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
Branches
Tags
No related merge requests found
......@@ -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());
}
}
......
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