Local definition for surface-based geometrical modulus and use in automated casting cooling determination