Gibbs free energy minimization for flow in porous media