# Can I use preCICE to simulate a droplet impacting on an elastic substrate?

**URL:** <https://precice.discourse.group/t/can-i-use-precice-to-simulate-a-droplet-impacting-on-an-elastic-substrate/1372>\
**Category:** Is preCICE for me?\
**Tags:** openfoam, fsi\
**Created:** [April 18, 2023, 8:51am UTC](https://precice.discourse.group/t/can-i-use-precice-to-simulate-a-droplet-impacting-on-an-elastic-substrate/1372 "2023-04-18T08:51:45Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bob](https://avatars.discourse-cdn.com/v4/letter/b/ea666f/32.png) [@Bob](https://precice.discourse.group/u/Bob)\
**Post date:** [April 18, 2023, 8:51am UTC](https://precice.discourse.group/t/can-i-use-precice-to-simulate-a-droplet-impacting-on-an-elastic-substrate/1372/1 "2023-04-18T08:51:45Z")

</div>

Hello, everyone, I hope you are having a good day.  
I am new to preCICE and openFOAM, a weeks ago, I tried to use ANSYS’s Workbench platform to complete my simulation, but unfortunately it failed. My friends suggested that I might switch to open source software like openFOAM.  
My case is shown in the figure below, where a droplet collides with the rubber plate below at a certain initial velocity and subsequently rebounds. Through this simulation, I want to obtain the morphological changes and internal pressure distribution of droplets during the impact process, as well as the deformation of the rubber plate. This simulation involves multiphase flow, dynamic mesh and FSI.  
 ![image](https://global.discourse-cdn.com/free1/uploads/precice/original/2X/7/7d2c63e64b53157d815ff88e1a8fa30546a1305f.png)

I wonder whether I can use InterFOAM, CalculiX, and preCICE to achieve my goals?  
Last, I sincerely look forward to your reply, any assistance would be gladly appreciated.

---

<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 26, 2023, 11:27am UTC](https://precice.discourse.group/t/can-i-use-precice-to-simulate-a-droplet-impacting-on-an-elastic-substrate/1372/2 "2023-04-26T11:27:51Z")

</div>

In my view, at the moment, this is partially possible.

**Dynamic meshes** (I assume you will need adaptive mesh refinement) are under development, potentially coming in preCICE v3 later this year: [Dynamic Meshes · GitHub](https://github.com/precice/precice/projects/2) (cc @fsimonis)

**Multiphase FSI** with interFoam and CalculiX and static meshes is already possible. A tutorial for that is under review (on my list at the moment): [https://github.com/precice/tutorials/pull/279](https://github.com/precice/tutorials/pull/279)

If this is a project without time pressure (e.g., you are now starting your PhD), you could already start by setting up a static mesh and gradually add features later.

If you want a simple and documented solution right now, this is not available.

Note that both FSI and multiphase are challenging problems by themselves, so coupling them could have unexpected challenges as well.

---

<div class="post-metadata">

**Author:** ![Bob](https://avatars.discourse-cdn.com/v4/letter/b/ea666f/32.png) [@Bob](https://precice.discourse.group/u/Bob)\
**Post date:** [April 28, 2023, 1:55pm UTC](https://precice.discourse.group/t/can-i-use-precice-to-simulate-a-droplet-impacting-on-an-elastic-substrate/1372/3 "2023-04-28T13:55:47Z")

</div>

Good evening Makis. I understand what you were saying. Thank you for your answer

---

<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:** [May 1, 2023, 1:56pm UTC](https://precice.discourse.group/t/can-i-use-precice-to-simulate-a-droplet-impacting-on-an-elastic-substrate/1372/4 "2023-05-01T13:56:32Z")

</div>

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