Hi,
I’m trying to debug a potential mapping issue between openfoam (well, actually blastfoam) and a custom solid mechanics FE solver. The goal is to take the force values from openfoam and apply them as nodal forces to the solid mesh. The problem we are having is that the force data seems very noisy and is producing unrealistic deformations on the solid side.
To simplify the problem, we created a fluid mesh and solid mesh that are identical on the interface, and then used a nearest-neighbor mapping, in the expectation that precice needs to do a minimum of interpolation and thus the force data would be passed most accurately. To my surprise, the force data at the face centers on the openfoam side and the nodes on the solid side
are very different. Most surprisingly, although there are no zero forces on the openfoam side (there is a constant pressure being applied), there are numerous zero nodal forces on the solid side. This seems very puzzling since, again, the meshes at the interface of both codes are identical.
If anyone has insight into what is going on I would greatly appreciate it. I’m not sure what I can attach here to clarify the problem, but I’ve attached the file containing the fluid forces at face centers (Fluid-Mesh-Faces-Fluid.dt1.vtk), and the nodal forces passed to the solid solver (Solid-Fluid.dt1.vtk). Let me know if there is anything else I can share that may help in debugging the issue.
Thanks in advance!
Steve
Solid-Fluid.forces.zip (165.1 KB)