Volume coupling Openfoam 10

Hi there!

I am trying to couple two cfd simulations with a volume mapping of pressure. The solvers involved are both pimpleFoam from openfoam10. The first one is running a stand alone cfd simulation, the resulting pressure field is mapped on the overlapping volume of the second mesh. The second pimpleFoam runs by taking as source term the pressure field of the first simulation. I am using fvModels to load the mapped pressure in the second pimplefoam and here I am facing some problems, in particular the error:

“request for volScalarField p_vol from objectRegistry region0 failed available objects of type volScalarField are…” (they depend by the cfd model)

it seems that the p_vol defined in the preciceDict and in the fvModels is looked also inside the “createFields.H” of the solver. Is this a problem of the foundation version or am I missing something? Please any help would be greatly appreciated.

Hi @Renato_Montillo,

at the moment, the Foundation branches of the adapter (we need one branch for each of the OpenFOAM 6/7/8/9/10/11/…) are currently out of date and broken, and we are discussing how to continue with supporting different OpenFOAM vendors and versions: Policy on support for OpenFOAM.org and other versions · Issue #328 · precice/openfoam-adapter · GitHub

There will be an update eventually, porting the current release to OpenFOAM 10.

Contributions also welcome.