Analyzing Gas Tank Filling Rates: Solving a Differential Equation

  • Thread starter Thread starter nick5
  • Start date Start date
  • Tags Tags
    Air Gas Tank
AI Thread Summary
The discussion focuses on solving a differential equation related to the flow rate of gas filling a tank under low pressure. The user presents an equation derived from flow principles, seeking an analytical solution for the relationship between tank pressure and time. Responses suggest integrating the equation to find a time function but highlight challenges in inverting it to express volume as a function of time. Additionally, advice is given to consider a mass flow rate equation and the ideal gas law to better define the relationship between pressure, volume, and temperature. The conversation emphasizes the complexity of the problem and the need for numerical methods for a solution.
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.)
 
Physics 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.
 
Thread 'Gauss' law seems to imply instantaneous electric field'
Imagine a charged sphere at the origin connected through an open switch to a vertical grounded wire. We wish to find an expression for the horizontal component of the electric field at a distance ##\mathbf{r}## from the sphere as it discharges. By using the Lorenz gauge condition: $$\nabla \cdot \mathbf{A} + \frac{1}{c^2}\frac{\partial \phi}{\partial t}=0\tag{1}$$ we find the following retarded solutions to the Maxwell equations If we assume that...
I passed a motorcycle on the highway going the opposite direction. I know I was doing 125/km/h. I estimated that the frequency of his motor dropped by an entire octave, so that's a doubling of the wavelength. My intuition is telling me that's extremely unlikely. I can't actually calculate how fast he was going with just that information, can I? It seems to me, I have to know the absolute frequency of one of those tones, either shifted up or down or unshifted, yes? I tried to mimic the...
Back
Top