Fix flowrate feature for homogeneous cases
The flowrate feature currently has issues in the homogeneous case with force explicitly defined (not aligned with the Fourier expansion). The following need to be addressed:
-
Fix area calculation by initialising communicator for ExpList2DHomogeneous1D (the boundary) and adjust v_Integral to carry out AllReduce with the whole communicator. -
Since VectorFlux (in MeasureFlowrate) applies to a 1D expansion, divide the area by the spanwise width. -
Make sure VectorFlux is retrieving the correct flux. -
Add documentation specifying that in the case of force aligned with the z-direction the force should not be specified.
Attached are the test cases being cross-checked.
Edited by Andrea Cassinelli