Confusing typo in boundary conditions docs
I believe the description of pressureInletOutletVelocity
is wrong.
This velocity inlet/outlet boundary condition is applied to pressure boundaries where the pressure is specified. A zero-gradient condition is applied for outflow (as defined by the flux); for inflow, the velocity is obtained from the patch-face normal component of the internal-cell value.
Yet, as the name suggests (or looking at the Vector
type in the source code implies that it should be applied on velocity. It is iterated both in site and the Doxygen doc. It's not by any means critical, yet it makes it a bit harder to puzzle out for beginners like me.
The very same thing has recurred in pressureDirectedInletOutletVelocityFvPatchVectorField
too: Doxygen
Edited by Arash