How to use other Function Objects during simulation with preCICE?

Dear anyone!

now I am using preCICE for simulation with OpenFoam. In my simulation need to calculate average velocity so I use the average Function in controldict file in OpenFoam. But preCICE notice that other only preCICE will control the simulation’s endtime. How to trigger other function during simulation.

Thank you!

Dear @Hoaithanhbk_281113,

you can use other function objects together with the adapter, simply by adding them on the list. In that case, the adapter needs to be the last function object in the list. I added this to the documentation: Configure the OpenFOAM adapter | preCICE - The Coupling Library

1 Like

Thank you for your advice ! I will read it carefully.

Hoai Thanh