Reply To: Mass flux calculation
OpenLB – Open Source Lattice Boltzmann Code › 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;
).