Process modelling and simulation with finite element methods