Jieve
Mechanical
- Jul 16, 2011
- 131
I have an application lab testing high pressure pressure sensors using an argon filled welding cylinder as the pressure source. Solenoid valves open and close to feed and bleed into a fixed volume where the pressure is measured, and I need to size the solenoid valves from a selection of available valves, given their Cv values. Ideally this would be dynamic testing, so I am trying to determine fill time of the test volume.
My thermo in this area is a little (extremely) rusty, but I found equations for the Cv / volumetric flow rate conversions of gases here (although not sure how they were derived):
So my first thought was of trying to solve this numerically as a sort of quasi-static problem, and I could use some guidance to know how to go about this.
What I do know: I know the starting T, P, and V of the cylinder, so can calculate the mass of gas in cylinder from the ideal gas law. Similarly, I know the starting conditions of the air in the test volume, so can calculate the mass there (of air). Although as a starting point, I would probably calculate assuming Argon in the test volume instead of air, to simplify the problem.
The rough idea in my head: Using the test volume as the control volume, If I were to do this numerically, and assume a small increment of dt, then knowing density I could get the mass flow from the equation in the above link, and calculate the total mass in the test volume after time t0 + dt. From there, I’d want to be able to somehow calculate pressure at each time until the time at which the pressures are approximately equal, and see at which time point this occurs.
However, first of all, I’m not sure what value to use for density, since the density of gas in the cylinder is much higher than that of the test volume (and is a function of time). Also, even if I have mass, I have V, R, and m, but don’t have T, so I’m not sure how I’d calculate P from the ideal gas law.
Another way I thought about going about this is as a first law problem. I’ve simplified the transient filling process, assuming adiabatic due to high fill speed, to dU = mdot, in(t)*hin(t) dt, but not sure where to go from here. mdot,in(t) could presumably be calculated at each step if density were known from the previously mentioned equations, but h(t) would be a function of T only for an ideal gas, and I don’t have this value.
I’d really appreciate if someone could provide some direction. Thanks for any input.
My thermo in this area is a little (extremely) rusty, but I found equations for the Cv / volumetric flow rate conversions of gases here (although not sure how they were derived):
So my first thought was of trying to solve this numerically as a sort of quasi-static problem, and I could use some guidance to know how to go about this.
What I do know: I know the starting T, P, and V of the cylinder, so can calculate the mass of gas in cylinder from the ideal gas law. Similarly, I know the starting conditions of the air in the test volume, so can calculate the mass there (of air). Although as a starting point, I would probably calculate assuming Argon in the test volume instead of air, to simplify the problem.
The rough idea in my head: Using the test volume as the control volume, If I were to do this numerically, and assume a small increment of dt, then knowing density I could get the mass flow from the equation in the above link, and calculate the total mass in the test volume after time t0 + dt. From there, I’d want to be able to somehow calculate pressure at each time until the time at which the pressures are approximately equal, and see at which time point this occurs.
However, first of all, I’m not sure what value to use for density, since the density of gas in the cylinder is much higher than that of the test volume (and is a function of time). Also, even if I have mass, I have V, R, and m, but don’t have T, so I’m not sure how I’d calculate P from the ideal gas law.
Another way I thought about going about this is as a first law problem. I’ve simplified the transient filling process, assuming adiabatic due to high fill speed, to dU = mdot, in(t)*hin(t) dt, but not sure where to go from here. mdot,in(t) could presumably be calculated at each step if density were known from the previously mentioned equations, but h(t) would be a function of T only for an ideal gas, and I don’t have this value.
I’d really appreciate if someone could provide some direction. Thanks for any input.