Shell-and-Tube Heat Exchanger CFD
I designed a shell-and-tube heat exchanger in SolidWorks and simulated it in Flow Simulation. It moves 528 kW from hot water to cold at an effectiveness of 0.65, and the energy balance closes within 2.6 %. Along the way I tracked down a 24 % error in my own setup.
Hover over any underlined term (or tap it on a phone) for a plain-language definition.
Overview
I designed a single-pass shell-and-tube heat exchanger in SolidWorks and simulated it in SolidWorks Flow Simulation to predict how much heat it moves from hot water to cold water.
Then I checked the answer with an energy balance, hand calculations, convergence checks and a mesh refinement study.
The design
Setup
Hot water runs through the tubes from left to right. Cold water runs through the shell the other way, so the two streams run in opposite directions (counterflow).
Results
Final results from the fine mesh (about 1.96 million cells). Every temperature plot on this page uses the same 20 to 180 °C colour scale.
The cold side has the lower heat capacity rate, so it sets the limit on how much heat can move. That's why the cold water warms by about 104 °C while the hot water only cools by about 25 °C.
Inside the tubes the water moves at about 0.14 m/s. That's a Reynolds number of about 15,800, so the tube flow is turbulent.
How I checked it
| Check | What I found |
|---|---|
| Energy balance | The hot side gave up 534.8 kW and the cold side took in 520.9 kW, 2.6 % apart. Some of that gap is heat lost through the outer walls. |
| Total Enthalpy Rate | Checked across all four openings to confirm energy is conserved directly. |
| ε-NTU and LMTD by hand | Effectiveness 0.65 (the cold side has the lower heat capacity rate), LMTD 90.2 K, UA 5.85 kW/K. |
| Is U believable? | U comes out at 567 W/m²·K, below the usual 850–1,700 for water-to-water exchangers. That fits the slow shell-side flow. |
| Convergence | Outlet temperatures held within ±0.1 °C. 1,008 iterations, 4.8 flow travels. |
| Mesh refinement | About 13× more cells (0.15 to 1.96 million). Heat moved changed by 3 %. Cells touching a wall dropped from 98 % to 74 % of the fluid cells. |
Convergence
I ran the solver to 1,008 iterations and tracked both outlet temperatures as goals. The run counts as converged when each goal stays within ±0.1 °C.
Mesh check
I ran the same case on a coarse mesh and a fine mesh with about 13× more cells.
The fine mesh is the result I'm publishing. Going from the coarse to the fine mesh changed the heat moved by 3 % and the cold outlet by 3.9 °C. With only two meshes this is a sensitivity check, not proof of mesh independence.
Hand calculation
Fixing a 24 % energy imbalance
On my first run, the heat leaving the hot water didn't match the heat entering the cold water. I tracked it down to three problems in my setup.
- A goal was averaging the wrong openings.One temperature goal was taking in both the cold inlet and the hot outlet, so it read 56.7 °C instead of 20 °C.
- The wrong kind of average.My goals used area-weighted average temperature. An energy balance needs the mass-weighted (bulk) temperature.
- Water flowing back in at the outlet.The shell-side outlet was a pressure opening, and water was circulating back in through it at the 20 °C ambient temperature. That pulled the cold outlet reading down by about 26 K (102.5 °C instead of about 128 °C). The solver flagged it: “A vortex crosses the pressure opening.” I switched the shell side to a total-pressure inlet and a mass-flow outlet, which stopped the backflow and cleared the warning.
Energy imbalance
Fixing all three brought the gap down to about 1–3 %: 1.35 % on the coarse mesh and 2.6 % on the final fine mesh.
Limitations
- The mass-flow outlet forces an even velocity across the whole exit
- Boiling isn't modelled. Water above 100 °C is treated as pressurized liquid
- Gravity was set along the tube axis instead of straight down. At these flow rates buoyancy should have little effect
- Two meshes, so this is a mesh sensitivity check, not a full mesh-independence study
Next steps
Use this CFD as the starting point for a physics-based digital twin of a heat exchanger, for condition monitoring such as spotting fouling.