The rheological behavior of a solidifying alloy is modeled by considering the deforming material as a viscoplastic porous medium saturated with liquid. Since the solid grains in the mush do not form a fully cohesive skeleton, an internal variable that represents the partial cohesion of this porous material is introduced. The model parameters are identified using shear and compressive stress states under isothermal conditions on an Al-Cu model alloy. The model is partially validated with onisothermal conditions and we complete this study with tensile conditions. Such conditions, when applied on the mush, may lead to severe defects in many casting processes. The model has been implemented into a commercial finite-element code to simulate a tensile test. Comparison with experimental data shows that the model is able to reproduce the main features of a solidifying alloy under tension, although fracture is not directly addressed here. We show that two critical solid fractions must be introduced in the model to account for the rheology: the coherency solid fraction at which the mush acquires significant strength and the coalescence solid fraction at which solid grains start to form solid bridges.