A 3D model coupled inverse algorithm for the non-uniform thermal behavior of a continuous casting mold