processorFvPatchField: If the value is not supplied set to the internal field
This commit is contained in:
parent
dc59c63351
commit
1649b57a40
@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user