mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
functionObjects: 'output:' -> 'write:' for consistency with the naming of the 'write' function
This commit is contained in:
@ -135,7 +135,7 @@ void Foam::functionObjects::fieldAverage::calcAverages()
|
|||||||
}
|
}
|
||||||
|
|
||||||
Log
|
Log
|
||||||
<< type() << " " << name() << " output:" << nl
|
<< type() << " " << name() << " write:" << nl
|
||||||
<< " Calculating averages" << nl;
|
<< " Calculating averages" << nl;
|
||||||
|
|
||||||
addMeanSqrToPrime2Mean<scalar, scalar>();
|
addMeanSqrToPrime2Mean<scalar, scalar>();
|
||||||
|
|||||||
@ -151,7 +151,7 @@ bool Foam::functionObjects::fieldMinMax::write(const bool postProcess)
|
|||||||
writeFiles::write();
|
writeFiles::write();
|
||||||
|
|
||||||
if (!location_) writeTime(file());
|
if (!location_) writeTime(file());
|
||||||
Log << type() << " " << name() << " output:" << nl;
|
Log << type() << " " << name() << " write:" << nl;
|
||||||
|
|
||||||
forAll(fieldSet_, fieldi)
|
forAll(fieldSet_, fieldi)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -110,7 +110,7 @@ bool Foam::functionObjects::fieldValue::write(const bool postProcess)
|
|||||||
{
|
{
|
||||||
writeFiles::write();
|
writeFiles::write();
|
||||||
|
|
||||||
Log << type() << " " << name() << " output:" << nl;
|
Log << type() << " " << name() << " write:" << nl;
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -179,7 +179,7 @@ bool Foam::functionObjects::fieldValues::fieldValueDelta::write
|
|||||||
writeTime(file());
|
writeTime(file());
|
||||||
}
|
}
|
||||||
|
|
||||||
Log << type() << " " << name() << " output:" << endl;
|
Log << type() << " " << name() << " write:" << endl;
|
||||||
|
|
||||||
bool found = false;
|
bool found = false;
|
||||||
processFields<scalar>(found);
|
processFields<scalar>(found);
|
||||||
|
|||||||
@ -117,7 +117,7 @@ bool Foam::functionObjects::histogram::execute(const bool postProcess)
|
|||||||
|
|
||||||
bool Foam::functionObjects::histogram::write(const bool postProcess)
|
bool Foam::functionObjects::histogram::write(const bool postProcess)
|
||||||
{
|
{
|
||||||
Log << type() << " " << name() << " output:" << nl;
|
Log << type() << " " << name() << " write:" << nl;
|
||||||
|
|
||||||
const fvMesh& mesh = refCast<const fvMesh>(obr_);
|
const fvMesh& mesh = refCast<const fvMesh>(obr_);
|
||||||
|
|
||||||
|
|||||||
@ -313,7 +313,7 @@ bool Foam::functionObjects::nearWallFields::execute(const bool postProcess)
|
|||||||
}
|
}
|
||||||
|
|
||||||
Log << type() << " " << name()
|
Log << type() << " " << name()
|
||||||
<< " output:" << nl
|
<< " write:" << nl
|
||||||
<< " Sampling fields to " << time_.timeName()
|
<< " Sampling fields to " << time_.timeName()
|
||||||
<< endl;
|
<< endl;
|
||||||
|
|
||||||
|
|||||||
@ -392,7 +392,7 @@ bool Foam::functionObjects::regionSizeDistribution::write
|
|||||||
const bool postProcess
|
const bool postProcess
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
Info<< type() << " " << name() << " output:" << nl;
|
Info<< type() << " " << name() << " write:" << nl;
|
||||||
|
|
||||||
const fvMesh& mesh = refCast<const fvMesh>(obr_);
|
const fvMesh& mesh = refCast<const fvMesh>(obr_);
|
||||||
|
|
||||||
|
|||||||
@ -431,7 +431,7 @@ bool Foam::functionObjects::streamLine::execute(const bool postProcess)
|
|||||||
|
|
||||||
bool Foam::functionObjects::streamLine::write(const bool postProcess)
|
bool Foam::functionObjects::streamLine::write(const bool postProcess)
|
||||||
{
|
{
|
||||||
Info<< type() << " " << name() << " output:" << nl;
|
Info<< type() << " " << name() << " write:" << nl;
|
||||||
|
|
||||||
const Time& runTime = obr_.time();
|
const Time& runTime = obr_.time();
|
||||||
const fvMesh& mesh = dynamic_cast<const fvMesh&>(obr_);
|
const fvMesh& mesh = dynamic_cast<const fvMesh&>(obr_);
|
||||||
|
|||||||
@ -85,7 +85,7 @@ bool Foam::functionObjects::surfaceInterpolate::execute
|
|||||||
const bool postProcess
|
const bool postProcess
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
Info<< type() << " " << name() << " output:" << nl;
|
Info<< type() << " " << name() << " write:" << nl;
|
||||||
|
|
||||||
// Clear out any previously loaded fields
|
// Clear out any previously loaded fields
|
||||||
ssf_.clear();
|
ssf_.clear();
|
||||||
@ -111,7 +111,7 @@ bool Foam::functionObjects::surfaceInterpolate::write
|
|||||||
const bool postProcess
|
const bool postProcess
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
Info<< type() << " " << name() << " output:" << nl;
|
Info<< type() << " " << name() << " write:" << nl;
|
||||||
|
|
||||||
Info<< " Writing interpolated surface fields to "
|
Info<< " Writing interpolated surface fields to "
|
||||||
<< obr_.time().timeName() << endl;
|
<< obr_.time().timeName() << endl;
|
||||||
|
|||||||
@ -208,7 +208,7 @@ bool Foam::functionObjects::forceCoeffs::write(const bool postProcess)
|
|||||||
<< tab << Cm << tab << Cd
|
<< tab << Cm << tab << Cd
|
||||||
<< tab << Cl << tab << Clf << tab << Clr << endl;
|
<< tab << Cl << tab << Clf << tab << Clr << endl;
|
||||||
|
|
||||||
Log << type() << " " << name() << " output:" << nl
|
Log << type() << " " << name() << " write:" << nl
|
||||||
<< " Cm = " << Cm << nl
|
<< " Cm = " << Cm << nl
|
||||||
<< " Cd = " << Cd << nl
|
<< " Cd = " << Cd << nl
|
||||||
<< " Cl = " << Cl << nl
|
<< " Cl = " << Cl << nl
|
||||||
|
|||||||
@ -393,7 +393,7 @@ void Foam::functionObjects::forces::applyBins
|
|||||||
|
|
||||||
void Foam::functionObjects::forces::writeForces()
|
void Foam::functionObjects::forces::writeForces()
|
||||||
{
|
{
|
||||||
Log << type() << " " << name() << " output:" << nl
|
Log << type() << " " << name() << " write:" << nl
|
||||||
<< " sum of forces:" << nl
|
<< " sum of forces:" << nl
|
||||||
<< " pressure : " << sum(force_[0]) << nl
|
<< " pressure : " << sum(force_[0]) << nl
|
||||||
<< " viscous : " << sum(force_[1]) << nl
|
<< " viscous : " << sum(force_[1]) << nl
|
||||||
|
|||||||
@ -188,7 +188,7 @@ bool Foam::functionObjects::scalarTransport::read(const dictionary& dict)
|
|||||||
|
|
||||||
bool Foam::functionObjects::scalarTransport::execute(const bool postProcess)
|
bool Foam::functionObjects::scalarTransport::execute(const bool postProcess)
|
||||||
{
|
{
|
||||||
Info<< type() << " output:" << endl;
|
Info<< type() << " write:" << endl;
|
||||||
|
|
||||||
const surfaceScalarField& phi =
|
const surfaceScalarField& phi =
|
||||||
mesh_.lookupObject<surfaceScalarField>(phiName_);
|
mesh_.lookupObject<surfaceScalarField>(phiName_);
|
||||||
|
|||||||
@ -99,7 +99,7 @@ bool Foam::functionObjects::removeRegisteredObject::execute
|
|||||||
|
|
||||||
if (obj.ownedByRegistry())
|
if (obj.ownedByRegistry())
|
||||||
{
|
{
|
||||||
Info<< type() << " " << name() << " output:" << nl
|
Info<< type() << " " << name() << " write:" << nl
|
||||||
<< " removing object " << obj.name() << nl
|
<< " removing object " << obj.name() << nl
|
||||||
<< endl;
|
<< endl;
|
||||||
|
|
||||||
|
|||||||
@ -73,7 +73,7 @@ bool Foam::functionObjects::writeDictionary::tryDirectory
|
|||||||
{
|
{
|
||||||
if (firstDict)
|
if (firstDict)
|
||||||
{
|
{
|
||||||
Info<< type() << " " << name() << " output:" << nl << endl;
|
Info<< type() << " " << name() << " write:" << nl << endl;
|
||||||
|
|
||||||
IOobject::writeDivider(Info);
|
IOobject::writeDivider(Info);
|
||||||
Info<< endl;
|
Info<< endl;
|
||||||
@ -173,7 +173,7 @@ bool Foam::functionObjects::writeDictionary::write(const bool postProcess)
|
|||||||
{
|
{
|
||||||
if (firstDict)
|
if (firstDict)
|
||||||
{
|
{
|
||||||
Info<< type() << " " << name() << " output:" << nl << endl;
|
Info<< type() << " " << name() << " write:" << nl << endl;
|
||||||
|
|
||||||
IOobject::writeDivider(Info);
|
IOobject::writeDivider(Info);
|
||||||
Info<< endl;
|
Info<< endl;
|
||||||
|
|||||||
@ -101,7 +101,7 @@ bool Foam::functionObjects::writeRegisteredObject::write
|
|||||||
const bool postProcess
|
const bool postProcess
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
Info<< type() << " " << name() << " output:" << nl;
|
Info<< type() << " " << name() << " write:" << nl;
|
||||||
|
|
||||||
if (!obr_.time().writeTime())
|
if (!obr_.time().writeTime())
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user