Simulating heat generation in the monoblock laser using finite element analysis