Skip to content
Snippets Groups Projects
Commit a7538fab authored by Kutalmış Berçin's avatar Kutalmış Berçin
Browse files

BUG: interfaceHeight: fix header writing to output files (fixes #3115)

parent 4fb85d1f
Branches
Tags
1 merge request!695OpenFOAM v2406
...@@ -242,6 +242,12 @@ Foam::functionObjects::interfaceHeight::interfaceHeight ...@@ -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);
}
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment