Output vertex could not be assigned to any cluster in the rbf-pum mapping

I am running the “perpendicular-flap” tutorial based on the documentation mentioned here:
https://precice.org/tutorials-perpendicular-flap.html

I am getting the errors (attached file) when i run the run.sh file separately in 2 terminals.

How can I resolve this?

Thanks!
errors.txt (13.7 KB)

@som1197 what do you think by “new version”? What exactly did you install, from where?

Since OpenFOAM 10, there are also many breaking changes in the configuration files. You might get some hints from this branch: GitHub - precice/tutorials at OpenFOAM10

The long-term plan is to treat OpenFOAM.org as a completely different project and provide some tutorials for the latest supported version as well.

Edit: I merged the two topic, as these are directly related.

Edit 2: I split the topics again, as this is indeed unrelated.

@Makis, sorry I didn’t clarify the new version in my last post. I installed the 2412 version from here. This is supported based on the documentation.

Also based on the errors in the fluid solver, I tried finding the <mapping:rbf-pum-direct/> tag, but the precice-config.xml file, doesn’t have this. Is there a different way to run this case?

---[precice] ERROR:  Output vertex -0.05,0.766667 of mesh "Fluid-Mesh" could not be assigned to any cluster in the rbf-pum mapping. This probably means that the meshes do not match well geometry-wise: Visualize the exported preCICE meshes to confirm. If the meshes are fine geometry-wise, you can try to increase the number of "vertices-per-cluster" (default is 50), the "relative-overlap" (default is 0.15), or disable the option "project-to-input".These options are only valid for the <mapping:rbf-pum-direct/> tag.
terminate called after throwing an instance of 'precice::Error'
  what():  Output vertex -0.05,0.766667 of mesh "Fluid-Mesh" could not be assigned to any cluster in the rbf-pum mapping. This probably means that the meshes do not match well geometry-wise: Visualize the exported preCICE meshes to confirm. If the meshes are fine geometry-wise, you can try to increase the number of "vertices-per-cluster" (default is 50), the "relative-overlap" (default is 0.15), or disable the option "project-to-input".These options are only valid for the <mapping:rbf-pum-direct/> tag.

Thanks!

@som1197 I am a bit confused, because the tutorial runs for me, with the following versions:

  • deal.II 9.4.0 (you are using 9.7.0-pre (revision c235bd4825 on branch master))
  • OpenFOAM v2412
  • preCICE v3.2.0

Unless you modified something in the tutorial, could you maybe try downgrading deal.II?

The tutorial uses mapping:rbf, which is automatically choosing the implementation of the RBF mapping that makes most sense for this system and meshes. Read more in:

Note that the error suggests checking the geometric relation of the two meshes. You can do that using the preCICE exports: Export configuration | preCICE - The Coupling Library