ENH: motorBike: enable residual control. See #1328.

This commit is contained in:
mattijs
2019-06-13 15:00:22 +01:00
committed by Andrew Heather
parent 966ba1dba5
commit 96ed604849
2 changed files with 10 additions and 9 deletions

View File

@ -109,12 +109,13 @@ bool Foam::functionObjects::stabilityBlendingFactor::init(bool first)
if (!residualPtr)
{
WarningInFunction
<< "Could not find residual file : " << residualName_
<< ".The residual mode won't be " << nl
<< "Could not find residual field : " << residualName_
<< ". The residual mode won't be " << nl
<< " considered for the blended field in the stability "
<< "blending factor. " << nl
<< " Add the corresponding residual function object. " << nl
<< " If the residual function object is already set "
<< " Please add the corresponding 'solverInfo'"
<< " function object with 'writeResidualFields true'." << nl
<< " If the solverInfo function object is already enabled "
<< "you might need to wait " << nl
<< " for the first iteration."
<< nl << endl;

View File

@ -10,7 +10,7 @@ residuals
{
type solverInfo;
libs ("libutilityFunctionObjects.so");
writeFields true;
writeResidualFields true;
writeControl outputTime;
fields (p);
}