Numerical modelling of thermomechanical processes related to bulk forming operations