Chemical reaction, diffusion, and ionization model for dissolution of oxygen acids and carbon acids.