Simulating moisture diffusion in polymers using thermal-moisture analogy