mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
debug printing
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user