Calculation of Pressure in a Cylinder with an orifice on its surface

AI Thread Summary
Calculating the pressure profile inside a cylinder with an orifice involves considering air as a compressible ideal gas and using isentropic mass flow rate equations. The method described includes calculating mass flow rate, updating temperature through energy balance, and applying the ideal gas law to find pressure. A concern arises when the internal pressure exceeds the external pressure, prompting questions about the validity of the approach. It is advised to first solve the problem analytically before implementing it in MATLAB, as understanding the fundamental science is crucial. The discussion highlights the importance of foundational knowledge in gas dynamics for accurate modeling in engineering applications.
Sandeep8719
Messages
2
Reaction score
0
I want to calculate the pressure profile inside a cylinder whose initial pressure is less than the outside pressure and has a orifice on its surface to flow air through it. Air is a considered as compressible ideal gas and mass flow rate across a orifice is assumed isentropic. Also the temperature is assumed same initially in cylinder and surroundings.

I am generating the pressure profile inside the cylinder as a function of time using matlab, the method i followed is I took a small delta_t and calculated the massflow rate using available compressed mass flow rate formula and find the net mass flown into the cylinder and I found the new temperature using the energy balance for open system and using ideal gas equation I found the new pressure.

Now the problem is after some time the pressure inside the cylinder becomes more than the surrounding pressure, Is it possible to have that kind of situation or am I doing something wrong?
 
Last edited by a moderator:
Physics news on Phys.org
Is this a homework problem?
 
No i am working on ic engines suction modelling i face same kind of problem over there
 
(1) The gas dynamics of engines has been researched in great depth and over many years . You should easily be able to find published information which will tell you exactly how to deal with this type of problem .

(2) You would find it very instructive to solve your problem analytically before trying to set it up on MATLAB .

(3) I really worry about the trend which seems to be becoming almost universal now of people trying to solve problems with MATLAB , FEA and other types of solver software when they haven't a clue about the science basics or any real idea of how to set up a realistic model of the system they are dealing with .
 
  • Like
Likes Chestermiller and BvU
Hi there, im studying nanoscience at the university in Basel. Today I looked at the topic of intertial and non-inertial reference frames and the existence of fictitious forces. I understand that you call forces real in physics if they appear in interplay. Meaning that a force is real when there is the "actio" partner to the "reactio" partner. If this condition is not satisfied the force is not real. I also understand that if you specifically look at non-inertial reference frames you can...
I have recently been really interested in the derivation of Hamiltons Principle. On my research I found that with the term ##m \cdot \frac{d}{dt} (\frac{dr}{dt} \cdot \delta r) = 0## (1) one may derivate ##\delta \int (T - V) dt = 0## (2). The derivation itself I understood quiet good, but what I don't understand is where the equation (1) came from, because in my research it was just given and not derived from anywhere. Does anybody know where (1) comes from or why from it the...
Back
Top