We do this by letting steam in at one end of the retort and air out through the other end. This is called VENTING. Steam must come in FAST to blow out all the air and the vent pipe must be BIG so the air can get away easily.
The vent valve must be WIDE OPEN during venting. Or there will be a traffic jam. And all the air won’t get out