Let's say there's a static fluid in an arbitrarily deep vessel with constant non-zero compressibility ($k=\frac{1}{B}=-\frac{dV}{Vdp}=\frac{d\rho}{\rho dp}$). Let $z$ be the vertical distance below the surface of the fluid. Then $dp=g\rho dz$ ($g$ here is positive and assumed to be constant). As $k$ is constant, $\rho$ can be expressed in terms of $p$: $\rho=C_{0}e^{kp}$. If $\rho=\rho_{0}$ and $p=p_{0}$ at $z=0$, then $C_{0}=\rho_{0}e^{-kp_{0}}$, which is a positive quantity. So $e^{-kp}dp=C_{0}gdz$, which can be solved to get $p(z)=-\frac{1}{k}\ln(C_{1}k-C_{0}kgz)$. This doesn't make sense, because the coefficient of $z$ is negative, so there exists a positive value of $z$ for which $p=\infty$. What did I do wrong?
1 Answers
You cannot write $ \large \frac {dV}{V} = - \large \frac {d\rho}{\rho} $
Your are not allowed to do this because you cannot write $V(z) * \rho(z) = Constant$
Of course, you think that the total mass would be this constant, but that is not correct, in fact you have :
$$ Mass(0 \rightarrow z) = \int_0^z ~ \rho(z) ~ dV(z)$$
[EDIT] A possible solution to your problem is to consider that the relative modification of density would be proportionnal to the pressure, that is:
$$ \frac{\rho(z) - \rho_0}{\rho_0} = k p(z)$$ where $\rho_0$ is the density for $k=0$
Replacing $\rho$ by its value in the equation $dp(z) = g \rho(z) dz$ would give you :
$$dp(z) = g \rho_0 (1 + kp(z)) dz$$
The solution of this equation would be :
$$p(z) = \frac{e^{kg \rho_0 z} - 1}{k} $$
The expression for the density would be :
$$\rho(z) =\rho_0 e^{kg \rho_0 z}$$
You can check, that, when $k \rightarrow 0$, we recover the correct values.

- 17,567
You're right that I can't write $\rho(z)V(z)=Constant$, but couldn't I write $\rho\Delta V=Constant$, and then apply it the same way, if $k=\frac{d\Delta V}{\Delta Vdp}$?
– Joshua Meyers Jun 08 '13 at 14:49I think you're using $p$ as the gauge pressure. Is this correct?
I followed your steps and got $p(z)=\frac{e^g\rho_{0}z-1}{k}$. (no $k$ in exponential). Then $\rho=p_{0}e^{g\rho_{0}z}$, which, interestingly, doesn't contain $k$.
Do you mean $k$ to be the compressibility, or just an arbitrary constant?
I know there are other ways to do this problem (such as the way you proposed), but I still am confused as to why the way I did doesn't work. Looking at it now, there's something weird about $\rho=C_{0}e^{kp}$. Maybe the assumption of constant compressibility is a problem.