Software for bottomhole treatment by thermal methods