I am trying to run OpenFOAM on multiple CPU’s by splitting up the mesh, while coupled to Nutils. Also in the CHT tutorial a decomposepar is available, which I am using to figure out how it works. However I am still getting an error I cannot solve.
[precice] ERROR: For a parallel participant, only the mapping combinations read-consistent and write-conservative are allowed
I am not sure what is meant by this and how to fix this. Would any of you know, what to do?
Thank you for the answer! I still do not understand it fully I think. It states that I have to adjust the mapping from write to read and that I have to make sure it uses both meshes. If i make a visualization of the original XML file, I can see that the mapping is already read by the Nutils file, so it cannot also be done by the OpenFOAM file right? Also there are already 2 different meshes used by nutils and in OpenFOAM it splits up the mesh, however i think it eventually uses one mesh name stated in the precicedict file, since the boundary interface is coupled to this file, which is present in both the processor folders after using the decomposepar dict.
Could you post your current preCICE config file?
The image looks good for serial computation, but not for parallel (assuming that you want two consistent mappings).
In this case it is the same as in the CHT tutorial. I want to test it out in that case, before i continue with it.
I want to run the openfoam part on 2 or more cpu’s, so the decomposepar splits it up on 2 processors. It is still the same mesh however. The openfoam and nutils part can still run in serial.
I can see now how I understood it wrong. I misunderstood the concept of direction = ‘write’. However it is very clear now. Thank you for your time and answers!