mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: TurbulentDFSEM - increment eddy OBJ file index to avoid over-writing
This commit is contained in:
@ -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)
|
||||
|
||||
Reference in New Issue
Block a user