mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: interfaceHeight: fix header writing to output files (fixes #3115)
This commit is contained in:
@ -242,6 +242,12 @@ Foam::functionObjects::interfaceHeight::interfaceHeight
|
|||||||
{
|
{
|
||||||
read(dict);
|
read(dict);
|
||||||
resetNames({"height", "position"});
|
resetNames({"height", "position"});
|
||||||
|
|
||||||
|
if (Pstream::master())
|
||||||
|
{
|
||||||
|
writeFileHeader(fileID::heightFile);
|
||||||
|
writeFileHeader(fileID::positionFile);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user