# Unexpected data output

**URL:** https://precice.discourse.group/t/unexpected-data-output/2168
**Category:** Using preCICE
**Tags:** openfoam, adapters
**Created:** [October 15, 2024, 5:12am UTC](https://precice.discourse.group/t/unexpected-data-output/2168 "2024-10-15T05:12:17Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Ya\_Squall](https://yyz2.discourse-cdn.com/free1/user_avatar/precice.discourse.group/ya_squall/32/2265_2.png) [@Ya\_Squall](https://precice.discourse.group/u/Ya_Squall)
#### Post date: [October 15, 2024, 5:12am UTC](https://precice.discourse.group/t/unexpected-data-output/2168/1 "2024-10-15T05:12:17Z")

</div>

Hi there,

Fluid (OpenFOAM) + Solid (solids4Foam) case, writeInterval=0.1 sec, time-window-size=0.005 sec. Case running fine. Many unwanted data are written besides the results data:

 ![image](https://global.discourse-cdn.com/free1/uploads/precice/original/2X/3/3f905baac26bb34b1d061275f5d64954a4748ee0.png)  
Inside the folder, only one file is found:  
 ![image](https://global.discourse-cdn.com/free1/uploads/precice/original/2X/e/e903440fe948a1476ba82ac180851fc24587127d.png)

Please advise how to avoid this? Many thanks.

---

<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: [March 23, 2025, 4:13pm UTC](https://precice.discourse.group/t/unexpected-data-output/2168/2 "2025-03-23T16:13:18Z")

</div>

@Ya_Squall this is a known issue that we cannot fix at the adapter level. It is a conflict of how OpenFOAM handles function objects, and how we handle checkpointing.

As a workaround, we provide this script in our tutorials:

> <https://github.com/precice/tutorials/blob/develop/tools/openfoam-remove-empty-dirs.sh>

---

<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: [March 26, 2025, 4:14pm UTC](https://precice.discourse.group/t/unexpected-data-output/2168/3 "2025-03-26T16:14:05Z")

</div>

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