create single phase and two phase with opm