Thank you very much for the answers. Thermal expansion in a trapped liquid is discussed only briefly in API RP 520 and 521.
My situation comprises a trapped liquid piping, with lenght above 100ft between inventory valves, which will be closed in case of fire, for example.
The fluid is cracked...