mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: writeCellCentres: dump volume
This commit is contained in:
@ -97,6 +97,23 @@ int main(int argc, char *argv[])
|
||||
|
||||
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;
|
||||
|
||||
Reference in New Issue
Block a user