# Wall function specification in Turbulent Heat Transfer Calculation

**URL:** <https://precice.discourse.group/t/wall-function-specification-in-turbulent-heat-transfer-calculation/2651>\
**Category:** Using preCICE\
**Tags:** openfoam\
**Created:** [October 28, 2025, 4:25am UTC](https://precice.discourse.group/t/wall-function-specification-in-turbulent-heat-transfer-calculation/2651 "2025-10-28T04:25:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![zdc](https://avatars.discourse-cdn.com/v4/letter/z/3bc359/32.png) [@zdc](https://precice.discourse.group/u/zdc)\
**Post date:** [October 28, 2025, 4:25am UTC](https://precice.discourse.group/t/wall-function-specification-in-turbulent-heat-transfer-calculation/2651/1 "2025-10-28T04:25:04Z")

</div>

🤗Hello everyone, I’ve recently been using OpenFOAM adapters to solve a conjugate heat transfer problem in fuel rods. The model is divided into three regions: the fuel core, cladding, and water, each computed using LaplacianFoam, LaplacianFoam, and BuoyantSimpleFoam respectively. Following the heat exchanger tutorial, I set the interface type to mapped. However, my case requires enabling a turbulence model, which resulted in the error: “Invalid wall function specification.Patch type for patch water\_inner must be wall，Current patch type is genericPatch”

How can I resolve this? Previously, when I set the water-cladding interface type to wall, I observed minimal heating in the water domain.

---

<div class="post-metadata">

**Author:** ![Makis](https://yyz2.discourse-cdn.com/free1/user_avatar/precice.discourse.group/makis/32/25_2.png) [@Makis](https://precice.discourse.group/u/Makis)\
**Post date:** [October 30, 2025, 9:32am UTC](https://precice.discourse.group/t/wall-function-specification-in-turbulent-heat-transfer-calculation/2651/2 "2025-10-30T09:32:22Z")

</div>

Hi @zdc,

with a first guess, I think that this is an issue with configuring the OpenFOAM simulation itself (wall functions), not with the coupling.

However, even if you manage to configure wall functions, I don’t know if the adapter will do the right thing. We do have a very old issue with wall functions in CHT: [CHT: Calculation of HeatFlux for meshes which use wall functions · Issue #10 · precice/openfoam-adapter · GitHub](https://github.com/precice/openfoam-adapter/issues/10)
