I am working on a model in porous media. In particular, it is about the formation damage due to the precipitation. I assigned Dirichlet boundary condition for the concentration near the well-bore, which decreases as time passes. I think this decrease is because also the pressure decreases as precipitation happens. My question is how can I relate the concentration to the pressure? I know the relationship for ideal gases, p = cRT, but it is not my case.