Analyzing Gas Tank Filling Rates: Solving a Differential Equation

  • Context: Graduate 
  • Thread starter Thread starter nick5
  • Start date Start date
  • Tags Tags
    Air Gas Tank
Click For Summary

Discussion Overview

The discussion revolves around the analysis of a differential equation related to the filling rates of a gas tank under low pressure. Participants explore the relationship between tank pressure, flow rate through a restriction, and the time it takes to fill the tank, incorporating concepts from fluid dynamics and thermodynamics.

Discussion Character

  • Technical explanation
  • Mathematical reasoning
  • Exploratory

Main Points Raised

  • One participant presents a differential equation for the flow rate based on pressure differences and laminar flow assumptions.
  • Another participant suggests a method to integrate the equation and provides a potential solution for time in terms of volume.
  • A subsequent reply questions the ability to solve for volume as a function of time, indicating potential difficulties in inverting the integrated equation.
  • Concerns are raised about the initial equation's validity, with a participant expressing uncertainty about the description of the pressure difference.
  • A participant suggests that the volume discussed is ill-defined due to its dependence on pressure and temperature, recommending a shift towards a mass flow rate equation and the ideal gas law for better clarity.

Areas of Agreement / Disagreement

Participants express uncertainty regarding the solvability of the equations and the initial assumptions made. There is no consensus on the best approach to take, and multiple viewpoints on the formulation of the problem are presented.

Contextual Notes

Participants note that the volume of gas is pressure and temperature dependent, which complicates the analysis. The discussion includes unresolved mathematical steps and assumptions that may affect the validity of the proposed models.

nick5
Messages
3
Reaction score
0
Hi all,

I hope this is right place to post this question (this is not a homework question).

I wanted to find out in what time a tank under low pressure (gas/air) is filled by the atmospheric pressure through a restriction.
(Tankpressure in relation of time or Flowrate through the restriction in relation of time.)

The flowrate is: V'(t)=delta_p(t)*C1 (Assuming a round restriction (pipe) and laminar flow C1=pi*r^4/(8*viscosity*l))

delta_p(t)= po-ptank+C2/V(t)
(po=atmospheric_pressure, ptank=Intial_tank_pressure, V(t)=is the Volume of air which entered the tank through the restriction C2=n*R*T; p*V=n*R*T (actually the temperature T would also be a variable but for now I would assume it to be constant))

Therefore: V'(t)=C1*(po-ptank+C2/V(t))
(since po and ptank are constants they can be written as C3=po-ptank).

And I end up with this differential equation:

V'(t)-C1*C2/V(t)-C1*C3=0

Can anybody think of an analytical solution for this equation (I haven't dealt with differential equations for 15 years) or think of an alternative way to solve this problem?
If I were to plot the flowrate through the restriction, I would expect a curve that would look something like this: V'(t) = V'o*e-t*C (Which is why I believe there should be an analytical solution.)
 
Science news on Phys.org
Welcome to PF!

Hi nick5! Welcome to PF! :smile:

(have a delta: ∆ and a pi: π :wink:)

That's V' = AV + B,

so write it dV/(AV + B) = dt, and integrate. :smile:
 
Hi Tim,

thank you for your quick response and help.

The equation would actually be:

V'=A/V+B
dV/(A/V+B)=dt

and If integrated, I end up with:

t=(B*V-A*ln(A+B*V))/B^2

and if I try to solve this equation by V I don't get any further then this:
V=(e(B*V-t*B^2)/A-A)/B

Is this even solvable by V?
 
Hi nick5! :smile:
nick5 said:
dV/(A/V+B)=dt

and If integrated, I end up with:

t=(B*V-A*ln(A+B*V))/B^2

hmm … I get the same …

I don't see how you can invert that, to a V = f(t) equation, without some numerical approximation method.
 
ok, that's what I was afraid of.

Well, maybe the initial equation I came up with is erroneous.

I'm certain that this part is correct:
V'(t)=∆_p(t)*C1

But maybe there is a better way to describe: ∆_p(t)
 
The V(t) that you have been discussing is pretty ill defined because volume is pressure and temperature dependent.

I'm not much of a fluids person, so I'm not the best person to advise on this. But, that said, what you need to write is a mass flow rate equation, and describe the quantity of mass in the tank. Then as a first approximation (not too bad really) you can use the ideal gas law to write
P*V = n*R*T
to relate the quantity of gas in the tank to the pressure, volume (which is fixed typically), and temperature, which usually goes up when the gas is compressed.

Try thinking in this direction and see if it helps.
 

Similar threads

  • · Replies 109 ·
4
Replies
109
Views
9K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 0 ·
Replies
0
Views
2K
Replies
5
Views
2K
  • · Replies 92 ·
4
Replies
92
Views
10K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 67 ·
3
Replies
67
Views
6K
  • · Replies 2 ·
Replies
2
Views
2K