OpenFOAM adapter or just preCICE function?


Do I have to use OpenFOAM adapter? As I uses dsmcFoam, which doesn’t have a specified handy adapter.

Extending adapter or modify dsmcFoam, which is more convenient? And is there any reference for my case?


I don’t know of anyone that has used dsmcFoam with preCICE, but I guess it will be special enough to have compatibility issues.

You could try extending the adapter: Extend the OpenFOAM adapter | preCICE - The Coupling Library

Of course, you could also couple dsmcFoam directly from scratch, you don’t have to use the adapter: Step 1 – Preparation | preCICE - The Coupling Library But extending the current one could save you some work, and it could be useful for the community.