Novel computational tool for efficient structural analyses of geothermal wells