I’d like to set up a boundary condition similar to a velocity inlet, but with a pressure-dependent velocity: velocity = resistance * (pressure - input pressure). Resistance and input pressure are constants for the simulation.
This is similar to the behavior of a constant pressure source connected to a filter that has flow roughly proportional to pressure drop. My use case is to simulate a HEPA filter, velocity is roughly 148 ft/min when the pressure difference is 0.1 inH2O and changes linearly with pressure, so in standard units resistance is 0.03 m/(s*Pa). The filter is big, and velocity definitely varies across the surface, so I can’t model it well as a regular velocity inlet.
How can I do this?
I assume some kind of custom boundary, I looked in that section but couldn’t figure it out.