Crystal Palace have agreed terms in principle with Thomas Frank to become their next head coach, Sky Sports News understands.