CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   createPatch and splitMesh problem (https://www.cfd-online.com/Forums/openfoam/93568-createpatch-splitmesh-problem.html)

dhruv October 19, 2011 11:14

createPatch and splitMesh problem
 
Hi Foamers,

I am creating a geometry out of 5 different geometries. I used mergeMesh and stitchMesh to create the final geometry. Then, I create a faceSet using setSet utility. I want to assign a fan boundary condition to this faceSet. So,

1. I run the splitMesh, after updating my boundary file with two patches having 0 faces. (fan_master and fan_slave).
After running splitMesh, I have the following message
Code:

<<Number of duplicate (not baffle) faces found: 1. This might indicate a problem.
  <<Number of faces with non-consecutive shared points: 1. This might indicate a problem.
Writing mesh to 1

2. I run createPatch utility
Then, i run into this error
Quote:

--> FOAM FATAL ERROR:
Face 7221101 specified in set fanFaces is not an external face of the mesh.
This application can only repatch existing boundary faces.

From function createPatch
in file createPatch.C at line 714.
I don't understand why this error is coming up. Can anyone help me?

dhruv October 20, 2011 07:03

Solved!!
 
I got the solution to this problem. Apprantly, I did not make the correct entries in the createPatchDict.

Thanks,
Dhruv.

Quote:

Originally Posted by dhruv (Post 328592)
Hi Foamers,

I am creating a geometry out of 5 different geometries. I used mergeMesh and stitchMesh to create the final geometry. Then, I create a faceSet using setSet utility. I want to assign a fan boundary condition to this faceSet. So,

1. I run the splitMesh, after updating my boundary file with two patches having 0 faces. (fan_master and fan_slave).
After running splitMesh, I have the following message
Code:

<<Number of duplicate (not baffle) faces found: 1. This might indicate a problem.
  <<Number of faces with non-consecutive shared points: 1. This might indicate a problem.
Writing mesh to 1

2. I run createPatch utility
Then, i run into this error
I don't understand why this error is coming up. Can anyone help me?


franzi_ April 24, 2012 11:15

same problem
 
Hello,

I find the same problems when running createPatch.

How did you solve the problem?

Or does anyone elso have a solution for that error message??

THANKS A LOT IN ADVANCE.

cheers Franzi

Shanmugv August 6, 2018 02:47

CreatePatch Error
 
Create patch utility is used to create a face patch out of a face set.


The created face set should be of more of a 2d rather than a 3d

For example if a if we want to create a patch in the inlet side of the cylinder
the face set that should be created can expand in the inlet plane (say x and y) but shouldn't expand in the other plane (z axis)

so when we create a box for the face, make sure that one direction of axis is limited. for example ((0.25 0.25 0.001) (0.5 0.5 0.0015))


Hope it helps


All times are GMT -4. The time now is 05:01.