Non-rigid-body thermal-motion analysis