mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
processorFvPatchField: If the value is not supplied set to the internal field
This commit is contained in:
@ -96,6 +96,12 @@ Foam::processorFvPatchField<Type>::processorFvPatchField
|
|||||||
<< " in file " << this->internalField().objectPath()
|
<< " in file " << this->internalField().objectPath()
|
||||||
<< exit(FatalIOError);
|
<< exit(FatalIOError);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// If the value is not supplied set to the internal field
|
||||||
|
if (!dict.found("value"))
|
||||||
|
{
|
||||||
|
fvPatchField<Type>::operator=(this->patchInternalField());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user