mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: Field function objects using fieldExpression - tidied outpu. See #359
This commit is contained in:
@ -83,7 +83,7 @@ bool Foam::functionObjects::CourantNo::calc()
|
||||
)
|
||||
);
|
||||
|
||||
if (foundObject<volScalarField>(resultName_))
|
||||
if (foundObject<volScalarField>(resultName_, false))
|
||||
{
|
||||
volScalarField& Co
|
||||
(
|
||||
|
||||
@ -171,8 +171,7 @@ bool Foam::functionObjects::blendingFactor::write()
|
||||
reduce(nCellsScheme2, sumOp<label>());
|
||||
reduce(nCellsBlended, sumOp<label>());
|
||||
|
||||
Log << type() << " " << name() << " write:" << nl
|
||||
<< " scheme 1 cells : " << nCellsScheme1 << nl
|
||||
Log << " scheme 1 cells : " << nCellsScheme1 << nl
|
||||
<< " scheme 2 cells : " << nCellsScheme2 << nl
|
||||
<< " blended cells : " << nCellsBlended << nl
|
||||
<< endl;
|
||||
|
||||
@ -40,7 +40,7 @@ bool Foam::functionObjects::fieldExpression::foundObject
|
||||
}
|
||||
else
|
||||
{
|
||||
if (verbose)
|
||||
if (debug || verbose)
|
||||
{
|
||||
Warning
|
||||
<< " functionObjects::" << type() << " " << this->name()
|
||||
|
||||
Reference in New Issue
Block a user