# Elements Missing from Interface?

**URL:** <https://precice.discourse.group/t/elements-missing-from-interface/2464>\
**Category:** Using preCICE\
**Tags:** parallel\
**Created:** [May 5, 2025, 1:49pm UTC](https://precice.discourse.group/t/elements-missing-from-interface/2464 "2025-05-05T13:49:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![msuaeronautics13](https://avatars.discourse-cdn.com/v4/letter/m/4bbf92/32.png) [@msuaeronautics13](https://precice.discourse.group/u/msuaeronautics13)\
**Post date:** [May 5, 2025, 1:49pm UTC](https://precice.discourse.group/t/elements-missing-from-interface/2464/1 "2025-05-05T13:49:39Z")

</div>

I have an adapter that couples a flow code to a thermal code. The coupling seems very effective, however, I have a problem that gives me this error sometime downstream in the solution. The error comes as the flow code is transferring its heating loads to the thermal code. The flow code did not NaN and it does not look as if the surface solution has any NaN values.

> preCICE:^[[31mERROR: ^[[0m One of the given data values is either plus or minus infinity or NaN.

So, I’m using the VTP export capability to get a feel for how things look across domains. My thermal mesh consists of all tets, while my fluid mesh is all quad. Can someone help me understand why the thermal mesh that the flow code receives has holes in it like shown here? Is this affecting the mapping (and thus causing the NaN values to transfer)?

 ![image](https://global.discourse-cdn.com/free1/uploads/precice/original/2X/3/3d38ae661e6705a7f323030dfe772d58d2d9ca84.jpeg)

What I don’t understand is that the mesh below looks normal (and is as-provided by the thermal model), but the mesh received by the flow code (top) looks filtered somehow. I tried different combinations of safety factor and that doesn’t seem to help.

I would also love any feedback on my mapping configuration.  
[precice-config.xml](https://precice.discourse.group/uploads/short-url/hluqWxqt6e3quwkPnLsp99R3u7b.xml) (4.2 KB)

---

<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:** [May 22, 2025, 6:06pm UTC](https://precice.discourse.group/t/elements-missing-from-interface/2464/2 "2025-05-22T18:06:32Z")

</div>

Hi @msuaeronautics13,

I am not sure what is happening here, but a few ideas/questions:

1. What exactly is visualized here? Which mesh? What do the gaps mean?
2. How is the connectivity defined for this mesh?
3. What happens if you set `geometric-filter="no-filter"`

---

<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:** [May 22, 2025, 6:23pm UTC](https://precice.discourse.group/t/elements-missing-from-interface/2464/3 "2025-05-22T18:23:42Z")

</div>

Just in case, check that this is not a version-specific ParaView issue:

> [@Wrong mapping results on precice-exported meshes using JIT](https://precice.discourse.group/t/wrong-mapping-results-on-precice-exported-meshes-using-jit/2477/6):
>
> Reasons found. Paraview v5.9.1 has issues reading the precice-exported pvtu file (displaying NaN). But in Paraview v5.13.2, the same pvtu files can be read normally and proper mapping values can be displayed.
