Hi,
I am not sure if it is a preCICE-related topic, but my issue appears only when I perform a coupled simulation.
I am trying to simulate something like a plunging airfoil in a confined domain, that is, all the boundaries are defined as walls. I have done a pure OpenFOAM case in which the plunging movement is fixed (using oscillatingDisplacement
in the U
file), and the simulation runs. As a further step, I attached preCICE to control the movement from another solver.
In this last case, the simulation crashes before connecting to the other solver with an error that appears starting in the adapter, but looks more openFOAM-related:
---[preciceAdapter] Loaded the OpenFOAM-preCICE adapter - v1.3.1.
---[preciceAdapter] Reading preciceDict...
---[precice] This is preCICE version 3.1.2
---[precice] Revision info: no-info [git failed to run]
---[precice] Build type: Release (without debug log)
---[precice] Configuring preCICE with configuration "./precice-config.xml"
---[precice] I am participant "Fluid"
---[precice] Connecting Primary rank to 3 Secondary ranks
--> FOAM Warning :
From void adapterInfo(std::string, std::string)
in file Utilities.C at line 50
Error (deferred - will exit later) in the preCICE adapter:
PIMPLE: iteration 1
--> FOAM FATAL ERROR: (openfoam-2406)
Continuity error cannot be removed by adjusting the outflow.
Please check the velocity boundary conditions and/or run potentialFoam to initialise the outflow.
Total flux : 1e-300
Specified mass inflow : 3.304020747e-35
Specified mass outflow : 5.272973784e-35
Adjustable mass outflow : 0
The log mentions a “deferred error” in the adapter, and then the OpenFOAM error appears.
I could probably find a workaround for this but I’d like to understand the origin of the error and if I could do something to overcome it.
Thanks
Claudio