CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Post-Processing (https://www.cfd-online.com/Forums/openfoam-post-processing/)
-   -   cannot view an openfoam case with a sliding interface in paraview (https://www.cfd-online.com/Forums/openfoam-post-processing/238000-cannot-view-openfoam-case-sliding-interface-paraview.html)

karim_mohamed August 17, 2021 13:18

cannot view an openfoam case with a sliding interface in paraview
 
Hello all,

I am using Foam-Extend 4.1 to simulate an internal combustion engine. I used the functionality of a sliding interface to establish communication between two non-conforming patches who slide on one another (it relates to the curtain of the valve).

As far as the code messages show, the program works fine when I test the "moveDynamicMesh" solver. However, when I try to view the case in paraview I get the following error:
"The number of faces in faces (...) and owner (...) does not match"

From my understanding (please correct me if I am wrong), the sliding interface function projects the mesh points from one of the patches to the other in order to create a conforming interface. This may increase the number of the faces in the mesh as the function may end up splitting one of the faces on a patch into two or more to conform with a face on the other patch. So, my guess is that a different number of faces in "faces" and in "owner" (the initial mesh) is correct.

The question is how do I open this case in paraview? Please note that the paraview version is 5.9.1 and I do not use paraview that comes with Foam-extend, I use the command "paraFoam -touch" and then open the case in paraview.

Thanks all,
Karim

Tobi August 20, 2021 05:21

Hey,

well, we don't see any messages and how moveDynamicMesh works/runs (no output of the application was provided by you). However, it seems wired. Are you using paraFoam or paraview to open ParaView? Can you open the mesh without having anything calculated? What does checkMesh tells us?

karim_mohamed August 21, 2021 18:20

2 Attachment(s)
Hi Tobias,

Thank you for the response. I have attached two screenshots of the first and final time steps outputs.

unilord March 11, 2024 08:38

Quote:

Originally Posted by karim_mohamed (Post 810765)
Hi Tobias,

Thank you for the response. I have attached two screenshots of the first and final time steps outputs.

Hey Karim,

I am facing the exact problem. The main differences is that I am using OF11, and the file that defines the dynamic mesh behaviour is called dynamicMeshDict instead of moveDynamicMesh. Have you found a solution to your problem?

Thanks in advance,
Pedro Gouveia


All times are GMT -4. The time now is 15:28.