Commit 2058ae5a authored by Andrew Heather's avatar Andrew Heather
Browse files

ENH: TurbulentDFSEM - increment eddy OBJ file index to avoid over-writing

parent f0375fc3
......@@ -83,7 +83,11 @@ void Foam::turbulentDFSEMInletFvPatchVectorField::writeEddyOBJ() const
}
{
OFstream os(db().time().path()/"eddies.obj");
const Time& time = db().time();
OFstream os
(
time.path()/"eddies_" + Foam::name(time.timeIndex()) + ".obj"
);
label pointOffset = 0;
forAll(eddies_, eddyI)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment