discretize.CylindricalMesh.cell_volumes#

property CylindricalMesh.cell_volumes#

Volumes of all mesh cells.

This property returns a 1D vector containing the volumes of all cells in the mesh. When computing the volume of each cell, we take into account curvature. Thus a cell lying within radial distance r1 and r2, with height hz and with azimuthal width Δϕ, the volume is given by:

V=Δϕhz2(r22r12)
Returns:
(n_cells numpy.ndarray

Volumes of all mesh cells