Can someone explain how to use faceCenters and faceNodes in OpenFOAM configuration file when using FSI module?
I tested a simple FSI case. The fluid is at the hydrostatic state. I transfer the stress at each node from OpenFOAM to a python-solid solver since my solid solver is a node-based finite difference solver.
The problem is the results are unexpected if I use the following setup (faceCenters) in preciceDict for OpenFOAM
mesh Fluid-Mesh; patches (flap); locations **faceNodes**;
However, if I change it to faceCenters, the results are what I want. That puzzles me. My understanding is I should use faceNodes instead of faceCenters since I want the stress at the nodes.
From the figures attached, we can see that the stress in the correct one figure shows the pattern of hydrostatic pressure as expected; however, the stress using faceNodes is in a mess.
Hope someone can tell me what could be wrong with my configuration or my understanding.
Any hints will be appreciated!