Volume average c2p open foam
Problem statement
OpenFOAM's field results are defined on cells. The vtkOpenFOAMReader
can transport cell values to points by performing an averaging operation when the property CreateCellToPoint
is enabled. This averaging operation does not take the relative sizes of the cells into account.
Proposed solution
Add a SizeAverageCellToPoint
property to the vtkOpenFOAMReader
that enforces the use of the cell size as weights in the cell to point averaging operation.