Formation of a gas hydrate due to injection of a cold gas into a porous reservoir partly saturated by water