ENH: forces/forceCoeffs function objects - name output

This commit is contained in:
andy
2013-09-25 16:43:00 +01:00
parent 4a37b52dca
commit 27c830958e
2 changed files with 2 additions and 2 deletions

View File

@ -196,7 +196,7 @@ void Foam::forceCoeffs::write()
if (log_) if (log_)
{ {
Info<< type() << " output:" << nl Info<< type() << " " << name_ << " output:" << nl
<< " Cm = " << Cm << nl << " Cm = " << Cm << nl
<< " Cd = " << Cd << nl << " Cd = " << Cd << nl
<< " Cl = " << Cl << nl << " Cl = " << Cl << nl

View File

@ -368,7 +368,7 @@ void Foam::forces::writeForces()
{ {
if (log_) if (log_)
{ {
Info<< type() << " output:" << nl Info<< type() << " " << name_ << " output:" << nl
<< " forces(pressure,viscous,porous) = (" << " forces(pressure,viscous,porous) = ("
<< sum(force_[0]) << "," << sum(force_[0]) << ","
<< sum(force_[1]) << "," << sum(force_[1]) << ","