I have a problem where I need to find out the maximum flow that can go through a size hole. I know I can hand calculations using orifice equations but how do I set up the problem in flow simulation. What kind of boundary conditions need to be specified at the inlet and outlet. Usually for other problems, I give a flow rate the outlet (pump requirement) and atm pressure at the inlet.
Any help in this regard is appreciated.