Glass transition temperature

Hello all

would you help me how i can calculate glass transition temperature of polymer chains near a surface while my system is non periodic?

i have calculate glass transition temperature for a periodic box of the polymer chains before and now i do not how i can calculate it for non periodoc structure.

Thank you

SJN