Skip to main content

writeCellVolumes

Description

The writeCellVolumes function object writes the cell-volumes volScalarField.

Operands

OperandTypeLocation
input--
output file--
output fieldvolScalarField$FOAM_CASE/<time>/V

Usage

Example of the writeCellVolumes function object by using functions sub-dictionary in system/controlDict file:

writeCellVolumes1
{
// Mandatory entries (unmodifiable)
type writeCellVolumes;
libs (fieldFunctionObjects);

// Optional (inherited) entries
region region0;
enabled true;
log true;
timeStart 0;
timeEnd 1000;
executeControl timeStep;
executeInterval 1;
writeControl timeStep;
writeInterval 1;
}

where the entries mean:

PropertyDescriptionTypeRequiredDefault
typeType name: writeCellVolumeswordyes-
libsLibrary name: fieldFunctionObjectswordyes-

The inherited entries are elaborated in:

Example by using the postProcess utility:

postProcess -func writeCellVolumes

Further information

Tutorial:

Source code:

API:

History: Introduced in version v1606+