ENH: writeCellCentres: dump volume

This commit is contained in:
mattijs
2013-04-29 15:20:49 +01:00
parent 14240e9389
commit d8865404c3

View File

@ -97,6 +97,23 @@ int main(int argc, char *argv[])
cci.write(); cci.write();
} }
volScalarField V
(
IOobject
(
"V",
runTime.timeName(),
mesh,
IOobject::NO_READ,
IOobject::AUTO_WRITE,
false
),
mesh,
);
mesh.V().setInstance(runTime.timeName());
mesh.V().write();
} }
Info<< "\nEnd\n" << endl; Info<< "\nEnd\n" << endl;