A model for comet 81P/Wild 2