<?xml version="1.0" encoding="UTF-8"?>

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2025 Workiva-->
<!--r:fc698648-a027-4424-97b9-b78e2fcf66e4,g:e3b5ec26-b2c0-4188-b8dd-5c7110e1f30d-->
<link:linkbase xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xbrldt="http://xbrl.org/2005/xbrldt" xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd">
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/all" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#all"/>
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#hypercube-dimension"/>
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-default"/>
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-domain"/>
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/domain-member" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#domain-member"/>
  <link:roleRef roleURI="http://www.tetratec.com/role/CoverPage" xlink:type="simple" xlink:href="tti-20250630.xsd#CoverPage"/>
  <link:definitionLink xlink:role="http://www.tetratec.com/role/CoverPage" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentInformationLineItems_06362fc3-67a2-40a7-98c6-89407bca0e74" xlink:href="https://xbrl.sec.gov/dei/2024/dei-2024.xsd#dei_DocumentInformationLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentInformationTable_b101d82f-cf40-495a-aef5-eae7d5fec869" xlink:href="https://xbrl.sec.gov/dei/2024/dei-2024.xsd#dei_DocumentInformationTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_dei_DocumentInformationLineItems_06362fc3-67a2-40a7-98c6-89407bca0e74" xlink:to="loc_dei_DocumentInformationTable_b101d82f-cf40-495a-aef5-eae7d5fec869" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementClassOfStockAxis_acbffbd4-a880-4dba-8881-9faf936bd446" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StatementClassOfStockAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_dei_DocumentInformationTable_b101d82f-cf40-495a-aef5-eae7d5fec869" xlink:to="loc_us-gaap_StatementClassOfStockAxis_acbffbd4-a880-4dba-8881-9faf936bd446" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_acbffbd4-a880-4dba-8881-9faf936bd446_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_acbffbd4-a880-4dba-8881-9faf936bd446" xlink:to="loc_us-gaap_ClassOfStockDomain_acbffbd4-a880-4dba-8881-9faf936bd446_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_26db4938-8451-41a4-81ec-f7422e83eebd" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_acbffbd4-a880-4dba-8881-9faf936bd446" xlink:to="loc_us-gaap_ClassOfStockDomain_26db4938-8451-41a4-81ec-f7422e83eebd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockMember_b72eb6ab-e59f-43ab-89f1-e425938ba7e2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CommonStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_26db4938-8451-41a4-81ec-f7422e83eebd" xlink:to="loc_us-gaap_CommonStockMember_b72eb6ab-e59f-43ab-89f1-e425938ba7e2" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SeriesAPreferredStockMember_4bfe0eeb-5c9e-4e69-ac80-4644c0730e07" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SeriesAPreferredStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_26db4938-8451-41a4-81ec-f7422e83eebd" xlink:to="loc_us-gaap_SeriesAPreferredStockMember_4bfe0eeb-5c9e-4e69-ac80-4644c0730e07" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentType_0a3a955f-6215-486c-953f-7c7e00cddbf0" xlink:href="https://xbrl.sec.gov/dei/2024/dei-2024.xsd#dei_DocumentType"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_06362fc3-67a2-40a7-98c6-89407bca0e74" xlink:to="loc_dei_DocumentType_0a3a955f-6215-486c-953f-7c7e00cddbf0" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentQuarterlyReport_0a537fd6-1856-4154-b930-7024929a0f9e" xlink:href="https://xbrl.sec.gov/dei/2024/dei-2024.xsd#dei_DocumentQuarterlyReport"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_06362fc3-67a2-40a7-98c6-89407bca0e74" xlink:to="loc_dei_DocumentQuarterlyReport_0a537fd6-1856-4154-b930-7024929a0f9e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentPeriodEndDate_5fd236f3-4707-4f4a-8847-b3cd291d6220" xlink:href="https://xbrl.sec.gov/dei/2024/dei-2024.xsd#dei_DocumentPeriodEndDate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_06362fc3-67a2-40a7-98c6-89407bca0e74" xlink:to="loc_dei_DocumentPeriodEndDate_5fd236f3-4707-4f4a-8847-b3cd291d6220" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentTransitionReport_b66286ff-11fd-436a-a9cb-366f38b25f78" xlink:href="https://xbrl.sec.gov/dei/2024/dei-2024.xsd#dei_DocumentTransitionReport"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_06362fc3-67a2-40a7-98c6-89407bca0e74" xlink:to="loc_dei_DocumentTransitionReport_b66286ff-11fd-436a-a9cb-366f38b25f78" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityFileNumber_3bd0307e-3ab4-4ea8-879e-a5a0287037cd" xlink:href="https://xbrl.sec.gov/dei/2024/dei-2024.xsd#dei_EntityFileNumber"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_06362fc3-67a2-40a7-98c6-89407bca0e74" xlink:to="loc_dei_EntityFileNumber_3bd0307e-3ab4-4ea8-879e-a5a0287037cd" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityRegistrantName_6fdec918-9aca-495b-a0fe-e000a70df627" xlink:href="https://xbrl.sec.gov/dei/2024/dei-2024.xsd#dei_EntityRegistrantName"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_06362fc3-67a2-40a7-98c6-89407bca0e74" xlink:to="loc_dei_EntityRegistrantName_6fdec918-9aca-495b-a0fe-e000a70df627" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityIncorporationStateCountryCode_d5878772-515b-4213-b62b-5d6535dd7553" xlink:href="https://xbrl.sec.gov/dei/2024/dei-2024.xsd#dei_EntityIncorporationStateCountryCode"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_06362fc3-67a2-40a7-98c6-89407bca0e74" xlink:to="loc_dei_EntityIncorporationStateCountryCode_d5878772-515b-4213-b62b-5d6535dd7553" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityTaxIdentificationNumber_7e069a50-9c02-4429-b90f-55c77bed7e10" xlink:href="https://xbrl.sec.gov/dei/2024/dei-2024.xsd#dei_EntityTaxIdentificationNumber"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_06362fc3-67a2-40a7-98c6-89407bca0e74" xlink:to="loc_dei_EntityTaxIdentificationNumber_7e069a50-9c02-4429-b90f-55c77bed7e10" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityAddressAddressLine1_18c56442-d3b3-4823-b13e-779488e2294e" xlink:href="https://xbrl.sec.gov/dei/2024/dei-2024.xsd#dei_EntityAddressAddressLine1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_06362fc3-67a2-40a7-98c6-89407bca0e74" xlink:to="loc_dei_EntityAddressAddressLine1_18c56442-d3b3-4823-b13e-779488e2294e" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityAddressCityOrTown_53d151e2-8541-4756-99eb-a6c8b63b0e26" xlink:href="https://xbrl.sec.gov/dei/2024/dei-2024.xsd#dei_EntityAddressCityOrTown"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_06362fc3-67a2-40a7-98c6-89407bca0e74" xlink:to="loc_dei_EntityAddressCityOrTown_53d151e2-8541-4756-99eb-a6c8b63b0e26" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityAddressPostalZipCode_fb6ce97a-1697-42e1-901b-d0dc9918224b" xlink:href="https://xbrl.sec.gov/dei/2024/dei-2024.xsd#dei_EntityAddressPostalZipCode"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_06362fc3-67a2-40a7-98c6-89407bca0e74" xlink:to="loc_dei_EntityAddressPostalZipCode_fb6ce97a-1697-42e1-901b-d0dc9918224b" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityAddressStateOrProvince_5d992e78-5013-4885-8cc9-aca1f5343608" xlink:href="https://xbrl.sec.gov/dei/2024/dei-2024.xsd#dei_EntityAddressStateOrProvince"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_06362fc3-67a2-40a7-98c6-89407bca0e74" xlink:to="loc_dei_EntityAddressStateOrProvince_5d992e78-5013-4885-8cc9-aca1f5343608" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_CityAreaCode_66ccb9a1-20d2-4cd2-8bc9-538a4ed05594" xlink:href="https://xbrl.sec.gov/dei/2024/dei-2024.xsd#dei_CityAreaCode"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_06362fc3-67a2-40a7-98c6-89407bca0e74" xlink:to="loc_dei_CityAreaCode_66ccb9a1-20d2-4cd2-8bc9-538a4ed05594" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_LocalPhoneNumber_b61afb29-d8fc-4391-9312-644df113e53d" xlink:href="https://xbrl.sec.gov/dei/2024/dei-2024.xsd#dei_LocalPhoneNumber"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_06362fc3-67a2-40a7-98c6-89407bca0e74" xlink:to="loc_dei_LocalPhoneNumber_b61afb29-d8fc-4391-9312-644df113e53d" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_Security12bTitle_d5ebb3a9-c8fa-475f-ad2e-b71f425f80a4" xlink:href="https://xbrl.sec.gov/dei/2024/dei-2024.xsd#dei_Security12bTitle"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_06362fc3-67a2-40a7-98c6-89407bca0e74" xlink:to="loc_dei_Security12bTitle_d5ebb3a9-c8fa-475f-ad2e-b71f425f80a4" xlink:type="arc" order="14"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_TradingSymbol_49a2d3bb-ce58-4260-b0ee-fd48e5e85035" xlink:href="https://xbrl.sec.gov/dei/2024/dei-2024.xsd#dei_TradingSymbol"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_06362fc3-67a2-40a7-98c6-89407bca0e74" xlink:to="loc_dei_TradingSymbol_49a2d3bb-ce58-4260-b0ee-fd48e5e85035" xlink:type="arc" order="15"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_SecurityExchangeName_e8330376-c241-4527-8693-f364db41bd54" xlink:href="https://xbrl.sec.gov/dei/2024/dei-2024.xsd#dei_SecurityExchangeName"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_06362fc3-67a2-40a7-98c6-89407bca0e74" xlink:to="loc_dei_SecurityExchangeName_e8330376-c241-4527-8693-f364db41bd54" xlink:type="arc" order="16"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_NoTradingSymbolFlag_3911532b-5056-4d65-8d31-0711a89ee10d" xlink:href="https://xbrl.sec.gov/dei/2024/dei-2024.xsd#dei_NoTradingSymbolFlag"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_06362fc3-67a2-40a7-98c6-89407bca0e74" xlink:to="loc_dei_NoTradingSymbolFlag_3911532b-5056-4d65-8d31-0711a89ee10d" xlink:type="arc" order="17"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityCurrentReportingStatus_a705555b-26b1-4096-8a74-c63713eac695" xlink:href="https://xbrl.sec.gov/dei/2024/dei-2024.xsd#dei_EntityCurrentReportingStatus"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_06362fc3-67a2-40a7-98c6-89407bca0e74" xlink:to="loc_dei_EntityCurrentReportingStatus_a705555b-26b1-4096-8a74-c63713eac695" xlink:type="arc" order="18"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityInteractiveDataCurrent_2b769553-6e52-46c7-b3a8-814ec8e3ae98" xlink:href="https://xbrl.sec.gov/dei/2024/dei-2024.xsd#dei_EntityInteractiveDataCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_06362fc3-67a2-40a7-98c6-89407bca0e74" xlink:to="loc_dei_EntityInteractiveDataCurrent_2b769553-6e52-46c7-b3a8-814ec8e3ae98" xlink:type="arc" order="19"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityShellCompany_cc2dc5c4-5b4b-40b4-bad4-d76ffe00ce61" xlink:href="https://xbrl.sec.gov/dei/2024/dei-2024.xsd#dei_EntityShellCompany"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_06362fc3-67a2-40a7-98c6-89407bca0e74" xlink:to="loc_dei_EntityShellCompany_cc2dc5c4-5b4b-40b4-bad4-d76ffe00ce61" xlink:type="arc" order="20"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityCommonStockSharesOutstanding_91407ba6-4539-4cdf-be3c-28089f233035" xlink:href="https://xbrl.sec.gov/dei/2024/dei-2024.xsd#dei_EntityCommonStockSharesOutstanding"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_06362fc3-67a2-40a7-98c6-89407bca0e74" xlink:to="loc_dei_EntityCommonStockSharesOutstanding_91407ba6-4539-4cdf-be3c-28089f233035" xlink:type="arc" order="21"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityCentralIndexKey_0b009ed1-d4cc-4796-b016-0c5f157f0a76" xlink:href="https://xbrl.sec.gov/dei/2024/dei-2024.xsd#dei_EntityCentralIndexKey"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_06362fc3-67a2-40a7-98c6-89407bca0e74" xlink:to="loc_dei_EntityCentralIndexKey_0b009ed1-d4cc-4796-b016-0c5f157f0a76" xlink:type="arc" order="22"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_CurrentFiscalYearEndDate_99a270e3-c2d1-40db-a210-9b3b49df5766" xlink:href="https://xbrl.sec.gov/dei/2024/dei-2024.xsd#dei_CurrentFiscalYearEndDate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_06362fc3-67a2-40a7-98c6-89407bca0e74" xlink:to="loc_dei_CurrentFiscalYearEndDate_99a270e3-c2d1-40db-a210-9b3b49df5766" xlink:type="arc" order="23"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityFilerCategory_962e469a-1f2f-46bf-a9e5-cd51d01e841a" xlink:href="https://xbrl.sec.gov/dei/2024/dei-2024.xsd#dei_EntityFilerCategory"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_06362fc3-67a2-40a7-98c6-89407bca0e74" xlink:to="loc_dei_EntityFilerCategory_962e469a-1f2f-46bf-a9e5-cd51d01e841a" xlink:type="arc" order="24"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntitySmallBusiness_18b5c3be-56c6-4c80-bbb1-b79e33964eab" xlink:href="https://xbrl.sec.gov/dei/2024/dei-2024.xsd#dei_EntitySmallBusiness"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_06362fc3-67a2-40a7-98c6-89407bca0e74" xlink:to="loc_dei_EntitySmallBusiness_18b5c3be-56c6-4c80-bbb1-b79e33964eab" xlink:type="arc" order="25"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityEmergingGrowthCompany_e9308819-a24b-456f-86a0-a240c4b12cdd" xlink:href="https://xbrl.sec.gov/dei/2024/dei-2024.xsd#dei_EntityEmergingGrowthCompany"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_06362fc3-67a2-40a7-98c6-89407bca0e74" xlink:to="loc_dei_EntityEmergingGrowthCompany_e9308819-a24b-456f-86a0-a240c4b12cdd" xlink:type="arc" order="26"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentFiscalYearFocus_36a6a1c6-912f-4eb7-b716-e8a7dc0080e0" xlink:href="https://xbrl.sec.gov/dei/2024/dei-2024.xsd#dei_DocumentFiscalYearFocus"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_06362fc3-67a2-40a7-98c6-89407bca0e74" xlink:to="loc_dei_DocumentFiscalYearFocus_36a6a1c6-912f-4eb7-b716-e8a7dc0080e0" xlink:type="arc" order="27"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentFiscalPeriodFocus_eea5a8d6-15d7-4b11-8b13-a09a76614fd0" xlink:href="https://xbrl.sec.gov/dei/2024/dei-2024.xsd#dei_DocumentFiscalPeriodFocus"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_06362fc3-67a2-40a7-98c6-89407bca0e74" xlink:to="loc_dei_DocumentFiscalPeriodFocus_eea5a8d6-15d7-4b11-8b13-a09a76614fd0" xlink:type="arc" order="28"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_AmendmentFlag_8bdb6061-99da-40c5-8042-0ad2ea8ae63c" xlink:href="https://xbrl.sec.gov/dei/2024/dei-2024.xsd#dei_AmendmentFlag"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_06362fc3-67a2-40a7-98c6-89407bca0e74" xlink:to="loc_dei_AmendmentFlag_8bdb6061-99da-40c5-8042-0ad2ea8ae63c" xlink:type="arc" order="29"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.tetratec.com/role/ConsolidatedStatementsofOperations" xlink:type="simple" xlink:href="tti-20250630.xsd#ConsolidatedStatementsofOperations"/>
  <link:definitionLink xlink:role="http://www.tetratec.com/role/ConsolidatedStatementsofOperations" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_b11e904f-2b2e-4be1-8bb5-2ff08ee9d0d3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StatementLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementTable_36d13c0b-b8de-4be4-bf2d-667b504fcc71" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StatementTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_b11e904f-2b2e-4be1-8bb5-2ff08ee9d0d3" xlink:to="loc_us-gaap_StatementTable_36d13c0b-b8de-4be4-bf2d-667b504fcc71" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductOrServiceAxis_40d918a0-ddf7-4591-8983-32c6b0c5d184" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_ProductOrServiceAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_36d13c0b-b8de-4be4-bf2d-667b504fcc71" xlink:to="loc_srt_ProductOrServiceAxis_40d918a0-ddf7-4591-8983-32c6b0c5d184" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_40d918a0-ddf7-4591-8983-32c6b0c5d184_default" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ProductOrServiceAxis_40d918a0-ddf7-4591-8983-32c6b0c5d184" xlink:to="loc_srt_ProductsAndServicesDomain_40d918a0-ddf7-4591-8983-32c6b0c5d184_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_9e256826-9847-46ec-8b10-6019d5541da0" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ProductOrServiceAxis_40d918a0-ddf7-4591-8983-32c6b0c5d184" xlink:to="loc_srt_ProductsAndServicesDomain_9e256826-9847-46ec-8b10-6019d5541da0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProductMember_c941e084-ee86-456a-bbb1-1b515f3132ea" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProductMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_9e256826-9847-46ec-8b10-6019d5541da0" xlink:to="loc_us-gaap_ProductMember_c941e084-ee86-456a-bbb1-1b515f3132ea" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ServiceMember_f06083a7-c1d1-42c4-b790-942582757067" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ServiceMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_9e256826-9847-46ec-8b10-6019d5541da0" xlink:to="loc_us-gaap_ServiceMember_f06083a7-c1d1-42c4-b790-942582757067" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenuesAbstract_6224b4fd-fdda-49a3-a631-4f278ef89a64" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RevenuesAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_b11e904f-2b2e-4be1-8bb5-2ff08ee9d0d3" xlink:to="loc_us-gaap_RevenuesAbstract_6224b4fd-fdda-49a3-a631-4f278ef89a64" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax_38c154e5-ba5f-4a6b-8818-7176963851a9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenuesAbstract_6224b4fd-fdda-49a3-a631-4f278ef89a64" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax_38c154e5-ba5f-4a6b-8818-7176963851a9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfRevenueAbstract_74512126-94fd-4a92-91c5-deadb82a02d6" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CostOfRevenueAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_b11e904f-2b2e-4be1-8bb5-2ff08ee9d0d3" xlink:to="loc_us-gaap_CostOfRevenueAbstract_74512126-94fd-4a92-91c5-deadb82a02d6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfGoodsAndServicesSold_62a31e8f-7c06-4f33-84c1-99099c8ca512" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CostOfGoodsAndServicesSold"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CostOfRevenueAbstract_74512126-94fd-4a92-91c5-deadb82a02d6" xlink:to="loc_us-gaap_CostOfGoodsAndServicesSold_62a31e8f-7c06-4f33-84c1-99099c8ca512" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_tti_DepreciationDepletionAmortizationAndAccretion_8554e7d9-830b-4913-a6f0-6dc5619507ae" xlink:href="tti-20250630.xsd#tti_DepreciationDepletionAmortizationAndAccretion"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CostOfRevenueAbstract_74512126-94fd-4a92-91c5-deadb82a02d6" xlink:to="loc_tti_DepreciationDepletionAmortizationAndAccretion_8554e7d9-830b-4913-a6f0-6dc5619507ae" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetImpairmentCharges_a65a6a44-1eb8-4968-86bf-86176bbdcbf2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AssetImpairmentCharges"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CostOfRevenueAbstract_74512126-94fd-4a92-91c5-deadb82a02d6" xlink:to="loc_us-gaap_AssetImpairmentCharges_a65a6a44-1eb8-4968-86bf-86176bbdcbf2" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostsAndExpenses_b7f750f3-6122-4402-80a5-bf2480567154" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CostsAndExpenses"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CostOfRevenueAbstract_74512126-94fd-4a92-91c5-deadb82a02d6" xlink:to="loc_us-gaap_CostsAndExpenses_b7f750f3-6122-4402-80a5-bf2480567154" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GrossProfit_6e7e0ce7-d03d-4df4-9794-046ed36dec6c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_GrossProfit"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_b11e904f-2b2e-4be1-8bb5-2ff08ee9d0d3" xlink:to="loc_us-gaap_GrossProfit_6e7e0ce7-d03d-4df4-9794-046ed36dec6c" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeneralAndAdministrativeExpense_670ce281-a31c-42c9-9eeb-e38ff7055452" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_GeneralAndAdministrativeExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_b11e904f-2b2e-4be1-8bb5-2ff08ee9d0d3" xlink:to="loc_us-gaap_GeneralAndAdministrativeExpense_670ce281-a31c-42c9-9eeb-e38ff7055452" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpense_fd2c1bac-909d-4f28-be1c-911c96d6def3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InterestExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_b11e904f-2b2e-4be1-8bb5-2ff08ee9d0d3" xlink:to="loc_us-gaap_InterestExpense_fd2c1bac-909d-4f28-be1c-911c96d6def3" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainsLossesOnExtinguishmentOfDebt_5297ef20-0f36-49c1-82d0-af4dcd44960f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_GainsLossesOnExtinguishmentOfDebt"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_b11e904f-2b2e-4be1-8bb5-2ff08ee9d0d3" xlink:to="loc_us-gaap_GainsLossesOnExtinguishmentOfDebt_5297ef20-0f36-49c1-82d0-af4dcd44960f" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_5c7dcb6e-9e1d-47fe-a95e-c200179e4783" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherNonoperatingIncomeExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_b11e904f-2b2e-4be1-8bb5-2ff08ee9d0d3" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_5c7dcb6e-9e1d-47fe-a95e-c200179e4783" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_4e851b1f-806b-44f5-9321-9ecac8b3d5c8" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_b11e904f-2b2e-4be1-8bb5-2ff08ee9d0d3" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_4e851b1f-806b-44f5-9321-9ecac8b3d5c8" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_8fb20bfc-03fe-419d-a8ca-f7242cbe574b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_b11e904f-2b2e-4be1-8bb5-2ff08ee9d0d3" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_8fb20bfc-03fe-419d-a8ca-f7242cbe574b" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_9ef0628f-0e46-429d-8f15-262c39c4602d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProfitLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_b11e904f-2b2e-4be1-8bb5-2ff08ee9d0d3" xlink:to="loc_us-gaap_ProfitLoss_9ef0628f-0e46-429d-8f15-262c39c4602d" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAttributableToNoncontrollingInterest_42e26f5f-0da8-497a-b0be-46d872c03029" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetIncomeLossAttributableToNoncontrollingInterest"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_b11e904f-2b2e-4be1-8bb5-2ff08ee9d0d3" xlink:to="loc_us-gaap_NetIncomeLossAttributableToNoncontrollingInterest_42e26f5f-0da8-497a-b0be-46d872c03029" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_6903e0a0-787c-4fa7-abce-70bb034f8d7b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetIncomeLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_b11e904f-2b2e-4be1-8bb5-2ff08ee9d0d3" xlink:to="loc_us-gaap_NetIncomeLoss_6903e0a0-787c-4fa7-abce-70bb034f8d7b" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EarningsPerShareBasicAbstract_dc00437b-e256-4975-807e-b861278e2430" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EarningsPerShareBasicAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_b11e904f-2b2e-4be1-8bb5-2ff08ee9d0d3" xlink:to="loc_us-gaap_EarningsPerShareBasicAbstract_dc00437b-e256-4975-807e-b861278e2430" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EarningsPerShareBasic_fe7aa346-8262-4e9d-afb0-9a6b655ae028" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EarningsPerShareBasic"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EarningsPerShareBasicAbstract_dc00437b-e256-4975-807e-b861278e2430" xlink:to="loc_us-gaap_EarningsPerShareBasic_fe7aa346-8262-4e9d-afb0-9a6b655ae028" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_7d8f1a13-d7f1-4b49-aafc-2a43356f9283" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_b11e904f-2b2e-4be1-8bb5-2ff08ee9d0d3" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_7d8f1a13-d7f1-4b49-aafc-2a43356f9283" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EarningsPerShareDilutedAbstract_321e1df0-ca86-4e17-97e0-15d3b430c180" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EarningsPerShareDilutedAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_b11e904f-2b2e-4be1-8bb5-2ff08ee9d0d3" xlink:to="loc_us-gaap_EarningsPerShareDilutedAbstract_321e1df0-ca86-4e17-97e0-15d3b430c180" xlink:type="arc" order="14"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EarningsPerShareDiluted_b3d9ff4d-ed98-40cb-b823-8691c4904288" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EarningsPerShareDiluted"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EarningsPerShareDilutedAbstract_321e1df0-ca86-4e17-97e0-15d3b430c180" xlink:to="loc_us-gaap_EarningsPerShareDiluted_b3d9ff4d-ed98-40cb-b823-8691c4904288" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_fbd437bb-e5a7-49ab-831f-22d882aedf8b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_b11e904f-2b2e-4be1-8bb5-2ff08ee9d0d3" xlink:to="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_fbd437bb-e5a7-49ab-831f-22d882aedf8b" xlink:type="arc" order="15"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.tetratec.com/role/ConsolidatedStatementofEquity" xlink:type="simple" xlink:href="tti-20250630.xsd#ConsolidatedStatementofEquity"/>
  <link:definitionLink xlink:role="http://www.tetratec.com/role/ConsolidatedStatementofEquity" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_f725d2bf-4d2b-4eab-8bce-5d6fb3a396e9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StatementLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementTable_981f710e-48cd-41ec-b39d-f398776893ad" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StatementTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_f725d2bf-4d2b-4eab-8bce-5d6fb3a396e9" xlink:to="loc_us-gaap_StatementTable_981f710e-48cd-41ec-b39d-f398776893ad" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_c106b056-79d0-48fa-bb1c-61750d14c245" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StatementEquityComponentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_981f710e-48cd-41ec-b39d-f398776893ad" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_c106b056-79d0-48fa-bb1c-61750d14c245" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_c106b056-79d0-48fa-bb1c-61750d14c245_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_c106b056-79d0-48fa-bb1c-61750d14c245" xlink:to="loc_us-gaap_EquityComponentDomain_c106b056-79d0-48fa-bb1c-61750d14c245_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_ee8ca649-8b29-4c77-a47b-19013b26b566" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_c106b056-79d0-48fa-bb1c-61750d14c245" xlink:to="loc_us-gaap_EquityComponentDomain_ee8ca649-8b29-4c77-a47b-19013b26b566" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockMember_4789a725-544e-4640-b63f-00cb4e0789df" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CommonStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_ee8ca649-8b29-4c77-a47b-19013b26b566" xlink:to="loc_us-gaap_CommonStockMember_4789a725-544e-4640-b63f-00cb4e0789df" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapitalMember_092aa7f2-a0cb-4236-b7d7-cf157749ecb7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AdditionalPaidInCapitalMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_ee8ca649-8b29-4c77-a47b-19013b26b566" xlink:to="loc_us-gaap_AdditionalPaidInCapitalMember_092aa7f2-a0cb-4236-b7d7-cf157749ecb7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockCommonMember_818b9af8-9c98-4680-be55-853e481ac832" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_TreasuryStockCommonMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_ee8ca649-8b29-4c77-a47b-19013b26b566" xlink:to="loc_us-gaap_TreasuryStockCommonMember_818b9af8-9c98-4680-be55-853e481ac832" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedTranslationAdjustmentMember_b4893906-ec8c-40d8-9e24-2108fe10e297" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AccumulatedTranslationAdjustmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_ee8ca649-8b29-4c77-a47b-19013b26b566" xlink:to="loc_us-gaap_AccumulatedTranslationAdjustmentMember_b4893906-ec8c-40d8-9e24-2108fe10e297" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AociGainLossDebtSecuritiesAvailableForSaleWithAllowanceForCreditLossParentMember_4d6a0211-bbef-45a2-ab73-a41112f34158" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AociGainLossDebtSecuritiesAvailableForSaleWithAllowanceForCreditLossParentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_ee8ca649-8b29-4c77-a47b-19013b26b566" xlink:to="loc_us-gaap_AociGainLossDebtSecuritiesAvailableForSaleWithAllowanceForCreditLossParentMember_4d6a0211-bbef-45a2-ab73-a41112f34158" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsMember_2056d68b-74fe-40ad-b2e3-238b23c71557" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RetainedEarningsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_ee8ca649-8b29-4c77-a47b-19013b26b566" xlink:to="loc_us-gaap_RetainedEarningsMember_2056d68b-74fe-40ad-b2e3-238b23c71557" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoncontrollingInterestMember_1f315de4-209e-436c-a3bc-9354913ec97f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NoncontrollingInterestMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_ee8ca649-8b29-4c77-a47b-19013b26b566" xlink:to="loc_us-gaap_NoncontrollingInterestMember_1f315de4-209e-436c-a3bc-9354913ec97f" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_8560b9e5-59e4-4118-85aa-5fce598d6bea" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_f725d2bf-4d2b-4eab-8bce-5d6fb3a396e9" xlink:to="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_8560b9e5-59e4-4118-85aa-5fce598d6bea" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_df454947-56a2-4b49-b283-492ffcefc750" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProfitLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_f725d2bf-4d2b-4eab-8bce-5d6fb3a396e9" xlink:to="loc_us-gaap_ProfitLoss_df454947-56a2-4b49-b283-492ffcefc750" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationReclassificationAdjustmentFromAOCIRealizedUponSaleOrLiquidationNetOfTax_a5ea656c-2d80-4d42-89e8-3e47c0d472e5" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationReclassificationAdjustmentFromAOCIRealizedUponSaleOrLiquidationNetOfTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_f725d2bf-4d2b-4eab-8bce-5d6fb3a396e9" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationReclassificationAdjustmentFromAOCIRealizedUponSaleOrLiquidationNetOfTax_a5ea656c-2d80-4d42-89e8-3e47c0d472e5" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationGainLossArisingDuringPeriodNetOfTax_ec3b5235-e3c0-4e14-b7a6-75f0e8064315" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationGainLossArisingDuringPeriodNetOfTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_f725d2bf-4d2b-4eab-8bce-5d6fb3a396e9" xlink:to="loc_us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationGainLossArisingDuringPeriodNetOfTax_ec3b5235-e3c0-4e14-b7a6-75f0e8064315" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent_4e7f6957-9ba1-4b4d-9796-9d73a1640ff6" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_f725d2bf-4d2b-4eab-8bce-5d6fb3a396e9" xlink:to="loc_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent_4e7f6957-9ba1-4b4d-9796-9d73a1640ff6" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_4b4ef0c4-bc93-4efd-838f-9305282c8b04" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_f725d2bf-4d2b-4eab-8bce-5d6fb3a396e9" xlink:to="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_4b4ef0c4-bc93-4efd-838f-9305282c8b04" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_56a33108-1942-4803-a2d0-d86e28e1c1ba" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_f725d2bf-4d2b-4eab-8bce-5d6fb3a396e9" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_56a33108-1942-4803-a2d0-d86e28e1c1ba" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityOther_db2b16da-7e65-4c06-9283-2cb0cf534ed5" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StockholdersEquityOther"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_f725d2bf-4d2b-4eab-8bce-5d6fb3a396e9" xlink:to="loc_us-gaap_StockholdersEquityOther_db2b16da-7e65-4c06-9283-2cb0cf534ed5" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_8a592daa-9243-408b-a822-68e6dbf6aebc" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.tetratec.com/role/OrganizationBasisofPresentationandSignificantAccountingPoliciesAdditionalInformationDetails" xlink:type="simple" xlink:href="tti-20250630.xsd#OrganizationBasisofPresentationandSignificantAccountingPoliciesAdditionalInformationDetails"/>
  <link:definitionLink xlink:role="http://www.tetratec.com/role/OrganizationBasisofPresentationandSignificantAccountingPoliciesAdditionalInformationDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DividendsPayableLineItems_931983df-3b11-4e21-89e1-81f44d89c33b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DividendsPayableLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DividendsPayableTable_d845600a-c21b-43c9-a2e2-e59c8976f01f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DividendsPayableTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DividendsPayableLineItems_931983df-3b11-4e21-89e1-81f44d89c33b" xlink:to="loc_us-gaap_DividendsPayableTable_d845600a-c21b-43c9-a2e2-e59c8976f01f" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RestatementAxis_52867b53-d8bc-452c-9b93-593d4db6b37f" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_RestatementAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DividendsPayableTable_d845600a-c21b-43c9-a2e2-e59c8976f01f" xlink:to="loc_srt_RestatementAxis_52867b53-d8bc-452c-9b93-593d4db6b37f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RestatementDomain_52867b53-d8bc-452c-9b93-593d4db6b37f_default" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_RestatementDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RestatementAxis_52867b53-d8bc-452c-9b93-593d4db6b37f" xlink:to="loc_srt_RestatementDomain_52867b53-d8bc-452c-9b93-593d4db6b37f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RestatementDomain_73711895-37ea-4c76-bb1a-1383a4d8c3af" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_RestatementDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RestatementAxis_52867b53-d8bc-452c-9b93-593d4db6b37f" xlink:to="loc_srt_RestatementDomain_73711895-37ea-4c76-bb1a-1383a4d8c3af" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RevisionOfPriorPeriodErrorCorrectionAdjustmentMember_690f51ef-e408-45e0-afba-2c441cc577eb" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_RevisionOfPriorPeriodErrorCorrectionAdjustmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RestatementDomain_73711895-37ea-4c76-bb1a-1383a4d8c3af" xlink:to="loc_srt_RevisionOfPriorPeriodErrorCorrectionAdjustmentMember_690f51ef-e408-45e0-afba-2c441cc577eb" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsAxis_9e7cb221-423a-45bf-ba31-b85d296bccfc" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DividendsPayableTable_d845600a-c21b-43c9-a2e2-e59c8976f01f" xlink:to="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsAxis_9e7cb221-423a-45bf-ba31-b85d296bccfc" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_9e7cb221-423a-45bf-ba31-b85d296bccfc_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsAxis_9e7cb221-423a-45bf-ba31-b85d296bccfc" xlink:to="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_9e7cb221-423a-45bf-ba31-b85d296bccfc_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_8840375d-03d1-4c49-ac2b-28f2eaf88dcd" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsAxis_9e7cb221-423a-45bf-ba31-b85d296bccfc" xlink:to="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_8840375d-03d1-4c49-ac2b-28f2eaf88dcd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LetterOfCreditMember_f81c4da9-5b05-4437-a651-0fb479ad527c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LetterOfCreditMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_8840375d-03d1-4c49-ac2b-28f2eaf88dcd" xlink:to="loc_us-gaap_LetterOfCreditMember_f81c4da9-5b05-4437-a651-0fb479ad527c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NumberOfReportableSegments_413ba781-9b87-4b63-8b00-58b2cc181fd9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NumberOfReportableSegments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DividendsPayableLineItems_931983df-3b11-4e21-89e1-81f44d89c33b" xlink:to="loc_us-gaap_NumberOfReportableSegments_413ba781-9b87-4b63-8b00-58b2cc181fd9" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_tti_DisposalGroupIncludingDiscontinuedOperationDecommissioningLiabilityExpense_c62dd95e-bb19-483e-b283-8780e58559d2" xlink:href="tti-20250630.xsd#tti_DisposalGroupIncludingDiscontinuedOperationDecommissioningLiabilityExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DividendsPayableLineItems_931983df-3b11-4e21-89e1-81f44d89c33b" xlink:to="loc_tti_DisposalGroupIncludingDiscontinuedOperationDecommissioningLiabilityExpense_c62dd95e-bb19-483e-b283-8780e58559d2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_36ee496d-6aa2-4ea0-aeb6-c73f2cae919c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DividendsPayableLineItems_931983df-3b11-4e21-89e1-81f44d89c33b" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_36ee496d-6aa2-4ea0-aeb6-c73f2cae919c" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EarningsPerShareBasic_69e68598-2bb2-45c1-858b-153562fd7e96" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EarningsPerShareBasic"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DividendsPayableLineItems_931983df-3b11-4e21-89e1-81f44d89c33b" xlink:to="loc_us-gaap_EarningsPerShareBasic_69e68598-2bb2-45c1-858b-153562fd7e96" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EarningsPerShareDiluted_81a4ba52-4e40-4142-8107-40b4b0277e0e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EarningsPerShareDiluted"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DividendsPayableLineItems_931983df-3b11-4e21-89e1-81f44d89c33b" xlink:to="loc_us-gaap_EarningsPerShareDiluted_81a4ba52-4e40-4142-8107-40b4b0277e0e" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedCashAndCashEquivalentsAtCarryingValue_169d1a50-b51e-42d7-ba0d-31788c134d31" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RestrictedCashAndCashEquivalentsAtCarryingValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DividendsPayableLineItems_931983df-3b11-4e21-89e1-81f44d89c33b" xlink:to="loc_us-gaap_RestrictedCashAndCashEquivalentsAtCarryingValue_169d1a50-b51e-42d7-ba0d-31788c134d31" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_tti_GrossBrineLeaseAcres_1878279c-79a8-4a0a-917f-89eb899df013" xlink:href="tti-20250630.xsd#tti_GrossBrineLeaseAcres"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DividendsPayableLineItems_931983df-3b11-4e21-89e1-81f44d89c33b" xlink:to="loc_tti_GrossBrineLeaseAcres_1878279c-79a8-4a0a-917f-89eb899df013" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RecapitalizationCosts_5b413b03-e3e5-487c-94c3-5ce725442095" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RecapitalizationCosts"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DividendsPayableLineItems_931983df-3b11-4e21-89e1-81f44d89c33b" xlink:to="loc_us-gaap_RecapitalizationCosts_5b413b03-e3e5-487c-94c3-5ce725442095" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignCurrencyTransactionGainLossRealized_7d2a4694-b5ee-4406-9f4d-d6a20edc4bd2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ForeignCurrencyTransactionGainLossRealized"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DividendsPayableLineItems_931983df-3b11-4e21-89e1-81f44d89c33b" xlink:to="loc_us-gaap_ForeignCurrencyTransactionGainLossRealized_7d2a4694-b5ee-4406-9f4d-d6a20edc4bd2" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationReclassificationAdjustmentFromAOCIRealizedUponSaleOrLiquidationNetOfTax_f05e8352-45b0-4e20-9eea-65c7b82512e2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationReclassificationAdjustmentFromAOCIRealizedUponSaleOrLiquidationNetOfTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DividendsPayableLineItems_931983df-3b11-4e21-89e1-81f44d89c33b" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationReclassificationAdjustmentFromAOCIRealizedUponSaleOrLiquidationNetOfTax_f05e8352-45b0-4e20-9eea-65c7b82512e2" xlink:type="arc" order="9"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.tetratec.com/role/RevenueDisaggregationofRevenueDetails" xlink:type="simple" xlink:href="tti-20250630.xsd#RevenueDisaggregationofRevenueDetails"/>
  <link:definitionLink xlink:role="http://www.tetratec.com/role/RevenueDisaggregationofRevenueDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisaggregationOfRevenueLineItems_2f1a3eaa-6733-4da8-84d2-7595578559a8" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DisaggregationOfRevenueLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisaggregationOfRevenueTable_5fabe913-c927-4ba6-a4c7-8e11780d2f92" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DisaggregationOfRevenueTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_2f1a3eaa-6733-4da8-84d2-7595578559a8" xlink:to="loc_us-gaap_DisaggregationOfRevenueTable_5fabe913-c927-4ba6-a4c7-8e11780d2f92" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_02d18a09-f532-4799-919a-4ec9d86e3061" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StatementBusinessSegmentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_5fabe913-c927-4ba6-a4c7-8e11780d2f92" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_02d18a09-f532-4799-919a-4ec9d86e3061" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_02d18a09-f532-4799-919a-4ec9d86e3061_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_02d18a09-f532-4799-919a-4ec9d86e3061" xlink:to="loc_us-gaap_SegmentDomain_02d18a09-f532-4799-919a-4ec9d86e3061_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_27854762-b82b-4593-9add-7f90efe48876" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_02d18a09-f532-4799-919a-4ec9d86e3061" xlink:to="loc_us-gaap_SegmentDomain_27854762-b82b-4593-9add-7f90efe48876" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_tti_CompletionFluidsProductsDivisionMember_9237857d-f18a-468f-93e0-d8199ded8242" xlink:href="tti-20250630.xsd#tti_CompletionFluidsProductsDivisionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_27854762-b82b-4593-9add-7f90efe48876" xlink:to="loc_tti_CompletionFluidsProductsDivisionMember_9237857d-f18a-468f-93e0-d8199ded8242" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_tti_WaterFlowbackServicesMember_07323b73-7a31-4d92-a7cc-1e36cf7384ed" xlink:href="tti-20250630.xsd#tti_WaterFlowbackServicesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_27854762-b82b-4593-9add-7f90efe48876" xlink:to="loc_tti_WaterFlowbackServicesMember_07323b73-7a31-4d92-a7cc-1e36cf7384ed" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_StatementGeographicalAxis_9b3572a3-9036-4df8-9a42-e97c53a854c8" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_StatementGeographicalAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_5fabe913-c927-4ba6-a4c7-8e11780d2f92" xlink:to="loc_srt_StatementGeographicalAxis_9b3572a3-9036-4df8-9a42-e97c53a854c8" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_SegmentGeographicalDomain_9b3572a3-9036-4df8-9a42-e97c53a854c8_default" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_SegmentGeographicalDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_StatementGeographicalAxis_9b3572a3-9036-4df8-9a42-e97c53a854c8" xlink:to="loc_srt_SegmentGeographicalDomain_9b3572a3-9036-4df8-9a42-e97c53a854c8_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_SegmentGeographicalDomain_edd7c703-1d1e-48b2-8d7e-f897dc269f4c" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_SegmentGeographicalDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_StatementGeographicalAxis_9b3572a3-9036-4df8-9a42-e97c53a854c8" xlink:to="loc_srt_SegmentGeographicalDomain_edd7c703-1d1e-48b2-8d7e-f897dc269f4c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_country_US_f4a878b3-4739-40b9-9d0c-004841a80767" xlink:href="https://xbrl.sec.gov/country/2024/country-2024.xsd#country_US"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_edd7c703-1d1e-48b2-8d7e-f897dc269f4c" xlink:to="loc_country_US_f4a878b3-4739-40b9-9d0c-004841a80767" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NonUsMember_3b5065e0-00da-4d91-b094-73bd8813e9df" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NonUsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_edd7c703-1d1e-48b2-8d7e-f897dc269f4c" xlink:to="loc_us-gaap_NonUsMember_3b5065e0-00da-4d91-b094-73bd8813e9df" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax_237f8c53-29cb-4179-a43c-556152735d27" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_2f1a3eaa-6733-4da8-84d2-7595578559a8" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax_237f8c53-29cb-4179-a43c-556152735d27" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.tetratec.com/role/InvestmentsScheduleofInvestmentsDetails" xlink:type="simple" xlink:href="tti-20250630.xsd#InvestmentsScheduleofInvestmentsDetails"/>
  <link:definitionLink xlink:role="http://www.tetratec.com/role/InvestmentsScheduleofInvestmentsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentsInAndAdvancesToAffiliatesLineItems_eccd36a6-7605-494a-a385-844f7544b359" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InvestmentsInAndAdvancesToAffiliatesLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentsInAndAdvancesToAffiliatesTable_ae7b7d4d-937b-4cc8-bbb4-d145210fd8d0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InvestmentsInAndAdvancesToAffiliatesTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_InvestmentsInAndAdvancesToAffiliatesLineItems_eccd36a6-7605-494a-a385-844f7544b359" xlink:to="loc_us-gaap_InvestmentsInAndAdvancesToAffiliatesTable_ae7b7d4d-937b-4cc8-bbb4-d145210fd8d0" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_2d97c60e-d6bf-4500-9b29-9ac37f07c724" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_InvestmentsInAndAdvancesToAffiliatesTable_ae7b7d4d-937b-4cc8-bbb4-d145210fd8d0" xlink:to="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_2d97c60e-d6bf-4500-9b29-9ac37f07c724" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_EquityMethodInvesteeNameDomain_2d97c60e-d6bf-4500-9b29-9ac37f07c724_default" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_EquityMethodInvesteeNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_2d97c60e-d6bf-4500-9b29-9ac37f07c724" xlink:to="loc_srt_EquityMethodInvesteeNameDomain_2d97c60e-d6bf-4500-9b29-9ac37f07c724_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_EquityMethodInvesteeNameDomain_b34b0ff7-4957-45d0-a393-b7350921b43c" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_EquityMethodInvesteeNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_2d97c60e-d6bf-4500-9b29-9ac37f07c724" xlink:to="loc_srt_EquityMethodInvesteeNameDomain_b34b0ff7-4957-45d0-a393-b7350921b43c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_tti_KodiakGasServicesInc.Member_201022fc-ac86-4888-b477-3f341c63594b" xlink:href="tti-20250630.xsd#tti_KodiakGasServicesInc.Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_b34b0ff7-4957-45d0-a393-b7350921b43c" xlink:to="loc_tti_KodiakGasServicesInc.Member_201022fc-ac86-4888-b477-3f341c63594b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_tti_StandardLithiumLtd.Member_823f8a70-772e-4a48-9dd3-392118c74483" xlink:href="tti-20250630.xsd#tti_StandardLithiumLtd.Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_b34b0ff7-4957-45d0-a393-b7350921b43c" xlink:to="loc_tti_StandardLithiumLtd.Member_823f8a70-772e-4a48-9dd3-392118c74483" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_tti_InvestmentsOtherMember_8e242c92-4e1e-4836-b7e7-a7d11347b0a4" xlink:href="tti-20250630.xsd#tti_InvestmentsOtherMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_b34b0ff7-4957-45d0-a393-b7350921b43c" xlink:to="loc_tti_InvestmentsOtherMember_8e242c92-4e1e-4836-b7e7-a7d11347b0a4" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquitySecuritiesFvNi_e8b389f5-1193-43e7-8e66-1457f5c1f661" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EquitySecuritiesFvNi"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentsInAndAdvancesToAffiliatesLineItems_eccd36a6-7605-494a-a385-844f7544b359" xlink:to="loc_us-gaap_EquitySecuritiesFvNi_e8b389f5-1193-43e7-8e66-1457f5c1f661" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.tetratec.com/role/InvestmentsAdditionalInformationDetails" xlink:type="simple" xlink:href="tti-20250630.xsd#InvestmentsAdditionalInformationDetails"/>
  <link:definitionLink xlink:role="http://www.tetratec.com/role/InvestmentsAdditionalInformationDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentsInAndAdvancesToAffiliatesLineItems_89947af6-37e9-40c4-9c53-2300a0c79c70" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InvestmentsInAndAdvancesToAffiliatesLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentsInAndAdvancesToAffiliatesTable_34c1bf62-862f-4559-8cc5-3d936d77205d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InvestmentsInAndAdvancesToAffiliatesTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_InvestmentsInAndAdvancesToAffiliatesLineItems_89947af6-37e9-40c4-9c53-2300a0c79c70" xlink:to="loc_us-gaap_InvestmentsInAndAdvancesToAffiliatesTable_34c1bf62-862f-4559-8cc5-3d936d77205d" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_480bd2db-74d2-44f6-b1e6-7741e881be35" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_InvestmentsInAndAdvancesToAffiliatesTable_34c1bf62-862f-4559-8cc5-3d936d77205d" xlink:to="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_480bd2db-74d2-44f6-b1e6-7741e881be35" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_EquityMethodInvesteeNameDomain_480bd2db-74d2-44f6-b1e6-7741e881be35_default" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_EquityMethodInvesteeNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_480bd2db-74d2-44f6-b1e6-7741e881be35" xlink:to="loc_srt_EquityMethodInvesteeNameDomain_480bd2db-74d2-44f6-b1e6-7741e881be35_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_EquityMethodInvesteeNameDomain_01c40c05-c814-42f9-a358-4610b5ffa524" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_EquityMethodInvesteeNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_480bd2db-74d2-44f6-b1e6-7741e881be35" xlink:to="loc_srt_EquityMethodInvesteeNameDomain_01c40c05-c814-42f9-a358-4610b5ffa524" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_tti_KodiakGasServicesInc.Member_2b90fb43-21ba-4ba4-904b-9d5c50e07517" xlink:href="tti-20250630.xsd#tti_KodiakGasServicesInc.Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_01c40c05-c814-42f9-a358-4610b5ffa524" xlink:to="loc_tti_KodiakGasServicesInc.Member_2b90fb43-21ba-4ba4-904b-9d5c50e07517" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfEquitySecuritiesFvNi_93964ee8-0ae4-4a56-8c7d-39d86c25472d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProceedsFromSaleOfEquitySecuritiesFvNi"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentsInAndAdvancesToAffiliatesLineItems_89947af6-37e9-40c4-9c53-2300a0c79c70" xlink:to="loc_us-gaap_ProceedsFromSaleOfEquitySecuritiesFvNi_93964ee8-0ae4-4a56-8c7d-39d86c25472d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnSaleOfInvestments_44d21a41-ffd7-4570-b7cc-c6ca8c5b47d8" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_GainLossOnSaleOfInvestments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentsInAndAdvancesToAffiliatesLineItems_89947af6-37e9-40c4-9c53-2300a0c79c70" xlink:to="loc_us-gaap_GainLossOnSaleOfInvestments_44d21a41-ffd7-4570-b7cc-c6ca8c5b47d8" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.tetratec.com/role/LongTermDebtandOtherBorrowingsScheduleofLongTermDebtDetails" xlink:type="simple" xlink:href="tti-20250630.xsd#LongTermDebtandOtherBorrowingsScheduleofLongTermDebtDetails"/>
  <link:definitionLink xlink:role="http://www.tetratec.com/role/LongTermDebtandOtherBorrowingsScheduleofLongTermDebtDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentLineItems_04ae7638-f663-439b-97a7-4e50d2db8072" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtInstrumentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentTable_7927adc1-db06-490b-9428-1a4ed20c8845" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtInstrumentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_04ae7638-f663-439b-97a7-4e50d2db8072" xlink:to="loc_us-gaap_DebtInstrumentTable_7927adc1-db06-490b-9428-1a4ed20c8845" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_9bd0424d-3f6b-4ea3-8824-596e726f2284" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongtermDebtTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_7927adc1-db06-490b-9428-1a4ed20c8845" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_9bd0424d-3f6b-4ea3-8824-596e726f2284" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_9bd0424d-3f6b-4ea3-8824-596e726f2284_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_9bd0424d-3f6b-4ea3-8824-596e726f2284" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_9bd0424d-3f6b-4ea3-8824-596e726f2284_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_f9ad1840-99c9-4640-9fbd-697dddce1269" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_9bd0424d-3f6b-4ea3-8824-596e726f2284" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_f9ad1840-99c9-4640-9fbd-697dddce1269" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuredDebtMember_2e99c134-32ed-470c-8c3d-32ceb35292ff" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SecuredDebtMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_f9ad1840-99c9-4640-9fbd-697dddce1269" xlink:to="loc_us-gaap_SecuredDebtMember_2e99c134-32ed-470c-8c3d-32ceb35292ff" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityAxis_c7daafb0-2e07-4f26-94da-0d152a7553a7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CreditFacilityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_7927adc1-db06-490b-9428-1a4ed20c8845" xlink:to="loc_us-gaap_CreditFacilityAxis_c7daafb0-2e07-4f26-94da-0d152a7553a7" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_c7daafb0-2e07-4f26-94da-0d152a7553a7_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CreditFacilityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CreditFacilityAxis_c7daafb0-2e07-4f26-94da-0d152a7553a7" xlink:to="loc_us-gaap_CreditFacilityDomain_c7daafb0-2e07-4f26-94da-0d152a7553a7_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_a184ee6c-603d-433b-b01e-70f1d5c7932d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CreditFacilityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CreditFacilityAxis_c7daafb0-2e07-4f26-94da-0d152a7553a7" xlink:to="loc_us-gaap_CreditFacilityDomain_a184ee6c-603d-433b-b01e-70f1d5c7932d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_tti_TermLoanMember_a5821a7c-0cc5-4f37-bbe8-15af68315fad" xlink:href="tti-20250630.xsd#tti_TermLoanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_a184ee6c-603d-433b-b01e-70f1d5c7932d" xlink:to="loc_tti_TermLoanMember_a5821a7c-0cc5-4f37-bbe8-15af68315fad" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebt_88898f66-6f07-49ba-bb89-f8796aea26f6" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongTermDebt"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_04ae7638-f663-439b-97a7-4e50d2db8072" xlink:to="loc_us-gaap_LongTermDebt_88898f66-6f07-49ba-bb89-f8796aea26f6" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumNet_5a0bbb99-5923-450d-9ec2-bba946eb6a34" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtInstrumentUnamortizedDiscountPremiumNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_04ae7638-f663-439b-97a7-4e50d2db8072" xlink:to="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumNet_5a0bbb99-5923-450d-9ec2-bba946eb6a34" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnamortizedDebtIssuanceExpense_e96d00ea-9cbf-4953-96f1-2871eefbd31b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_UnamortizedDebtIssuanceExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_04ae7638-f663-439b-97a7-4e50d2db8072" xlink:to="loc_us-gaap_UnamortizedDebtIssuanceExpense_e96d00ea-9cbf-4953-96f1-2871eefbd31b" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.tetratec.com/role/LongTermDebtandOtherBorrowingsAdditionalInformationDetails" xlink:type="simple" xlink:href="tti-20250630.xsd#LongTermDebtandOtherBorrowingsAdditionalInformationDetails"/>
  <link:definitionLink xlink:role="http://www.tetratec.com/role/LongTermDebtandOtherBorrowingsAdditionalInformationDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentLineItems_5f44b45f-1c61-429f-b45b-112ea2941216" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtInstrumentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentTable_dfcf331e-405c-4b6b-a056-ba5f30c0e476" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtInstrumentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_5f44b45f-1c61-429f-b45b-112ea2941216" xlink:to="loc_us-gaap_DebtInstrumentTable_dfcf331e-405c-4b6b-a056-ba5f30c0e476" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_a3d4fa82-2d5b-48e6-9dbf-913a5988234e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongtermDebtTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_dfcf331e-405c-4b6b-a056-ba5f30c0e476" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_a3d4fa82-2d5b-48e6-9dbf-913a5988234e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_a3d4fa82-2d5b-48e6-9dbf-913a5988234e_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_a3d4fa82-2d5b-48e6-9dbf-913a5988234e" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_a3d4fa82-2d5b-48e6-9dbf-913a5988234e_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_038d63eb-7118-4e8f-8078-334d5613073d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_a3d4fa82-2d5b-48e6-9dbf-913a5988234e" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_038d63eb-7118-4e8f-8078-334d5613073d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuredDebtMember_71281b1b-e0b3-4334-a8db-937c75e76e26" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SecuredDebtMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_038d63eb-7118-4e8f-8078-334d5613073d" xlink:to="loc_us-gaap_SecuredDebtMember_71281b1b-e0b3-4334-a8db-937c75e76e26" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityAxis_81df6a44-4c7a-4018-91b0-27cfdc1ab9b5" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CreditFacilityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_dfcf331e-405c-4b6b-a056-ba5f30c0e476" xlink:to="loc_us-gaap_CreditFacilityAxis_81df6a44-4c7a-4018-91b0-27cfdc1ab9b5" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_81df6a44-4c7a-4018-91b0-27cfdc1ab9b5_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CreditFacilityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CreditFacilityAxis_81df6a44-4c7a-4018-91b0-27cfdc1ab9b5" xlink:to="loc_us-gaap_CreditFacilityDomain_81df6a44-4c7a-4018-91b0-27cfdc1ab9b5_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_38c5f86d-24f5-4983-80be-c3ea584e0a5e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CreditFacilityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CreditFacilityAxis_81df6a44-4c7a-4018-91b0-27cfdc1ab9b5" xlink:to="loc_us-gaap_CreditFacilityDomain_38c5f86d-24f5-4983-80be-c3ea584e0a5e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_tti_TermLoanMember_f358e56f-4c9e-4775-b02c-61b82578568b" xlink:href="tti-20250630.xsd#tti_TermLoanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_38c5f86d-24f5-4983-80be-c3ea584e0a5e" xlink:to="loc_tti_TermLoanMember_f358e56f-4c9e-4775-b02c-61b82578568b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_tti_AssetBasedCreditAgreementMember_ac552448-77e0-463f-a6fe-1dd2179d4f6f" xlink:href="tti-20250630.xsd#tti_AssetBasedCreditAgreementMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_38c5f86d-24f5-4983-80be-c3ea584e0a5e" xlink:to="loc_tti_AssetBasedCreditAgreementMember_ac552448-77e0-463f-a6fe-1dd2179d4f6f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_tti_SwedishCreditFacilityMember_15a9cefd-19f3-451b-90d8-6ab6c351d63b" xlink:href="tti-20250630.xsd#tti_SwedishCreditFacilityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_38c5f86d-24f5-4983-80be-c3ea584e0a5e" xlink:to="loc_tti_SwedishCreditFacilityMember_15a9cefd-19f3-451b-90d8-6ab6c351d63b" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_tti_FinlandCreditAgreementMember_f8031c7d-a4c2-42f8-bab2-fb1a5de6fb77" xlink:href="tti-20250630.xsd#tti_FinlandCreditAgreementMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_38c5f86d-24f5-4983-80be-c3ea584e0a5e" xlink:to="loc_tti_FinlandCreditAgreementMember_f8031c7d-a4c2-42f8-bab2-fb1a5de6fb77" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_aff691ec-b218-44d8-a936-0187135ac70e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_dfcf331e-405c-4b6b-a056-ba5f30c0e476" xlink:to="loc_us-gaap_DebtInstrumentAxis_aff691ec-b218-44d8-a936-0187135ac70e" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_aff691ec-b218-44d8-a936-0187135ac70e_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_aff691ec-b218-44d8-a936-0187135ac70e" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_aff691ec-b218-44d8-a936-0187135ac70e_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_f064d3b1-05e2-4aa5-8f16-2fa206310fa6" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_aff691ec-b218-44d8-a936-0187135ac70e" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_f064d3b1-05e2-4aa5-8f16-2fa206310fa6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_tti_DelayedDrawTermLoanDDTLMember_4eb718dd-8859-450f-a988-2fc9936dae4a" xlink:href="tti-20250630.xsd#tti_DelayedDrawTermLoanDDTLMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_f064d3b1-05e2-4aa5-8f16-2fa206310fa6" xlink:to="loc_tti_DelayedDrawTermLoanDDTLMember_4eb718dd-8859-450f-a988-2fc9936dae4a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LetterOfCreditMember_95f06a76-f6e9-46c7-8630-1b84c851e9d1" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LetterOfCreditMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_f064d3b1-05e2-4aa5-8f16-2fa206310fa6" xlink:to="loc_us-gaap_LetterOfCreditMember_95f06a76-f6e9-46c7-8630-1b84c851e9d1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_tti_SinglineLoanMember_5cf01a38-ef51-4fbf-8ed6-10a0a4fd3662" xlink:href="tti-20250630.xsd#tti_SinglineLoanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_f064d3b1-05e2-4aa5-8f16-2fa206310fa6" xlink:to="loc_tti_SinglineLoanMember_5cf01a38-ef51-4fbf-8ed6-10a0a4fd3662" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableRateAxis_a6a80881-a11d-4b4b-a8fc-d8c31defa733" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_VariableRateAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_dfcf331e-405c-4b6b-a056-ba5f30c0e476" xlink:to="loc_us-gaap_VariableRateAxis_a6a80881-a11d-4b4b-a8fc-d8c31defa733" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableRateDomain_a6a80881-a11d-4b4b-a8fc-d8c31defa733_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_VariableRateDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_VariableRateAxis_a6a80881-a11d-4b4b-a8fc-d8c31defa733" xlink:to="loc_us-gaap_VariableRateDomain_a6a80881-a11d-4b4b-a8fc-d8c31defa733_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableRateDomain_5d95667a-3d75-465b-aa92-7d1af7fea340" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_VariableRateDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_VariableRateAxis_a6a80881-a11d-4b4b-a8fc-d8c31defa733" xlink:to="loc_us-gaap_VariableRateDomain_5d95667a-3d75-465b-aa92-7d1af7fea340" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuredOvernightFinancingRateSofrMember_653cb48f-0a35-4b74-8715-f2be13e72ac4" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SecuredOvernightFinancingRateSofrMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableRateDomain_5d95667a-3d75-465b-aa92-7d1af7fea340" xlink:to="loc_us-gaap_SecuredOvernightFinancingRateSofrMember_653cb48f-0a35-4b74-8715-f2be13e72ac4" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BaseRateMember_986bfe1b-11bb-43c5-8c64-52dfd8d34275" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BaseRateMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableRateDomain_5d95667a-3d75-465b-aa92-7d1af7fea340" xlink:to="loc_us-gaap_BaseRateMember_986bfe1b-11bb-43c5-8c64-52dfd8d34275" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_tti_FedFundsEffectiveRateMember_28ef43d4-f17f-4919-be6e-13673559c003" xlink:href="tti-20250630.xsd#tti_FedFundsEffectiveRateMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableRateDomain_5d95667a-3d75-465b-aa92-7d1af7fea340" xlink:to="loc_tti_FedFundsEffectiveRateMember_28ef43d4-f17f-4919-be6e-13673559c003" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_tti_SecuredOvernightFinancingRateSOFRAdjustedForRequiredBankReservesMember_e6e922cb-8994-4daa-ab4b-a355375b8f4d" xlink:href="tti-20250630.xsd#tti_SecuredOvernightFinancingRateSOFRAdjustedForRequiredBankReservesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableRateDomain_5d95667a-3d75-465b-aa92-7d1af7fea340" xlink:to="loc_tti_SecuredOvernightFinancingRateSOFRAdjustedForRequiredBankReservesMember_e6e922cb-8994-4daa-ab4b-a355375b8f4d" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_329f1735-880c-4c55-a882-26dff300429d" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_dfcf331e-405c-4b6b-a056-ba5f30c0e476" xlink:to="loc_srt_RangeAxis_329f1735-880c-4c55-a882-26dff300429d" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_329f1735-880c-4c55-a882-26dff300429d_default" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_329f1735-880c-4c55-a882-26dff300429d" xlink:to="loc_srt_RangeMember_329f1735-880c-4c55-a882-26dff300429d_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_95577c78-fb1f-4ca7-9594-70f8b32404f4" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_329f1735-880c-4c55-a882-26dff300429d" xlink:to="loc_srt_RangeMember_95577c78-fb1f-4ca7-9594-70f8b32404f4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_eaf1b7fa-2c88-480c-909a-eca3bafe2d86" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_95577c78-fb1f-4ca7-9594-70f8b32404f4" xlink:to="loc_srt_MinimumMember_eaf1b7fa-2c88-480c-909a-eca3bafe2d86" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_62dec7d7-f93c-4c2f-9030-63dcf761585c" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_95577c78-fb1f-4ca7-9594-70f8b32404f4" xlink:to="loc_srt_MaximumMember_62dec7d7-f93c-4c2f-9030-63dcf761585c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentBasisSpreadOnVariableRate1_a091169c-e8be-4928-aa73-5ea02a8bd87a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtInstrumentBasisSpreadOnVariableRate1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_5f44b45f-1c61-429f-b45b-112ea2941216" xlink:to="loc_us-gaap_DebtInstrumentBasisSpreadOnVariableRate1_a091169c-e8be-4928-aa73-5ea02a8bd87a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_d21dea50-65c0-40fd-bd5d-c7364111cf4b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtInstrumentInterestRateStatedPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_5f44b45f-1c61-429f-b45b-112ea2941216" xlink:to="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_d21dea50-65c0-40fd-bd5d-c7364111cf4b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_280bd420-e50a-41f8-a351-9cff38dd246a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_5f44b45f-1c61-429f-b45b-112ea2941216" xlink:to="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_280bd420-e50a-41f8-a351-9cff38dd246a" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage_64dd36eb-1035-4fcd-bf44-326328ef4004" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_5f44b45f-1c61-429f-b45b-112ea2941216" xlink:to="loc_us-gaap_LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage_64dd36eb-1035-4fcd-bf44-326328ef4004" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_tti_DebtInstrumentCovenantLeverageRatioMaximum_263bb611-c0ed-435f-8952-d355f8af11d8" xlink:href="tti-20250630.xsd#tti_DebtInstrumentCovenantLeverageRatioMaximum"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_5f44b45f-1c61-429f-b45b-112ea2941216" xlink:to="loc_tti_DebtInstrumentCovenantLeverageRatioMaximum_263bb611-c0ed-435f-8952-d355f8af11d8" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_tti_DebtInstrumentCovenantLiquidityMinimumAmount_fbb16825-020f-4599-99ac-536492e95a5d" xlink:href="tti-20250630.xsd#tti_DebtInstrumentCovenantLiquidityMinimumAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_5f44b45f-1c61-429f-b45b-112ea2941216" xlink:to="loc_tti_DebtInstrumentCovenantLiquidityMinimumAmount_fbb16825-020f-4599-99ac-536492e95a5d" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCredit_60b8bca8-f721-4b90-94d7-229df8c603be" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LineOfCredit"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_5f44b45f-1c61-429f-b45b-112ea2941216" xlink:to="loc_us-gaap_LineOfCredit_60b8bca8-f721-4b90-94d7-229df8c603be" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LettersOfCreditOutstandingAmount_ee0c8d25-6ffb-43a3-9fc2-73361af95088" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LettersOfCreditOutstandingAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_5f44b45f-1c61-429f-b45b-112ea2941216" xlink:to="loc_us-gaap_LettersOfCreditOutstandingAmount_ee0c8d25-6ffb-43a3-9fc2-73361af95088" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherDeferredCostsNet_2910f590-5078-410e-9023-2d6129e5258a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherDeferredCostsNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_5f44b45f-1c61-429f-b45b-112ea2941216" xlink:to="loc_us-gaap_OtherDeferredCostsNet_2910f590-5078-410e-9023-2d6129e5258a" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_tti_LineOfCreditFacilityAdditionalBorrowingCapacity_7dc64389-b95a-42c8-b269-36218bc313ab" xlink:href="tti-20250630.xsd#tti_LineOfCreditFacilityAdditionalBorrowingCapacity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_5f44b45f-1c61-429f-b45b-112ea2941216" xlink:to="loc_tti_LineOfCreditFacilityAdditionalBorrowingCapacity_7dc64389-b95a-42c8-b269-36218bc313ab" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity_76cce7b7-267a-49a7-bbf3-4201f6a90a22" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_5f44b45f-1c61-429f-b45b-112ea2941216" xlink:to="loc_us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity_76cce7b7-267a-49a7-bbf3-4201f6a90a22" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_tti_DebtInstrumentCollateralPercentageOfEquityInterestInCertainForeignSubsidiaries_44e48734-7788-4899-8545-a1921bae3f67" xlink:href="tti-20250630.xsd#tti_DebtInstrumentCollateralPercentageOfEquityInterestInCertainForeignSubsidiaries"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_5f44b45f-1c61-429f-b45b-112ea2941216" xlink:to="loc_tti_DebtInstrumentCollateralPercentageOfEquityInterestInCertainForeignSubsidiaries_44e48734-7788-4899-8545-a1921bae3f67" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentTerm_9738bd47-2e8b-4081-a3be-1431a89a54d3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtInstrumentTerm"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_5f44b45f-1c61-429f-b45b-112ea2941216" xlink:to="loc_us-gaap_DebtInstrumentTerm_9738bd47-2e8b-4081-a3be-1431a89a54d3" xlink:type="arc" order="12"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.tetratec.com/role/CommitmentsandContingenciesDetails" xlink:type="simple" xlink:href="tti-20250630.xsd#CommitmentsandContingenciesDetails"/>
  <link:definitionLink xlink:role="http://www.tetratec.com/role/CommitmentsandContingenciesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LossContingenciesLineItems_b26b8ed9-a11d-4202-9e6c-a7231b1a140d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LossContingenciesLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LossContingenciesTable_eedbc28d-5d73-4905-a418-54193066016c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LossContingenciesTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_LossContingenciesLineItems_b26b8ed9-a11d-4202-9e6c-a7231b1a140d" xlink:to="loc_us-gaap_LossContingenciesTable_eedbc28d-5d73-4905-a418-54193066016c" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnrecordedUnconditionalPurchaseObligationByCategoryOfItemPurchasedAxis_122bd9f3-505a-424f-b660-32b56a848a33" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_UnrecordedUnconditionalPurchaseObligationByCategoryOfItemPurchasedAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_eedbc28d-5d73-4905-a418-54193066016c" xlink:to="loc_us-gaap_UnrecordedUnconditionalPurchaseObligationByCategoryOfItemPurchasedAxis_122bd9f3-505a-424f-b660-32b56a848a33" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnconditionalPurchaseObligationCategoryOfGoodsOrServicesAcquiredDomain_122bd9f3-505a-424f-b660-32b56a848a33_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_UnconditionalPurchaseObligationCategoryOfGoodsOrServicesAcquiredDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_UnrecordedUnconditionalPurchaseObligationByCategoryOfItemPurchasedAxis_122bd9f3-505a-424f-b660-32b56a848a33" xlink:to="loc_us-gaap_UnconditionalPurchaseObligationCategoryOfGoodsOrServicesAcquiredDomain_122bd9f3-505a-424f-b660-32b56a848a33_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnconditionalPurchaseObligationCategoryOfGoodsOrServicesAcquiredDomain_d5751d33-8705-4349-93fe-59aa9797f117" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_UnconditionalPurchaseObligationCategoryOfGoodsOrServicesAcquiredDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_UnrecordedUnconditionalPurchaseObligationByCategoryOfItemPurchasedAxis_122bd9f3-505a-424f-b660-32b56a848a33" xlink:to="loc_us-gaap_UnconditionalPurchaseObligationCategoryOfGoodsOrServicesAcquiredDomain_d5751d33-8705-4349-93fe-59aa9797f117" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoriesMember_e06fa8e8-116b-4189-9d6b-012bc3361c0e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InventoriesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_UnconditionalPurchaseObligationCategoryOfGoodsOrServicesAcquiredDomain_d5751d33-8705-4349-93fe-59aa9797f117" xlink:to="loc_us-gaap_InventoriesMember_e06fa8e8-116b-4189-9d6b-012bc3361c0e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CapitalAdditionsMember_a4db7e74-2e65-4193-9257-523d018538ea" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CapitalAdditionsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_UnconditionalPurchaseObligationCategoryOfGoodsOrServicesAcquiredDomain_d5751d33-8705-4349-93fe-59aa9797f117" xlink:to="loc_us-gaap_CapitalAdditionsMember_a4db7e74-2e65-4193-9257-523d018538ea" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_51ef4470-832a-499f-bb54-5d0ce1d5b476" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StatementBusinessSegmentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_eedbc28d-5d73-4905-a418-54193066016c" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_51ef4470-832a-499f-bb54-5d0ce1d5b476" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_51ef4470-832a-499f-bb54-5d0ce1d5b476_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_51ef4470-832a-499f-bb54-5d0ce1d5b476" xlink:to="loc_us-gaap_SegmentDomain_51ef4470-832a-499f-bb54-5d0ce1d5b476_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_23a90287-2071-4d9c-b39f-f0756afaf20a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_51ef4470-832a-499f-bb54-5d0ce1d5b476" xlink:to="loc_us-gaap_SegmentDomain_23a90287-2071-4d9c-b39f-f0756afaf20a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_tti_CompletionFluidsProductsDivisionMember_29adfece-fac9-431c-bb7b-c845f1eda3b5" xlink:href="tti-20250630.xsd#tti_CompletionFluidsProductsDivisionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_23a90287-2071-4d9c-b39f-f0756afaf20a" xlink:to="loc_tti_CompletionFluidsProductsDivisionMember_29adfece-fac9-431c-bb7b-c845f1eda3b5" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupClassificationAxis_271034c0-cbeb-468c-9ac0-e8fa07051f12" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DisposalGroupClassificationAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_eedbc28d-5d73-4905-a418-54193066016c" xlink:to="loc_us-gaap_DisposalGroupClassificationAxis_271034c0-cbeb-468c-9ac0-e8fa07051f12" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupClassificationDomain_271034c0-cbeb-468c-9ac0-e8fa07051f12_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DisposalGroupClassificationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DisposalGroupClassificationAxis_271034c0-cbeb-468c-9ac0-e8fa07051f12" xlink:to="loc_us-gaap_DisposalGroupClassificationDomain_271034c0-cbeb-468c-9ac0-e8fa07051f12_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupClassificationDomain_74873b2e-0132-4392-b915-4eda778f9954" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DisposalGroupClassificationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DisposalGroupClassificationAxis_271034c0-cbeb-468c-9ac0-e8fa07051f12" xlink:to="loc_us-gaap_DisposalGroupClassificationDomain_74873b2e-0132-4392-b915-4eda778f9954" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DiscontinuedOperationsDisposedOfBySaleMember_64a0b059-c463-4f08-9e05-efa71fc65574" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DiscontinuedOperationsDisposedOfBySaleMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisposalGroupClassificationDomain_74873b2e-0132-4392-b915-4eda778f9954" xlink:to="loc_us-gaap_DiscontinuedOperationsDisposedOfBySaleMember_64a0b059-c463-4f08-9e05-efa71fc65574" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDiscontinuedOperationsMember_ee19ce37-11f1-4e3d-8362-fd2e72f5fe4b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SegmentDiscontinuedOperationsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisposalGroupClassificationDomain_74873b2e-0132-4392-b915-4eda778f9954" xlink:to="loc_us-gaap_SegmentDiscontinuedOperationsMember_ee19ce37-11f1-4e3d-8362-fd2e72f5fe4b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsAxis_3f2096d6-a16b-46c5-a183-eee064285d27" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_eedbc28d-5d73-4905-a418-54193066016c" xlink:to="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsAxis_3f2096d6-a16b-46c5-a183-eee064285d27" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupsIncludingDiscontinuedOperationsNameDomain_3f2096d6-a16b-46c5-a183-eee064285d27_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DisposalGroupsIncludingDiscontinuedOperationsNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsAxis_3f2096d6-a16b-46c5-a183-eee064285d27" xlink:to="loc_us-gaap_DisposalGroupsIncludingDiscontinuedOperationsNameDomain_3f2096d6-a16b-46c5-a183-eee064285d27_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupsIncludingDiscontinuedOperationsNameDomain_d4feaf79-1bdd-4a41-95e2-025b614570dd" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DisposalGroupsIncludingDiscontinuedOperationsNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsAxis_3f2096d6-a16b-46c5-a183-eee064285d27" xlink:to="loc_us-gaap_DisposalGroupsIncludingDiscontinuedOperationsNameDomain_d4feaf79-1bdd-4a41-95e2-025b614570dd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_tti_OffshoreDivisionMember_473874a2-d2f0-4ef2-b6c7-e2de145c9e05" xlink:href="tti-20250630.xsd#tti_OffshoreDivisionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisposalGroupsIncludingDiscontinuedOperationsNameDomain_d4feaf79-1bdd-4a41-95e2-025b614570dd" xlink:to="loc_tti_OffshoreDivisionMember_473874a2-d2f0-4ef2-b6c7-e2de145c9e05" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_tti_MaritechMember_e057b520-cbcf-438d-b24d-0c3b70c827d5" xlink:href="tti-20250630.xsd#tti_MaritechMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisposalGroupsIncludingDiscontinuedOperationsNameDomain_d4feaf79-1bdd-4a41-95e2-025b614570dd" xlink:to="loc_tti_MaritechMember_e057b520-cbcf-438d-b24d-0c3b70c827d5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameAxis_912cc9e9-41fb-481a-a273-950a0248950e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PlanNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_eedbc28d-5d73-4905-a418-54193066016c" xlink:to="loc_us-gaap_PlanNameAxis_912cc9e9-41fb-481a-a273-950a0248950e" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameDomain_912cc9e9-41fb-481a-a273-950a0248950e_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PlanNameAxis_912cc9e9-41fb-481a-a273-950a0248950e" xlink:to="loc_us-gaap_PlanNameDomain_912cc9e9-41fb-481a-a273-950a0248950e_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameDomain_407e7247-0a44-4d5c-82da-56a9835b483e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PlanNameAxis_912cc9e9-41fb-481a-a273-950a0248950e" xlink:to="loc_us-gaap_PlanNameDomain_407e7247-0a44-4d5c-82da-56a9835b483e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_tti_InitialBondsMember_e243eb39-0386-4a76-9127-9840e4598af5" xlink:href="tti-20250630.xsd#tti_InitialBondsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_407e7247-0a44-4d5c-82da-56a9835b483e" xlink:to="loc_tti_InitialBondsMember_e243eb39-0386-4a76-9127-9840e4598af5" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_tti_InterimReplacementBondsMember_152d4e65-8406-4d24-bff9-778f047829e9" xlink:href="tti-20250630.xsd#tti_InterimReplacementBondsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_407e7247-0a44-4d5c-82da-56a9835b483e" xlink:to="loc_tti_InterimReplacementBondsMember_152d4e65-8406-4d24-bff9-778f047829e9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LossContingenciesByNatureOfContingencyAxis_379eaeed-3f4a-46d4-91c1-8d344bd7a3fe" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LossContingenciesByNatureOfContingencyAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_eedbc28d-5d73-4905-a418-54193066016c" xlink:to="loc_us-gaap_LossContingenciesByNatureOfContingencyAxis_379eaeed-3f4a-46d4-91c1-8d344bd7a3fe" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LossContingencyNatureDomain_379eaeed-3f4a-46d4-91c1-8d344bd7a3fe_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LossContingencyNatureDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LossContingenciesByNatureOfContingencyAxis_379eaeed-3f4a-46d4-91c1-8d344bd7a3fe" xlink:to="loc_us-gaap_LossContingencyNatureDomain_379eaeed-3f4a-46d4-91c1-8d344bd7a3fe_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LossContingencyNatureDomain_5e2f9dcb-5fec-4b7a-b79c-44f443cb4f46" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LossContingencyNatureDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LossContingenciesByNatureOfContingencyAxis_379eaeed-3f4a-46d4-91c1-8d344bd7a3fe" xlink:to="loc_us-gaap_LossContingencyNatureDomain_5e2f9dcb-5fec-4b7a-b79c-44f443cb4f46" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDiscontinuedOperationsMember_e993285b-3cd6-451d-b930-bf1182b787bd" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SegmentDiscontinuedOperationsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingencyNatureDomain_5e2f9dcb-5fec-4b7a-b79c-44f443cb4f46" xlink:to="loc_us-gaap_SegmentDiscontinuedOperationsMember_e993285b-3cd6-451d-b930-bf1182b787bd" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SuretyBondMember_c7253926-76fd-484d-96b7-3322573d5a83" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SuretyBondMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingencyNatureDomain_5e2f9dcb-5fec-4b7a-b79c-44f443cb4f46" xlink:to="loc_us-gaap_SuretyBondMember_c7253926-76fd-484d-96b7-3322573d5a83" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_LegalEntityAxis_4c4a003d-54f5-4268-b5e9-732d26bbd89b" xlink:href="https://xbrl.sec.gov/dei/2024/dei-2024.xsd#dei_LegalEntityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_eedbc28d-5d73-4905-a418-54193066016c" xlink:to="loc_dei_LegalEntityAxis_4c4a003d-54f5-4268-b5e9-732d26bbd89b" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_4c4a003d-54f5-4268-b5e9-732d26bbd89b_default" xlink:href="https://xbrl.sec.gov/dei/2024/dei-2024.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_4c4a003d-54f5-4268-b5e9-732d26bbd89b" xlink:to="loc_dei_EntityDomain_4c4a003d-54f5-4268-b5e9-732d26bbd89b_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_0ef47b3c-7666-49e2-9755-c2c7008ff977" xlink:href="https://xbrl.sec.gov/dei/2024/dei-2024.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_4c4a003d-54f5-4268-b5e9-732d26bbd89b" xlink:to="loc_dei_EntityDomain_0ef47b3c-7666-49e2-9755-c2c7008ff977" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_tti_MaritechMember_359b7a6d-97ce-4b09-9780-e7b0a50638bb" xlink:href="tti-20250630.xsd#tti_MaritechMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_0ef47b3c-7666-49e2-9755-c2c7008ff977" xlink:to="loc_tti_MaritechMember_359b7a6d-97ce-4b09-9780-e7b0a50638bb" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_8820d54d-495e-4f76-8ef8-c527208e8c86" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_eedbc28d-5d73-4905-a418-54193066016c" xlink:to="loc_srt_RangeAxis_8820d54d-495e-4f76-8ef8-c527208e8c86" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_8820d54d-495e-4f76-8ef8-c527208e8c86_default" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_8820d54d-495e-4f76-8ef8-c527208e8c86" xlink:to="loc_srt_RangeMember_8820d54d-495e-4f76-8ef8-c527208e8c86_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_ebdd7c1f-41a5-4b62-a9e7-780e9ac56409" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_8820d54d-495e-4f76-8ef8-c527208e8c86" xlink:to="loc_srt_RangeMember_ebdd7c1f-41a5-4b62-a9e7-780e9ac56409" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_5c651ae4-be36-4aa3-a516-e71967772c47" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_ebdd7c1f-41a5-4b62-a9e7-780e9ac56409" xlink:to="loc_srt_MinimumMember_5c651ae4-be36-4aa3-a516-e71967772c47" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_b5cf0e08-789b-4d72-8438-b67679cd7bd6" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_ebdd7c1f-41a5-4b62-a9e7-780e9ac56409" xlink:to="loc_srt_MaximumMember_b5cf0e08-789b-4d72-8438-b67679cd7bd6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnrecordedUnconditionalPurchaseObligationBalanceSheetAmount_e1740332-223e-41b9-aee9-988f624b6cf9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_UnrecordedUnconditionalPurchaseObligationBalanceSheetAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_b26b8ed9-a11d-4202-9e6c-a7231b1a140d" xlink:to="loc_us-gaap_UnrecordedUnconditionalPurchaseObligationBalanceSheetAmount_e1740332-223e-41b9-aee9-988f624b6cf9" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnrecordedUnconditionalPurchaseObligationDueInRemainderOfFiscalYear_d571ab35-b5e3-425a-a251-f7f57992636a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_UnrecordedUnconditionalPurchaseObligationDueInRemainderOfFiscalYear"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_b26b8ed9-a11d-4202-9e6c-a7231b1a140d" xlink:to="loc_us-gaap_UnrecordedUnconditionalPurchaseObligationDueInRemainderOfFiscalYear_d571ab35-b5e3-425a-a251-f7f57992636a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnrecordedUnconditionalPurchaseObligationBalanceOnFirstAnniversary_e9a9533c-9799-48ce-91fb-004dcbb1709c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_UnrecordedUnconditionalPurchaseObligationBalanceOnFirstAnniversary"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_b26b8ed9-a11d-4202-9e6c-a7231b1a140d" xlink:to="loc_us-gaap_UnrecordedUnconditionalPurchaseObligationBalanceOnFirstAnniversary_e9a9533c-9799-48ce-91fb-004dcbb1709c" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnrecordedUnconditionalPurchaseObligationBalanceOnSecondAnniversary_a7c86c9e-a5b1-473e-b50b-33712ed7e25b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_UnrecordedUnconditionalPurchaseObligationBalanceOnSecondAnniversary"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_b26b8ed9-a11d-4202-9e6c-a7231b1a140d" xlink:to="loc_us-gaap_UnrecordedUnconditionalPurchaseObligationBalanceOnSecondAnniversary_a7c86c9e-a5b1-473e-b50b-33712ed7e25b" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnrecordedUnconditionalPurchaseObligationBalanceOnThirdAnniversary_abeb7f92-940f-4a25-be4d-71bf939af2bc" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_UnrecordedUnconditionalPurchaseObligationBalanceOnThirdAnniversary"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_b26b8ed9-a11d-4202-9e6c-a7231b1a140d" xlink:to="loc_us-gaap_UnrecordedUnconditionalPurchaseObligationBalanceOnThirdAnniversary_abeb7f92-940f-4a25-be4d-71bf939af2bc" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnrecordedUnconditionalPurchaseObligationDueInRollingYearFive_0bfdfb08-e982-4609-aa0e-ce5a584d5e91" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_UnrecordedUnconditionalPurchaseObligationDueInRollingYearFive"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_b26b8ed9-a11d-4202-9e6c-a7231b1a140d" xlink:to="loc_us-gaap_UnrecordedUnconditionalPurchaseObligationDueInRollingYearFive_0bfdfb08-e982-4609-aa0e-ce5a584d5e91" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_tti_DiscontinuedOperationAmountsOfMaterialContingentLiabilitiesRemainingPerformanceBonds_ae3fe163-448f-4877-ac30-83b235d12719" xlink:href="tti-20250630.xsd#tti_DiscontinuedOperationAmountsOfMaterialContingentLiabilitiesRemainingPerformanceBonds"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_b26b8ed9-a11d-4202-9e6c-a7231b1a140d" xlink:to="loc_tti_DiscontinuedOperationAmountsOfMaterialContingentLiabilitiesRemainingPerformanceBonds_ae3fe163-448f-4877-ac30-83b235d12719" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LossContingencyEstimateOfPossibleLoss_80f2b182-1297-49e9-ac4f-0ee677ae985e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LossContingencyEstimateOfPossibleLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_b26b8ed9-a11d-4202-9e6c-a7231b1a140d" xlink:to="loc_us-gaap_LossContingencyEstimateOfPossibleLoss_80f2b182-1297-49e9-ac4f-0ee677ae985e" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LossContingencyReceivableProceeds_2dd8a552-34a0-49a8-8044-0c2d85c69430" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LossContingencyReceivableProceeds"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_b26b8ed9-a11d-4202-9e6c-a7231b1a140d" xlink:to="loc_us-gaap_LossContingencyReceivableProceeds_2dd8a552-34a0-49a8-8044-0c2d85c69430" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_tti_DisposalGroupIncludingDiscontinuedOperationDecommissioningLiabilityExpense_6af7bc19-cc46-443b-b5a2-eb0cadc57403" xlink:href="tti-20250630.xsd#tti_DisposalGroupIncludingDiscontinuedOperationDecommissioningLiabilityExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_b26b8ed9-a11d-4202-9e6c-a7231b1a140d" xlink:to="loc_tti_DisposalGroupIncludingDiscontinuedOperationDecommissioningLiabilityExpense_6af7bc19-cc46-443b-b5a2-eb0cadc57403" xlink:type="arc" order="9"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.tetratec.com/role/FairValueMeasurementsChangeinOurInvestmentsDetails" xlink:type="simple" xlink:href="tti-20250630.xsd#FairValueMeasurementsChangeinOurInvestmentsDetails"/>
  <link:definitionLink xlink:role="http://www.tetratec.com/role/FairValueMeasurementsChangeinOurInvestmentsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems_d419d426-59a1-4743-a1d2-d3e80d780768" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTable_8bf2ca9d-048b-45f6-b13d-137a6ebdc617" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems_d419d426-59a1-4743-a1d2-d3e80d780768" xlink:to="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTable_8bf2ca9d-048b-45f6-b13d-137a6ebdc617" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_ee6418e8-5ad8-4116-82d2-e7df3c171498" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTable_8bf2ca9d-048b-45f6-b13d-137a6ebdc617" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_ee6418e8-5ad8-4116-82d2-e7df3c171498" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_ee6418e8-5ad8-4116-82d2-e7df3c171498_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_ee6418e8-5ad8-4116-82d2-e7df3c171498" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_ee6418e8-5ad8-4116-82d2-e7df3c171498_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_aadad174-6133-4ac2-8f8a-b2dc285fd626" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_ee6418e8-5ad8-4116-82d2-e7df3c171498" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_aadad174-6133-4ac2-8f8a-b2dc285fd626" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel1Member_bf915548-353d-499c-a78a-fac92e020ba5" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueInputsLevel1Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_aadad174-6133-4ac2-8f8a-b2dc285fd626" xlink:to="loc_us-gaap_FairValueInputsLevel1Member_bf915548-353d-499c-a78a-fac92e020ba5" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel2Member_e48f1daa-0a73-4214-9970-0d227209188f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueInputsLevel2Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_aadad174-6133-4ac2-8f8a-b2dc285fd626" xlink:to="loc_us-gaap_FairValueInputsLevel2Member_e48f1daa-0a73-4214-9970-0d227209188f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel3Member_a82baf6c-c103-46da-aca2-6fac5ce07078" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueInputsLevel3Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_aadad174-6133-4ac2-8f8a-b2dc285fd626" xlink:to="loc_us-gaap_FairValueInputsLevel3Member_a82baf6c-c103-46da-aca2-6fac5ce07078" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByAssetClassAxis_bf2bdc65-d7f3-4197-b6e7-e9e83f2dd508" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueByAssetClassAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTable_8bf2ca9d-048b-45f6-b13d-137a6ebdc617" xlink:to="loc_us-gaap_FairValueByAssetClassAxis_bf2bdc65-d7f3-4197-b6e7-e9e83f2dd508" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_bf2bdc65-d7f3-4197-b6e7-e9e83f2dd508_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByAssetClassAxis_bf2bdc65-d7f3-4197-b6e7-e9e83f2dd508" xlink:to="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_bf2bdc65-d7f3-4197-b6e7-e9e83f2dd508_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_94c20ea3-e7f1-49ab-9805-6a0495929622" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByAssetClassAxis_bf2bdc65-d7f3-4197-b6e7-e9e83f2dd508" xlink:to="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_94c20ea3-e7f1-49ab-9805-6a0495929622" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentsMember_adac9a1c-dbb1-4eef-96f4-790ef30e00e6" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InvestmentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_94c20ea3-e7f1-49ab-9805-6a0495929622" xlink:to="loc_us-gaap_InvestmentsMember_adac9a1c-dbb1-4eef-96f4-790ef30e00e6" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquitySecuritiesMember_7c653d89-c445-4518-91d1-31d1f141432f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EquitySecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentsMember_adac9a1c-dbb1-4eef-96f4-790ef30e00e6" xlink:to="loc_us-gaap_EquitySecuritiesMember_7c653d89-c445-4518-91d1-31d1f141432f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RightsMember_f8742fe9-0c0c-494d-995b-fe7d78ad7bdd" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RightsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentsMember_adac9a1c-dbb1-4eef-96f4-790ef30e00e6" xlink:to="loc_us-gaap_RightsMember_f8742fe9-0c0c-494d-995b-fe7d78ad7bdd" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConvertibleDebtSecuritiesMember_1ce00835-8c53-4955-9542-74acb23cb37e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ConvertibleDebtSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentsMember_adac9a1c-dbb1-4eef-96f4-790ef30e00e6" xlink:to="loc_us-gaap_ConvertibleDebtSecuritiesMember_1ce00835-8c53-4955-9542-74acb23cb37e" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward_378700a1-c681-40eb-ba1d-fa69b10810ae" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems_d419d426-59a1-4743-a1d2-d3e80d780768" xlink:to="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward_378700a1-c681-40eb-ba1d-fa69b10810ae" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue_a985c1cd-fc18-4493-9b36-550f77da75fc" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward_378700a1-c681-40eb-ba1d-fa69b10810ae" xlink:to="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue_a985c1cd-fc18-4493-9b36-550f77da75fc" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetSales_004c6edf-e4b1-4134-a528-8f3f08bbba0d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetSales"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward_378700a1-c681-40eb-ba1d-fa69b10810ae" xlink:to="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetSales_004c6edf-e4b1-4134-a528-8f3f08bbba0d" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetTransfersOutOfLevel3_111824a6-99e2-44f3-9355-7836018c1fd0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetTransfersOutOfLevel3"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward_378700a1-c681-40eb-ba1d-fa69b10810ae" xlink:to="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetTransfersOutOfLevel3_111824a6-99e2-44f3-9355-7836018c1fd0" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisChangeInUnrealizedGainLoss_34775572-d62a-4e0a-8ca7-388a2308ff6d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueAssetsMeasuredOnRecurringBasisChangeInUnrealizedGainLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward_378700a1-c681-40eb-ba1d-fa69b10810ae" xlink:to="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisChangeInUnrealizedGainLoss_34775572-d62a-4e0a-8ca7-388a2308ff6d" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue_3784c206-c50b-41cb-8fb2-4ef22eef23cc" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.tetratec.com/role/FairValueMeasurementsMarketRisksandDerivativeHedgeContractsDetails" xlink:type="simple" xlink:href="tti-20250630.xsd#FairValueMeasurementsMarketRisksandDerivativeHedgeContractsDetails"/>
  <link:definitionLink xlink:role="http://www.tetratec.com/role/FairValueMeasurementsMarketRisksandDerivativeHedgeContractsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_db77dccc-efeb-4e49-b9d2-a9282b4097f5" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_02f20119-af25-4829-9648-1832b67db743" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_db77dccc-efeb-4e49-b9d2-a9282b4097f5" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_02f20119-af25-4829-9648-1832b67db743" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_b93470c5-690a-448a-a859-4517a360c464" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_02f20119-af25-4829-9648-1832b67db743" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_b93470c5-690a-448a-a859-4517a360c464" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_b93470c5-690a-448a-a859-4517a360c464_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_b93470c5-690a-448a-a859-4517a360c464" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_b93470c5-690a-448a-a859-4517a360c464_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_0284e472-8089-40e8-bf72-db38fd7c2969" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_b93470c5-690a-448a-a859-4517a360c464" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_0284e472-8089-40e8-bf72-db38fd7c2969" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel1Member_b4524f30-60f9-430a-97ba-7b7bf9dfe903" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueInputsLevel1Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_0284e472-8089-40e8-bf72-db38fd7c2969" xlink:to="loc_us-gaap_FairValueInputsLevel1Member_b4524f30-60f9-430a-97ba-7b7bf9dfe903" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel2Member_dd86d964-55a7-405f-a44a-b4de5f056a01" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueInputsLevel2Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_0284e472-8089-40e8-bf72-db38fd7c2969" xlink:to="loc_us-gaap_FairValueInputsLevel2Member_dd86d964-55a7-405f-a44a-b4de5f056a01" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel3Member_7db4e325-561d-4b6e-8eb4-17cbb76a124d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueInputsLevel3Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_0284e472-8089-40e8-bf72-db38fd7c2969" xlink:to="loc_us-gaap_FairValueInputsLevel3Member_7db4e325-561d-4b6e-8eb4-17cbb76a124d" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_98b46660-5327-4d5d-8973-2c5b6157740f" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_02f20119-af25-4829-9648-1832b67db743" xlink:to="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_98b46660-5327-4d5d-8973-2c5b6157740f" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_EquityMethodInvesteeNameDomain_98b46660-5327-4d5d-8973-2c5b6157740f_default" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_EquityMethodInvesteeNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_98b46660-5327-4d5d-8973-2c5b6157740f" xlink:to="loc_srt_EquityMethodInvesteeNameDomain_98b46660-5327-4d5d-8973-2c5b6157740f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_EquityMethodInvesteeNameDomain_54b509d4-de70-4203-9b2c-3d6b8485f4c3" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_EquityMethodInvesteeNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_98b46660-5327-4d5d-8973-2c5b6157740f" xlink:to="loc_srt_EquityMethodInvesteeNameDomain_54b509d4-de70-4203-9b2c-3d6b8485f4c3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_tti_KodiakGasServicesInc.Member_a3da77ef-f78e-4986-84f4-e0c5ea26bddf" xlink:href="tti-20250630.xsd#tti_KodiakGasServicesInc.Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_54b509d4-de70-4203-9b2c-3d6b8485f4c3" xlink:to="loc_tti_KodiakGasServicesInc.Member_a3da77ef-f78e-4986-84f4-e0c5ea26bddf" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_tti_StandardLithiumLtd.Member_06f9e455-886d-4a29-8801-72715b011119" xlink:href="tti-20250630.xsd#tti_StandardLithiumLtd.Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_54b509d4-de70-4203-9b2c-3d6b8485f4c3" xlink:to="loc_tti_StandardLithiumLtd.Member_06f9e455-886d-4a29-8801-72715b011119" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_tti_InvestmentsOtherMember_dfee1064-5250-4190-be6f-36eb9a1c7363" xlink:href="tti-20250630.xsd#tti_InvestmentsOtherMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_54b509d4-de70-4203-9b2c-3d6b8485f4c3" xlink:to="loc_tti_InvestmentsOtherMember_dfee1064-5250-4190-be6f-36eb9a1c7363" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquitySecuritiesFvNi_0c852e77-9052-44bc-ad66-c77a24bdd0c1" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EquitySecuritiesFvNi"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_db77dccc-efeb-4e49-b9d2-a9282b4097f5" xlink:to="loc_us-gaap_EquitySecuritiesFvNi_0c852e77-9052-44bc-ad66-c77a24bdd0c1" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.tetratec.com/role/IndustrySegmentsScheduleofSegmentFinancialInformationDetails" xlink:type="simple" xlink:href="tti-20250630.xsd#IndustrySegmentsScheduleofSegmentFinancialInformationDetails"/>
  <link:definitionLink xlink:role="http://www.tetratec.com/role/IndustrySegmentsScheduleofSegmentFinancialInformationDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentReportingInformationLineItems_62b3eaf6-4368-4141-a467-44c7baa0b8ca" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SegmentReportingInformationLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_65973d52-9055-4fa2-90a4-c03f078e764d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_62b3eaf6-4368-4141-a467-44c7baa0b8ca" xlink:to="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_65973d52-9055-4fa2-90a4-c03f078e764d" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsAxis_08eb8b2b-24ee-4ce9-98cb-8242d568dadc" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_ConsolidationItemsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_65973d52-9055-4fa2-90a4-c03f078e764d" xlink:to="loc_srt_ConsolidationItemsAxis_08eb8b2b-24ee-4ce9-98cb-8242d568dadc" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsDomain_08eb8b2b-24ee-4ce9-98cb-8242d568dadc_default" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_ConsolidationItemsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidationItemsAxis_08eb8b2b-24ee-4ce9-98cb-8242d568dadc" xlink:to="loc_srt_ConsolidationItemsDomain_08eb8b2b-24ee-4ce9-98cb-8242d568dadc_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsDomain_e318047a-4a11-47ab-ae36-e0b4762434e7" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_ConsolidationItemsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidationItemsAxis_08eb8b2b-24ee-4ce9-98cb-8242d568dadc" xlink:to="loc_srt_ConsolidationItemsDomain_e318047a-4a11-47ab-ae36-e0b4762434e7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingSegmentsMember_03cec4c6-4c71-482e-b2c3-2986c73f97c6" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OperatingSegmentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidationItemsDomain_e318047a-4a11-47ab-ae36-e0b4762434e7" xlink:to="loc_us-gaap_OperatingSegmentsMember_03cec4c6-4c71-482e-b2c3-2986c73f97c6" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CorporateNonSegmentMember_bd6d431d-e816-4b91-8e38-1c5a67dc8a72" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CorporateNonSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidationItemsDomain_e318047a-4a11-47ab-ae36-e0b4762434e7" xlink:to="loc_us-gaap_CorporateNonSegmentMember_bd6d431d-e816-4b91-8e38-1c5a67dc8a72" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_a46ed03a-c6f4-4fc8-b78a-2811813f623a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StatementBusinessSegmentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_65973d52-9055-4fa2-90a4-c03f078e764d" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_a46ed03a-c6f4-4fc8-b78a-2811813f623a" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_a46ed03a-c6f4-4fc8-b78a-2811813f623a_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_a46ed03a-c6f4-4fc8-b78a-2811813f623a" xlink:to="loc_us-gaap_SegmentDomain_a46ed03a-c6f4-4fc8-b78a-2811813f623a_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_dd6d978f-8b5a-4287-b3cf-ee1b23f3d713" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_a46ed03a-c6f4-4fc8-b78a-2811813f623a" xlink:to="loc_us-gaap_SegmentDomain_dd6d978f-8b5a-4287-b3cf-ee1b23f3d713" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_tti_CompletionFluidsProductsDivisionMember_7abe1faa-5a1a-4a41-b10a-75865cc33ce6" xlink:href="tti-20250630.xsd#tti_CompletionFluidsProductsDivisionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_dd6d978f-8b5a-4287-b3cf-ee1b23f3d713" xlink:to="loc_tti_CompletionFluidsProductsDivisionMember_7abe1faa-5a1a-4a41-b10a-75865cc33ce6" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_tti_WaterFlowbackServicesMember_6776ed63-1d91-4325-8870-2e57a223bb5e" xlink:href="tti-20250630.xsd#tti_WaterFlowbackServicesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_dd6d978f-8b5a-4287-b3cf-ee1b23f3d713" xlink:to="loc_tti_WaterFlowbackServicesMember_6776ed63-1d91-4325-8870-2e57a223bb5e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax_034002df-c5ee-4231-a8fc-a49c31c7a82c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_62b3eaf6-4368-4141-a467-44c7baa0b8ca" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax_034002df-c5ee-4231-a8fc-a49c31c7a82c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfGoodsAndServicesSold_cb8cb029-a366-4f4d-a00d-786d18eba95a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CostOfGoodsAndServicesSold"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_62b3eaf6-4368-4141-a467-44c7baa0b8ca" xlink:to="loc_us-gaap_CostOfGoodsAndServicesSold_cb8cb029-a366-4f4d-a00d-786d18eba95a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_tti_DepreciationDepletionAmortizationAndAccretion_92ad286b-0a95-4ef6-8a50-fbb61d90d71c" xlink:href="tti-20250630.xsd#tti_DepreciationDepletionAmortizationAndAccretion"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_62b3eaf6-4368-4141-a467-44c7baa0b8ca" xlink:to="loc_tti_DepreciationDepletionAmortizationAndAccretion_92ad286b-0a95-4ef6-8a50-fbb61d90d71c" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ImpairmentOfLongLivedAssetsHeldForUse_e9690f05-93d8-409a-a302-8d3e1ed82910" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ImpairmentOfLongLivedAssetsHeldForUse"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_62b3eaf6-4368-4141-a467-44c7baa0b8ca" xlink:to="loc_us-gaap_ImpairmentOfLongLivedAssetsHeldForUse_e9690f05-93d8-409a-a302-8d3e1ed82910" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeneralAndAdministrativeExpense_7156b547-1774-41b9-b87c-e62c896e1516" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_GeneralAndAdministrativeExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_62b3eaf6-4368-4141-a467-44c7baa0b8ca" xlink:to="loc_us-gaap_GeneralAndAdministrativeExpense_7156b547-1774-41b9-b87c-e62c896e1516" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeExpenseNet_6c6a93e7-3d63-447d-834c-19b8755ad88f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InterestIncomeExpenseNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_62b3eaf6-4368-4141-a467-44c7baa0b8ca" xlink:to="loc_us-gaap_InterestIncomeExpenseNet_6c6a93e7-3d63-447d-834c-19b8755ad88f" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainsLossesOnExtinguishmentOfDebt_075dfb34-6904-4e0a-9353-f50922ba48dd" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_GainsLossesOnExtinguishmentOfDebt"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_62b3eaf6-4368-4141-a467-44c7baa0b8ca" xlink:to="loc_us-gaap_GainsLossesOnExtinguishmentOfDebt_075dfb34-6904-4e0a-9353-f50922ba48dd" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_88eb736a-f1ee-4fed-9691-ff6bc09243bd" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherNonoperatingIncomeExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_62b3eaf6-4368-4141-a467-44c7baa0b8ca" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_88eb736a-f1ee-4fed-9691-ff6bc09243bd" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_0e287cae-00af-4016-a270-175491462de4" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_62b3eaf6-4368-4141-a467-44c7baa0b8ca" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_0e287cae-00af-4016-a270-175491462de4" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireProductiveAssets_ac04eb23-7fda-46bc-be79-529fc866d38d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PaymentsToAcquireProductiveAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_62b3eaf6-4368-4141-a467-44c7baa0b8ca" xlink:to="loc_us-gaap_PaymentsToAcquireProductiveAssets_ac04eb23-7fda-46bc-be79-529fc866d38d" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_ac70994f-37c9-4814-a657-ef71673969cf" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_Assets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_62b3eaf6-4368-4141-a467-44c7baa0b8ca" xlink:to="loc_us-gaap_Assets_ac70994f-37c9-4814-a657-ef71673969cf" xlink:type="arc" order="10"/>
  </link:definitionLink>
</link:linkbase>
