Skip to content

Reply To: Mass flux calculation


Good to hear that it works now.

For the persisting dependency on u: This is an artifact of how the hyperplane (i.e. the line) is constructed in Hyperplane2D. u is passed to the parallelTo method which uses it to construct the normal vector. This normal vector is dependent on the sign of u and is also used to calculate the flow in SuperPlaneIntegralF2D::operator() (output[0] = (h * Vector<T,2>(flow)) * _normal;).