# DivU

From OpenFOAMWiki

To compute the divergence of a field used the command foamCalc.

`foamCalc` [OPTIONS] `div` FIELDNAME

For example to compute the divergence of the velocity:

foamCalc div U

From OpenFOAMWiki

To compute the divergence of a field used the command foamCalc.

`foamCalc` [OPTIONS] `div` FIELDNAME

For example to compute the divergence of the velocity:

foamCalc div U