Modeling the diffusion of a fluid in a strained solid: A comparison between different formats