Two cylindrical tanks, connecting pipe and outlet pipe - Differential Equation

VinnyCee
Messages
486
Reaction score
0

Homework Statement



Two vertical cylindrical tanks, each 10 meters high, are installed side-by-side. Their bottoms are at the same level. The tanks are connected at their bottoms by a horizontal pipe 2 meters long which has an internal diameter of 0.03 meters. The first tank is full of oil and the second tank is empty. Tank 1 has a cross-sectional area twice that of tank 2. Tank one has an outlet pipe (to the environment) at it's bottom as well. It is of the same dimension as the other pipe. Both of the valves for the horizontal pipes are opened simultaneously. What is the maximum oil level reached for tank 2 before the oil drains out of both tanks? Assume laminar flow in the pipes and neglect kinetic losses and pipe entrances and exits.

Homework Equations



The volume balance equations are as follows.

TANK 1: 2A\,\frac{dy}{dt}\,=\,-q_1\,-\,q_2

TANK 2: A\,\frac{dx}{dt}\,=\,q_2

q_1\,=\,\frac{k\,y}{L}

q_2\,=\,\frac{k\,\left(y\,-\,x\right)}{L}

The Attempt at a Solution



\frac{dy}{dt}\,=\,\frac{1}{2A}\,\left(-q_1\,-\,q_2\right)

\frac{dx}{dt}\,=\,\frac{1}{A}\,\left(q_2\right)

\frac{\frac{dy}{dt}}{\frac{dx}{dt}}\,=\,\frac{\frac{1}{2A}\,\left(-q_1\,-\,q_2\right)}{\frac{1}{A}\,\left(q_2\right)}

\frac{dy}{dx}\,=\,\frac{-\left(q_1\,+\,q_2\right)}{2y}

Substituting in for q_1 and q_2.

\frac{dy}{dx}\,=\,\frac{k\,\left(x\,-\,2y\right)}{4y}

4\,\frac{dy}{dx}\,=\,k\,\frac{x}{y}\,-\,2\,k

I don't know how to proceed, please help!
 
Last edited:
Physics news on Phys.org
background: solving systems of 1st order ODE. for the homogeneous NxN linear system:
\dot{\textbf{x}}(t)=\mathbb{A} \textbf{x}(t)
where \dot{\textbf{x}}(t), \textbf{x}(t) are N-vectors while \mathbb{A} is a NxN matrix
(with constant coefficients assumed) then the general solution takes the form:
\textbf{x}(t) = c_1\textbf{V}_1\,e^{\lambda_1 t} + c_2\textbf{V}_2\,e^{\lambda_2 t}+\cdots+c_N\textbf{V}_N\,e^{\lambda_N t}
where \lambda_i are the eigenvalues of \mathbb{A} and c_i are arbitrary integration constants,
\textbf{V}_i are linearly independent eigenvectors of \mathbb{A}.

For your system, it would look something like this:
\begin{pmatrix}\dot{y} \\ \dot{x}\end{pmatrix}=<br /> \begin{pmatrix}-k/(AL) &amp; k/(2AL)\\ k/(AL) &amp; -k/(AL)\end{pmatrix}\;<br /> \begin{pmatrix}y \\ x\end{pmatrix}
 
can you explain what q, k, x, y and L are? I kinda can't follow what you were doing up there.
 
yes, i want to know too
 
The problem doesn't say what those values are. I know some are constant and some are variables.

Here is the picture that came with the problem

http://img505.imageshack.us/img505/8951/tankproblemdg2.jpg
 
Last edited by a moderator:
VinnyCee, why 2q changed to 2y?
 

Attachments

There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top