Reply To: Mass flux calculation
Due to recent bot attacks we have chanced the sign-up process. If you want to participate in our forum, first register on this website and then send a message via our contact form.
› Forums › on OpenLB › General Topics › Mass flux calculation › Reply To: Mass flux calculation
May 3, 2022 at 3:57 pm
#6537
Adrian
Keymaster
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;).
