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
9a1d3aec
Commit
9a1d3aec
authored
Jan 14, 2009
by
mattijs
Browse files
debug printing
parent
fe1f5ebe
Changes
1
Hide whitespace changes
Inline
Side-by-side
applications/solvers/heatTransfer/chtMultiRegionFoam/derivedFvPatchFields/solidWallMixedTemperatureCoupled/solidWallMixedTemperatureCoupledFvPatchScalarField.C
View file @
9a1d3aec
...
...
@@ -129,9 +129,20 @@ void Foam::solidWallMixedTemperatureCoupledFvPatchScalarField::updateCoeffs()
{
Info
<<
"solidWallMixedTemperatureCoupledFvPatchScalarField::"
<<
"updateCoeffs() :"
<<
" patch:"
<<
patch
().
name
()
<<
" walltemperature "
<<
" min:"
<<
gMin
(
*
this
)
<<
" max:"
<<
gMax
(
*
this
)
<<
" min:"
<<
returnReduce
(
(
this
->
size
()
>
0
?
min
(
*
this
)
:
VGREAT
),
minOp
<
scalar
>
()
)
<<
" max:"
<<
returnReduce
(
(
this
->
size
()
>
0
?
max
(
*
this
)
:
-
VGREAT
),
maxOp
<
scalar
>
()
)
<<
" avg:"
<<
gAverage
(
*
this
)
<<
endl
;
}
...
...
@@ -163,7 +174,9 @@ void Foam::solidWallMixedTemperatureCoupledFvPatchScalarField::updateCoeffs()
label
nTotSize
=
returnReduce
(
this
->
size
(),
sumOp
<
label
>
());
Info
<<
"solidWallMixedTemperatureCoupledFvPatchScalarField::"
<<
"updateCoeffs() : Out of "
<<
nTotSize
<<
"updateCoeffs() :"
<<
" patch:"
<<
patch
().
name
()
<<
" out of:"
<<
nTotSize
<<
" fixedBC:"
<<
nFixed
<<
" gradient:"
<<
nTotSize
-
nFixed
<<
endl
;
}
...
...
@@ -213,9 +226,22 @@ void Foam::solidWallMixedTemperatureCoupledFvPatchScalarField::evaluate
if
(
debug
)
{
Info
<<
"Setting master and slave to wall temperature "
<<
" min:"
<<
gMin
(
*
this
)
<<
" max:"
<<
gMax
(
*
this
)
Info
<<
"solidWallMixedTemperatureCoupledFvPatchScalarField::"
<<
"updateCoeffs() :"
<<
" patch:"
<<
patch
().
name
()
<<
" setting master and slave to wall temperature "
<<
" min:"
<<
returnReduce
(
(
this
->
size
()
>
0
?
min
(
*
this
)
:
VGREAT
),
minOp
<
scalar
>
()
)
<<
" max:"
<<
returnReduce
(
(
this
->
size
()
>
0
?
max
(
*
this
)
:
-
VGREAT
),
maxOp
<
scalar
>
()
)
<<
" avg:"
<<
gAverage
(
*
this
)
<<
endl
;
}
...
...
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