Based on the design of your system you need to know:
- Operating temperature (°C)
- Operating pressure (bar), Specific volume (m3/kg)
- Velocity (m/s)
Once those are established then you’re ready to consult ASME standard PTC 19.3 TW-2010 Thermowell section, which goes through the calculation for the design of the well.