Calculate integral values with Watchpoint (or with OpenFOAM)

Hi
Unlike perp_flap and cylinderFlap tutorial cases where the displacement of a coordinate is tracked at different time steps, is it possible to calculate Drag Coefficients and Lift Coefficients over a surface?

Is there a tutorial which already does this? Please let me know if anyone has any ideas regarding this.

Thank you.