processorFvPatchField: If the value is not supplied set to the internal field
This commit is contained in:
parent
9d3f407fc7
commit
25e5f67f86
1 changed files with 6 additions and 0 deletions
|
|
@ -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…
Add table
Reference in a new issue