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

Click For Summary
SUMMARY

The discussion focuses on calculating the pressure profile inside a cylinder with an orifice, where the initial pressure is lower than the external pressure. The user employs MATLAB to model the mass flow rate of air, treated as a compressible ideal gas, under isentropic conditions. The method involves calculating mass flow rates and updating temperature and pressure using energy balance and the ideal gas equation. A concern is raised regarding the pressure exceeding the surrounding pressure, prompting a recommendation to analyze the problem analytically before implementing it in MATLAB.

PREREQUISITES
  • Understanding of compressible fluid dynamics
  • Familiarity with MATLAB for simulations
  • Knowledge of the ideal gas law and energy balance equations
  • Basic principles of isentropic flow
NEXT STEPS
  • Research analytical methods for compressible flow analysis
  • Learn about MATLAB's capabilities for simulating fluid dynamics
  • Study the ideal gas law in the context of varying pressure conditions
  • Explore literature on gas dynamics in internal combustion engines
USEFUL FOR

Engineers, researchers, and students involved in fluid dynamics, particularly those working on internal combustion engine modeling and pressure analysis in compressible flow systems.

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   Reactions: Chestermiller and BvU

Similar threads

  • · Replies 3 ·
Replies
3
Views
16K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 15 ·
Replies
15
Views
4K
  • · Replies 45 ·
2
Replies
45
Views
6K
  • · Replies 6 ·
Replies
6
Views
1K
  • · Replies 6 ·
Replies
6
Views
1K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 69 ·
3
Replies
69
Views
7K
Replies
5
Views
3K