mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: give warning for value field inside cyclic.
This commit is contained in:
@ -308,6 +308,15 @@ void rewriteField
|
||||
|
||||
dictionary patchDict(boundaryField.subDict(patchName));
|
||||
|
||||
if (patchDict.found("value"))
|
||||
{
|
||||
IOWarningIn("rewriteField(..)", patchDict)
|
||||
<< "Cyclic patch " << patchName
|
||||
<< " has value entry. Please removed this and rerun."
|
||||
<< endl;
|
||||
}
|
||||
|
||||
|
||||
boundaryField.changeKeyword(patchName, newName);
|
||||
boundaryField.add
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user