Text this: Numerical simulation on foam stability and electrokinetic potential during foam injection