The **Oldroyd-B model** is a constitutive model used to describe the flow of viscoelastic fluids.
This model can be regarded as an extension of the upper-convected Maxwell model and is equivalent to a fluid filled with elastic bead and spring dumbbells.
The model is named after its creator James G. Oldroyd.^{[1]}

The model can be written as:

where:

- is the deviatoric part of the stress tensor;
- is the relaxation time;
- is the retardation time = ;
- is the upper-convected time derivative of stress tensor:
- is the fluid velocity;
- is the total viscosity composed of solvent and polymer components, ;
- is the deformation rate tensor or rate of strain tensor, .

The model can also be written split into polymeric (viscoelastic) part separately from the solvent part:^{[2]}

where

Whilst the model gives good approximations of viscoelastic fluids in shear flow, it has an unphysical singularity in extensional flow, where the dumbbells are infinitely stretched. This is, however, specific to idealised flow; in the case of a cross-slot geometry the extensional flow is not ideal, so the stress, although singular, remains integrable, i.e. the stress is infinite in a correspondingly infinitely small region.^{[3]}

If the solvent viscosity is zero, the Oldroyd-B becomes the upper-convected Maxwell model.