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;
|
||||
}
|
||||
|
||||
@ -527,9 +527,9 @@ bool Foam::functionObjects::fieldValues::surfaceFieldValue::update()
|
||||
|
||||
totalArea_ = totalArea();
|
||||
|
||||
Log
|
||||
<< " total faces = " << nFaces_ << nl
|
||||
<< " total area = " << totalArea_ << nl;
|
||||
Log << " total faces = " << nFaces_ << nl
|
||||
<< " total area = " << totalArea_ << nl
|
||||
<< endl;
|
||||
|
||||
writeFileHeader(file());
|
||||
|
||||
@ -982,17 +982,17 @@ bool Foam::functionObjects::fieldValues::surfaceFieldValue::read
|
||||
|
||||
bool Foam::functionObjects::fieldValues::surfaceFieldValue::write()
|
||||
{
|
||||
if (needsUpdate_ || operation_ != opNone)
|
||||
{
|
||||
fieldValue::write();
|
||||
}
|
||||
|
||||
update();
|
||||
|
||||
if (operation_ != opNone)
|
||||
{
|
||||
fieldValue::write();
|
||||
|
||||
if (Pstream::master())
|
||||
{
|
||||
writeTime(file());
|
||||
}
|
||||
}
|
||||
|
||||
if (writeArea_)
|
||||
{
|
||||
@ -1080,12 +1080,12 @@ bool Foam::functionObjects::fieldValues::surfaceFieldValue::write()
|
||||
writeAll(Sf, weightField, points, faces);
|
||||
}
|
||||
|
||||
if (operation_ != opNone && Pstream::master())
|
||||
if (operation_ != opNone)
|
||||
{
|
||||
file() << endl;
|
||||
Log << endl;
|
||||
}
|
||||
|
||||
Log << endl;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user