Outlet temperatures for double-pipe counter flow heat exchanger have been investigated with water and ammonia as cold fluids and steel, aluminum and copper as inner pipe materials at the different roughnesses of the inner surfaces of the inner pipes by CFD tools. In this research work, commercial code has been used for analyses in ANSYS Fluent 15.0 software. K-ℇ modeling has been used for performance analyses and taken from the literature. It is well established fact that K-ℇ model has been used in RANS. For validation, rates of entropy generation, exergy destruction and entransy dissipation have been found with entransy dissipation-based thermal resistances, entropy generation numbers and entransy dissipation numbers for the same conditions, and the following methodology has been adopted for this research work. The first law of thermodynamics for cyclic process states that the cyclic integration of heat is equal to the cyclic integration of work, but when the first law is applied for a process, then a thermodynamic property comes out which is internal energy. Similarly, the second law of thermodynamics for cyclic process gives information about systems: heat engine, heat pump and refrigerator, but when this law is applied for a process, then a new property appears which is entropy (S). It has been found that for a closed system, change in entropy for irreversible process is more than the integration of dQ/T for that process; it means some entropy is generated which indicates losses in the process. Internal irreversibility or dissipative work is the main cause for entropy generation, and it is always positive or zero (for reversible process). Irreversibility or losses can be calculated by entropy generation for heat exchangers, and it is calculated as [7,8,9,10,11]:
$$TdS_{{\text{gen}}} = \, m_{h} C_{ph} \int {(T_{h} ) + m_{c} C_{pc} \int {(T_{c} )} }$$
(2)
$$TdS_{{\text{gen}}} = \, m_{h} C_{ph} \int_{Thi}^{Tho} {Th + m_{c} C_{pc} \int_{Tci}^{Tco} {T_{c} } }$$
(3)
$$dS_{{\text{gen}}} = m_{h} C_{ph} \ln \left( {T_{ho} /T_{hi} } \right) + m_{c} C_{pc} \ln \left( {T_{co} /T_{ci} } \right)$$
(4)
where dSgen is the rate of entropy generation in kW/K. The exergy or available energy of a system can be defined as maximum possible work which is extracted from that system when system approaches the thermodynamic equilibrium state with its surrounding called dead state (i.e., Pa and Ta). Exergy is that kind of property which depends on state of system and surrounding, and when system reaches dead state, exergy of system becomes zero. Reversible work transfer from the system is always greater than actual work transfer, and the difference between these works is known as irreversibility of the system; the term TaSgen is the decrease in exergy of the system because of irreversibility. This concept was given by Gouy-Stodola, and he said the rate of exergy losses or exergy destruction rate in a process is proportional to the rate of entropy generation and ambient temperature. Exergy destruction rates for double-pipe counter flow heat exchanger have been calculated at various conditions by the following equation [12,13,14,15,16]:
$$0 = \left[ {m_{h} C_{ph} \{ (T_{hi} {-} \, T_{ho} ){-}T_{a} \ln (T_{hi} - \, T_{ho} )\} } \right]{-}\left[ {m_{c} C_{pc} \{ (T_{co} {-} \, T_{ci} ){-}T_{a} \ln (T_{co} - \, T_{ci} )\} } \right]{-}\varphi_{{\text{des}}}$$
(5)
$${\text{Exergy}}\;{\text{destruction}}\;{\text{rate}}\;\left( {\varphi_{{\text{des}}} } \right) = \left[ {m_{h} C_{ph} \{ (T_{hi} {-} \, T_{ho} ){-}T_{a} \ln (T_{hi} - \, T_{ho} )\} } \right]{-}\left[ {m_{c} C_{pc} \{ (T_{co} {-} \, T_{ci} ){-}T_{a} \ln (T_{co} - \, T_{ci} )\} } \right]$$
(6)
where mh and mc are flow rates (kg/s), Cph and Cpc are specific heats (kJ/kg-K) of hot and cold fluids, respectively, Thi and Tci are inlet temperatures (Kelvin), Tho and Tco are outlet temperatures (Kelvin) of hot and cold fluids, Ta is ambient temperature and φdes is exergy destruction rate (kW) [12,13,14,15,16]. The performance of heat exchanger can be analyzed by entransy which is the ability of heat transfer through heat exchanger, and it can be clarified by analogy between electrical and thermal parameters. If electrical and thermal potentials are V and T, and electrical and heat fluxes are I and Q, respectively, then electrical resistance will be (V/I) and thermal resistance will be (T/Q). Electricity and heat transfer rates are I and Q, Ohm’s law is I = Ke A (dV/dn), Fourier’s law is Q = K A (dT/dn), electrical charge stored is Q, and heat stored is Q(U)= m Cv T. Electric capacitance is Q/V, and thermal capacitance is U/T. Similarly, electrical potential energy stored in a capacitor is QV/2, and thermal potential energy stored in a system is UT/2. Thus, entransy (G) is defined as the half of the product of internal energy (U) and temperature (T) and expressed as [17,18,19,20,21,22,23,24,25,26,27];
$$G = \raise.5ex\hbox{$\scriptstyle 1$}\kern-.1em/ \kern-.15em\lower.25ex\hbox{$\scriptstyle 2$} UT$$
(7)
Rate of entransy dissipation which is losses can be calculated by mass flow rates, specific heats and inlet/outlet temperatures of the hot and cold fluids, and it can be expressed as:
$$G_{d} = \raise.5ex\hbox{$\scriptstyle 1$}\kern-.1em/ \kern-.15em\lower.25ex\hbox{$\scriptstyle 2$} \left[ { \, m_{h} C_{ph} \{ (T_{hi} )^{2} - (T_{ho} )^{2} \} } \right]{-}\raise.5ex\hbox{$\scriptstyle 1$}\kern-.1em/ \kern-.15em\lower.25ex\hbox{$\scriptstyle 2$} [m_{c} C_{pc} \left\{ {(T_{co} )^{2} - (T_{ci} )^{2} } \right\}$$
(8)
where G is entransy (kW-K), Gd is rate of entransy dissipation (kW-K) and U is internal energy (kW). For performance analysis, entransy dissipation-based thermal resistance for heat exchanger is also found which is related to rate of entransy dissipation and heat transfer through heat exchanger and can be expressed as:
$$R_{t} = G_{d} /Q^{2}$$
(9)
where Rt is entransy dissipation-based thermal resistance (K/kW) and Q is rate of heat transfer through heat exchanger (kW). A dimensionless number called entransy dissipation number is introduced by researchers for performance analysis of heat exchanger, and this term can be found by rate of entransy dissipation, heat transfer through heat exchanger and maximum temperature difference in heat exchanger (i.e., Thi and Tci). Entransy dissipation number (EDN) can be expressed as [28]:
$$EDN = G_{d} /[Q \, (T_{hi} - T_{ci} )]$$
(10)
This EDN equation can be modified with effectiveness (ɛ) which is the ratio of actual heat transfer (Q) to maximum heat transfer (Qmax) through heat exchanger and can be written as [1,2,3,4];
$$\varepsilon = \left( Q \right)/\left( {Q_{{\text{max}}} } \right)$$
(11)
$$\varepsilon = [(m_{h} C_{ph} )_{{\text{max}}} (T_{hi} - T_{ho} )]/[(m_{f} C_{pf} )_{{\text{min}}} (T_{hi} {-}T_{ci} )]_{{\text{max}}}$$
(12)
$${\text{or}}\;\varepsilon = [(m_{c} C_{pc} )_{{\text{max}}} (T_{co} {-}T_{ci} )]/[(m_{f} C_{pf} )_{{\text{min}}} (T_{hi} {-}T_{ci} )]_{{\text{max}}}$$
(13)
So, EDN can be modified as;
$$EDN = G_{d} /[\varepsilon Q_{{\text{max}}} (T_{hi} - T_{ci} )]$$
(14)
$$EDN = G_{d} /[\varepsilon \{ (m_{f} C_{pf} )_{{\text{min}}} (T_{hi} {-}T_{ci} )\} (T_{hi} - T_{ci} )]$$
(15)
$${\text{or}}\;EDN = G_{d} /[\varepsilon (m_{f} C_{pf} )_{{\text{min}}} (T_{hi} - T_{ci} )^{2} ]$$
(16)
In this research work, entropy generation number has been calculated for the heat exchanger and it should be as minimum as possible for the better performance of the heat exchanger. It is the ratio of entropy generation during irreversible heat transfer through the heat exchanger to the minimum heat capacity of the flowing fluid [29].
$$N_{eg} = dS_{{\text{gen}}} /(mC_{p} )_{{\text{min}}}$$
(17)
In the present work, CFD analyses of double-pipe heat exchanger for counter flow have been performed where water is used as hot fluid while water or ammonia is used as cold fluids (which flow through heat exchanger) with steel, aluminum and copper as inner pipe materials with different roughnesses of pipes. After simulation, numerical validation has been done and compared all results and proved which pipe material (with surface roughness) and cold fluid give best effectiveness or rate of heat transfer but lowest rates of entropy generation, exergy and entransy dissipation and entransy dissipation number. Geometry of double-pipe heat exchanger is shown in Fig. 2, and four different meshes are given in Table 2 [5]. A method has been done to decide mesh for CFD analysis. For example, outlet temperatures of cold and hot fluids for mesh 3 and mesh 4 do not vary significantly (as in Table 2), so mesh 3 has been chosen for research work which has 485,831 elements and 507,656 nodes.
Table 2 Outlet temperatures of four meshes