mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: Updated FO output
This commit is contained in:
@ -281,7 +281,7 @@ bool Foam::functionObjects::derivedFields::execute()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Log << nl;
|
Log << nl << endl;
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -527,9 +527,9 @@ bool Foam::functionObjects::fieldValues::surfaceFieldValue::update()
|
|||||||
|
|
||||||
totalArea_ = totalArea();
|
totalArea_ = totalArea();
|
||||||
|
|
||||||
Log
|
Log << " total faces = " << nFaces_ << nl
|
||||||
<< " total faces = " << nFaces_ << nl
|
<< " total area = " << totalArea_ << nl
|
||||||
<< " total area = " << totalArea_ << nl;
|
<< endl;
|
||||||
|
|
||||||
writeFileHeader(file());
|
writeFileHeader(file());
|
||||||
|
|
||||||
@ -982,17 +982,17 @@ bool Foam::functionObjects::fieldValues::surfaceFieldValue::read
|
|||||||
|
|
||||||
bool Foam::functionObjects::fieldValues::surfaceFieldValue::write()
|
bool Foam::functionObjects::fieldValues::surfaceFieldValue::write()
|
||||||
{
|
{
|
||||||
|
if (needsUpdate_ || operation_ != opNone)
|
||||||
|
{
|
||||||
|
fieldValue::write();
|
||||||
|
}
|
||||||
|
|
||||||
update();
|
update();
|
||||||
|
|
||||||
if (operation_ != opNone)
|
if (operation_ != opNone)
|
||||||
{
|
|
||||||
fieldValue::write();
|
|
||||||
|
|
||||||
if (Pstream::master())
|
|
||||||
{
|
{
|
||||||
writeTime(file());
|
writeTime(file());
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
if (writeArea_)
|
if (writeArea_)
|
||||||
{
|
{
|
||||||
@ -1080,12 +1080,12 @@ bool Foam::functionObjects::fieldValues::surfaceFieldValue::write()
|
|||||||
writeAll(Sf, weightField, points, faces);
|
writeAll(Sf, weightField, points, faces);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (operation_ != opNone && Pstream::master())
|
if (operation_ != opNone)
|
||||||
{
|
{
|
||||||
file() << endl;
|
file() << endl;
|
||||||
|
Log << endl;
|
||||||
}
|
}
|
||||||
|
|
||||||
Log << endl;
|
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user