Isothermal compressibility

Hello,
How to calculate the isothermal compressibility of a polymer chain,in a non-periodic system?