fields in Matlab. Multiphase flow and surfactant flushing tests were also simulated