openfoam/applications/solvers/multiphase/compressibleTwoPhaseEulerFoam/write.H

18 lines
337 B
C

if (runTime.outputTime())
{
volVectorField Ur
(
IOobject
(
"Ur",
runTime.timeName(),
mesh,
IOobject::NO_READ,
IOobject::AUTO_WRITE
),
U1 - U2
);
runTime.write();
}