A derivation of a phase field model with fluid properties