I am trying to perform a simple model of the entrainment of air in a jet by aplying energy emand momentum balances to the injector and flute. But i am having doubts on how to prescribe pressure on a point. This is the equations of the component Injector:
In the component porti chose two hydraulic ports with the folowing combination of pressure and flow rate:
Pinjector and Qgas
Patm and Qgas
Is the logic right? After generating the component i prescribe pressure in both side in order to know the flowrate as is showed by the picture. The problem is that the flowrate is going on the wrong direction. It should be positive. Am i doing anything wrong?