Near-isothermal compression (and expansion) is a process in which a gas is compressed in very close proximity to a large incompressible thermal mass such as a heat absorbing and releasing structure (HARS) or a water spray.