Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
openfoam
Commits
96ed6048
Commit
96ed6048
authored
Jun 13, 2019
by
mattijs
Committed by
Andrew Heather
Jun 13, 2019
Browse files
ENH: motorBike: enable residual control. See #1328.
parent
966ba1db
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/functionObjects/field/stabilityBlendingFactor/stabilityBlendingFactor.C
View file @
96ed6048
...
...
@@ -109,12 +109,13 @@ bool Foam::functionObjects::stabilityBlendingFactor::init(bool first)
if
(
!
residualPtr
)
{
WarningInFunction
<<
"Could not find residual fi
l
e : "
<<
residualName_
<<
".The residual mode won't be "
<<
nl
<<
"Could not find residual fie
ld
: "
<<
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
;
...
...
tutorials/incompressible/pisoFoam/LES/motorBike/motorBike/system/stabilizationSchemes
View file @
96ed6048
...
...
@@ -8,11 +8,11 @@
residuals
{
type solverInfo;
libs ("libutilityFunctionObjects.so");
writeFields
true;
writeControl outputTime;
fields (p);
type
solverInfo;
libs
("libutilityFunctionObjects.so");
write
Residual
Fields true;
writeControl
outputTime;
fields
(p);
}
blendingFactor
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment