# compressibleInterDyMFoam

**URL:** <https://precice.discourse.group/t/compressibleinterdymfoam/2486>\
**Category:** Using preCICE\
**Created:** [May 17, 2025, 9:53am UTC](https://precice.discourse.group/t/compressibleinterdymfoam/2486 "2025-05-17T09:53:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yang](https://avatars.discourse-cdn.com/v4/letter/y/77aa72/32.png) [@Yang](https://precice.discourse.group/u/Yang)\
**Post date:** [May 17, 2025, 9:53am UTC](https://precice.discourse.group/t/compressibleinterdymfoam/2486/1 "2025-05-17T09:53:15Z")

</div>

I found that in the official PreCICE case, compressible solvers were rarely used. If I want to use the compressibleInterDyMFoam solver, how should I modify the fvSchemes and fvSolution files? I tried to modify the fvSchemes and fvSolution files in interFoam in the breaking-dam-2d example, but I kept reporting errors.

 ![屏幕截图 2025-05-17 222254](https://global.discourse-cdn.com/free1/uploads/precice/original/2X/d/d49ff3037952d49a755053028db881e61c201606.png)  
 ![屏幕截图 2025-05-18 083708](https://global.discourse-cdn.com/free1/uploads/precice/original/2X/e/e3fb41d12d3e3c380158d6da7b8f06148615bbc0.png)  
 ![image](https://global.discourse-cdn.com/free1/uploads/precice/original/2X/e/ee368afe7a2ae547fa496e994f3738f6069efcc9.png)  
 ![image](https://global.discourse-cdn.com/free1/uploads/precice/original/2X/a/af903b8b706d61ad9834477d7e4524794e0e1ab7.png)  
 ![image](https://global.discourse-cdn.com/free1/uploads/precice/original/2X/3/3e0e21e1c3390cbf94cd1b800c154e189fc467bf.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:** [May 22, 2025, 6:28pm UTC](https://precice.discourse.group/t/compressibleinterdymfoam/2486/2 "2025-05-22T18:28:46Z")

</div>

Some examples that might help:

- buoyantPimpleFoam: [Flow over heated plate | preCICE - The Coupling Library](https://precice.org/tutorials-flow-over-heated-plate.html)
- sonicLiquidFoam: [Partitioned pipe flow | preCICE - The Coupling Library](https://precice.org/tutorials-partitioned-pipe.html)
- interFoam: [Partitioned pipe two phase | preCICE - The Coupling Library](https://precice.org/tutorials-partitioned-pipe-two-phase.html)

They can definitely be improved and your solver is different (and probably old, given the `DyM` in the name), but might lead somewhere.

Does the uncoupled fluid case work?
