functionObjects::residuals: Writes "N/A" for fields not solved
Patch contributed by Bruno Santos Resolves bug-report https://bugs.openfoam.org/view.php?id=2608
This commit is contained in:
parent
e36f30d082
commit
8b8e5b9492
1 changed files with 5 additions and 1 deletions
|
|
@ -2,7 +2,7 @@
|
|||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2015-2016 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2015-2017 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
|
|
@ -87,6 +87,10 @@ void Foam::functionObjects::residuals::writeResidual(const word& fieldName)
|
|||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
file() << token::TAB << "N/A";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue