A Thermodynamic Framework for Turing‐Type Instabilities in Porous Media: Part I Theory | Synapse