possible bug in `pressureDirectedInletOutletVelocity` BC
Summary
pressureDirectedInletOutletVelocity
is a mixed BC. Yet, I'm not sure if this operator is assigning the correct value. I didn't dig in the code, yet, pvf
must be either a refValue
or refGrad
and in either case, this expression doesn't satisfy the following properties stated here:
- Flow out of the domain: assigns a zero gradient condition
- Flow into the domain: assigns a velocity based on the flux in the patch-normal direction [or in this case the
inletDir
]
What is the expected correct behavior?
It should be something like this from the pressureInletOutletVelocity