Skip to content
Snippets Groups Projects
Commit d8865404 authored by mattijs's avatar mattijs
Browse files

ENH: writeCellCentres: dump volume

parent 14240e93
Branches
Tags
No related merge requests found
...@@ -97,6 +97,23 @@ int main(int argc, char *argv[]) ...@@ -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;
......
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