How to solve"Can not find patchField entry for **"?
Hi
I tried to convert .msh file to openfoam,and have already checked the mesh,it showed success. But I could not see the mesh in paraview, the terminal showed "Can not find patchField entry for circle".ps."circle" is the name of a patch. Anyone knows how to solve it? |
Greetings WenY and welcome to the forum!
If you look at the error message in more detail, you should be able to see that it's very likely complaining about the patch not being present inside a particular field file, for example inside "0/U" or "0/p". You have at least 2 choices for fixing this:
Beyond this, please keep in mind that people cannot see what you're seeing, and when it comes to OpenFOAM, every single detail is important. Therefore, giving these vague descriptions to problems will lead to taking longer to be answered... although in this case, you got lucky. For more information, please read this thread: How to give enough info to get help Best regards, Bruno |
Quote:
Thanks for your advice, I've already read the information you showed to me.I'm new here and starting to study openfoam. You really help me!!:) regards WenY |
I just wanted to say thank you so very much to Bruno for your thorough answer here! Your option 2 saved me from a great deal of misery.
I'm trying to create a mesh initially in 3 pieces due to desired cell size differences and then combine them all together using stitchMesh, but I had copied 0.org as 0 before doing this and was getting "FOAM FATAL IO ERROR: Cannot find patchField entry for upper1" as an error. After reading this post, I moved the copying of 0.org to after using blockMesh and stitchMesh twice in my bash script that builds my model and all is well now! :D |
All times are GMT -4. The time now is 15:33. |