I am working on reactive transport and I need to solve this advection equation:
\begin{align} \frac{\partial (\phi C)}{\partial t} = - \nabla \cdot \big(\vec{q}(\phi) C\big) \end{align}
with $\phi$ being the porosity, C the concentration of an element, and $\vec{q}$ the fluid flux. I am calculating the porosity and the fluid flux with Darcy's law so I only have 1 unknown.
It has been a while since I started working on it (see this topic [1] or this one [2]) and I am still struggling. The 2 main problems are that:
$\vec{q}$ is not divergence-free as my media is compressible so I want to use a WENO scheme
there are 2 variables in the time derivative.
One idea is to rewrite the first equation that way, as I know the evolution of $\phi$ through time:
\begin{equation} C \frac{\partial \phi }{\partial t} + \phi\frac{\partial C}{\partial t} = - \nabla \cdot \big(\vec{q}(\phi) C\big) \end{equation} \begin{equation} \frac{\partial C}{\partial t} = - \frac{1}{\phi} \Bigg(\nabla \cdot \big(\vec{q}(\phi) C\big) - C \frac{\partial \phi }{\partial t} \Bigg) \end{equation}
I can then use SSP 4th order rungen kutta on that.
I was told previously that it may not be a good idea. May I know why?