mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: motorBike: enable residual control. See #1328.
This commit is contained in:
@ -109,12 +109,13 @@ bool Foam::functionObjects::stabilityBlendingFactor::init(bool first)
|
|||||||
if (!residualPtr)
|
if (!residualPtr)
|
||||||
{
|
{
|
||||||
WarningInFunction
|
WarningInFunction
|
||||||
<< "Could not find residual file : " << residualName_
|
<< "Could not find residual field : " << residualName_
|
||||||
<< ". The residual mode won't be " << nl
|
<< ". The residual mode won't be " << nl
|
||||||
<< " considered for the blended field in the stability "
|
<< " considered for the blended field in the stability "
|
||||||
<< "blending factor. " << nl
|
<< "blending factor. " << nl
|
||||||
<< " Add the corresponding residual function object. " << nl
|
<< " Please add the corresponding 'solverInfo'"
|
||||||
<< " If the residual function object is already set "
|
<< " function object with 'writeResidualFields true'." << nl
|
||||||
|
<< " If the solverInfo function object is already enabled "
|
||||||
<< "you might need to wait " << nl
|
<< "you might need to wait " << nl
|
||||||
<< " for the first iteration."
|
<< " for the first iteration."
|
||||||
<< nl << endl;
|
<< nl << endl;
|
||||||
|
|||||||
@ -10,7 +10,7 @@ residuals
|
|||||||
{
|
{
|
||||||
type solverInfo;
|
type solverInfo;
|
||||||
libs ("libutilityFunctionObjects.so");
|
libs ("libutilityFunctionObjects.so");
|
||||||
writeFields true;
|
writeResidualFields true;
|
||||||
writeControl outputTime;
|
writeControl outputTime;
|
||||||
fields (p);
|
fields (p);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user