# Modelling with OGS6 - HeatConduction

**URL:** <https://discourse.opengeosys.org/t/modelling-with-ogs6-heatconduction/1226>\
**Category:** Help & Support\
**Tags:** ogs6\
**Created:** [June 16, 2023, 4:09pm UTC](https://discourse.opengeosys.org/t/modelling-with-ogs6-heatconduction/1226 "2023-06-16T16:09:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Achi](https://discourse.opengeosys.org/letter_avatar_proxy/v4/letter/a/ba8739/32.png) [@Achi](https://discourse.opengeosys.org/u/Achi)\
**Post date:** [June 16, 2023, 4:09pm UTC](https://discourse.opengeosys.org/t/modelling-with-ogs6-heatconduction/1226/1 "2023-06-16T16:09:12Z")

</div>

Dear Ladies and Gentlemen,

In the last few days I have been working on the simulation for HeatConduction and I wanted to create my own simulation model. But now I have the following problem.  
 ![image](https://discourse.opengeosys.org/uploads/default/original/2X/2/263ffefd5ba876318b9829603cb686dd7929e8a5.png)

Since I am still relatively new, I unfortunately have no clues. Could you help me here? I have also added the files.  
[Benzersiz İndirme Bağlantısı | WeTransfer](https://we.tl/t-DCNXHZjseZ?utm_campaign=TRN_TDL_05&utm_source=sendgrid&utm_medium=email&trk=TRN_TDL_05)

Yours sincerely,

Kiratli

---

<div class="post-metadata">

**Author:** ![thomas.fischer](https://discourse.opengeosys.org/user_avatar/discourse.opengeosys.org/thomas.fischer/32/416_2.png) [@thomas.fischer](https://discourse.opengeosys.org/u/thomas.fischer)\
**Post date:** [June 19, 2023, 4:24am UTC](https://discourse.opengeosys.org/t/modelling-with-ogs6-heatconduction/1226/2 "2023-06-19T04:24:20Z")

</div>

Dear Kiratli,

from the warning message one can read that the mesh contains 6 different layers of material / 6 different porous media. For each of these material layers OpenGeoSys needs a material definition. OpenGeoSys can only find a definition for one material / porous medium in the project file. This can lead to problems in the simulation. For this reason the warning is written out. I suspect that the error message below the warning is such a problem.

In order to solve the issue you could add 5 additional material/medium definitions in the project file. These additional definitions do not have to be different. The easiest way is to add ids to the attribute id of the medium tag:

```xml
<media>
    <medium id="0,1,2,3,4,5">
    ...
</media>

```

Best regards,  
Tom

---

<div class="post-metadata">

**Author:** ![Achi](https://discourse.opengeosys.org/letter_avatar_proxy/v4/letter/a/ba8739/32.png) [@Achi](https://discourse.opengeosys.org/u/Achi)\
**Post date:** [June 19, 2023, 8:22am UTC](https://discourse.opengeosys.org/t/modelling-with-ogs6-heatconduction/1226/3 "2023-06-19T08:22:20Z")

</div>

Dear Fischer,

Thank you for your effort. Now the simulation works without a warning.

but when the problem was solved, i encountered a new problem. in my simulation i want to simulate heat transport in a 3d model. For this I have defined a Dirichlet condition on the surface and a Neumann condition in the subsurface. Unfortunately, this does not work as desired. Is it possible to take a look at this from your side?

Kind regards,

Kiratli
