A thermal relief valve is typically used to relieve overpressure due to thermal expansion of liquid in pipelines.