- Practice · 5 marks
Boundary derivative with one-sided differences
Short answer
Second-order forward difference: f'_0 ≈ (-3f_0+4f_1-f_2)/(2h) derived by eliminating f''_0 from Taylor expansions. For T_0=50, T_1=46, T_2=40°C, h=0.5 mm: first-order gradient = -8000 K/m, second-order = -6000 K/m. Heat flux q'' = -k dT/dx = 3600 W/m² using second-order (first-order gives 4800 W/m², 33% higher).
Derive a second-order accurate one-sided (forward) difference formula for at a boundary node , using nodes with uniform spacing . The temperatures at a wall and the next two points spaced 0.5 mm apart are 50, 46 and 40 °C. Estimate the wall temperature gradient using the first-order and the second-order formula, and find the heat flux if W/m·K.
Derivation
Expand and about :
Eliminate : compute :
The first-order formula is . The second-order formula is important for evaluating wall shear stress and wall heat flux without needing a node outside the domain.
Numerical
Data: °C, m.
First-order:
Second-order:
The successive differences are -4 and -6, so the temperature curve is getting steeper away from the wall (curvature is present). The first-order formula effectively gives the slope at mid-interval (-8000 K/m), so it overestimates the magnitude of the wall slope; the second-order formula extrapolates to the wall itself.
Wall heat flux, :
(first-order would give 4800 W/m², about 33% higher.)
Answer: gradient K/m (1st order), K/m (2nd order); kW/m² (flux directed in the +x direction).
✓ Answer checked by Claude Opus 5.5 (high effort)
Related questions
- Second derivative central difference scheme · Applied Computational Fluid Dynamics, chapter 3
- Derive forward, backward, central differences · Applied Computational Fluid Dynamics, chapter 3
- Finite difference nodal temperatures in a square plate · Heat Transfer, chapter 2
- First and second order finite difference schemes · Computational Techniques in Civil Engineering, chapter 5 · asked 2×
- Derivative feedback in second order time response · Control Systems, chapter 7
- Derive maximum overshoot of second order system · Control Systems, chapter 3
All Applied Computational Fluid Dynamics chapter 3 questions →