# Heat-exchange in PreCICE

**URL:** <https://precice.discourse.group/t/heat-exchange-in-precice/1026>\
**Category:** Using preCICE\
**Tags:** openfoam, adapters, calculix\
**Created:** [April 17, 2022, 1:09pm UTC](https://precice.discourse.group/t/heat-exchange-in-precice/1026 "2022-04-17T13:09:15Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![tianhk](https://avatars.discourse-cdn.com/v4/letter/t/49beb7/32.png) [@tianhk](https://precice.discourse.group/u/tianhk)\
**Post date:** [April 17, 2022, 1:09pm UTC](https://precice.discourse.group/t/heat-exchange-in-precice/1026/1 "2022-04-17T13:09:16Z")

</div>

Hi, I recently encountered a problem running the PreCICE calculation case. When I used the template example heat-exchanger, I changed the geometry slightly and added the turbulence model. After the first change, I noticed that the temperature at the interface was discontinuous. So I encrypted the fluid domain grid. However, when I run it again, I get this inner-fluid error, and outer-fluid can set up communication normally. Can someone tell me why? Thank you.

 ![1](https://global.discourse-cdn.com/free1/uploads/precice/original/2X/4/4de4ea238510804b13ca0f69783f053df2b74e6d.png)  
 ![2](https://global.discourse-cdn.com/free1/uploads/precice/original/2X/d/df498a30828a8ce0c2425e20f7b1fb6f5cae39cd.png)  
 ![3](https://global.discourse-cdn.com/free1/uploads/precice/original/2X/f/fa0833b515d0fa11d4751e18c48bc10ef6709ea7.png)

---

<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:** [April 19, 2022, 4:55pm UTC](https://precice.discourse.group/t/heat-exchange-in-precice/1026/2 "2022-04-19T16:55:01Z")

</div>

Hi @tianhk,

from what I see in the top of your last screenshot, OpenFOAM seems to not be able to find the adapter. Maybe you changed something in the way you execute the simulation? Maybe you changed your OpenFOAM version but did not install the OpenFOAM adapter again for that version?

By the way, how have you configured your terminal to highlight some words? This looks very convenient!

---

<div class="post-metadata">

**Author:** ![tianhk](https://avatars.discourse-cdn.com/v4/letter/t/49beb7/32.png) [@tianhk](https://precice.discourse.group/u/tianhk)\
**Post date:** [April 20, 2022, 3:45pm UTC](https://precice.discourse.group/t/heat-exchange-in-precice/1026/4 "2022-04-20T15:45:20Z")

</div>

Thank you for your reply. I have solved the problem. I think the reason for this problem is that the case file don’t have enough file read permissions, so I put admin permissions on the case file, and it works .

As for highlighting some words, this is because I’m using the Win10 subsystem (WSL) , because I feel that virtual machines limit computing performance. And when I installed the Win10 subsystem, it could only display some command lines and could not display any graphical interface. So I used the MobaXterm software in Win10 to display graphical interfaces (residuals, etc.). This is the effect of opening WSL with MobaXterm.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/precice/original/1X/67d2a5fa6f80e597e2267ff17fa8c1673cd11caa.svg) [@system](https://precice.discourse.group/u/system)\
**Post date:** [April 23, 2022, 3:45pm UTC](https://precice.discourse.group/t/heat-exchange-in-precice/1026/5 "2022-04-23T15:45:32Z")

</div>

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.
