CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   periodic (cyclic) boundary - fluent3DMeshToFoam (https://www.cfd-online.com/Forums/openfoam/193813-periodic-cyclic-boundary-fluent3dmeshtofoam.html)

cyln October 3, 2017 18:42

periodic (cyclic) boundary - fluent3DMeshToFoam
 
Hello,

My computational domain has a shape of slice of a cylinder. I have generated my mesh on this domain using ICEM. Two sides are defined as periodic boundaries. However, when I use fluent3DMeshToFoam to convert the mesh in OpenFOAM, the software faces issues due to the periodic (cyclic) boundary.

A suggested alternative way is to define these periodic boundaries, lets say as symmetry boundaries, then convert the mesh using fluent3DmeshToFoam. Then you use createPatch funtion ( via createPatchDict file) to convert your symmetry boundaries to cyclic boundaries.

I performed these steps. I modified createPatchDict file as suggested. When I run createPatch, at the beginning, it works fine but I get the following error at the end.

> FOAM FATAL ERROR:
For patch SIDE11 there are 159185 face centres, for the neighbour patch SIDE22 there are 160271

From function void Foam::cyclicPolyPatch::calcTransforms(const primitivePatch&, const pointField&, const vectorField&, const pointField&, const vectorField&)
in file meshes/polyMesh/polyPatches/constraint/cyclic/cyclicPolyPatch.C at line 156.

FOAM exiting


Obviously, the number of face centres are different on each side. Is there any way to solve this problem? I would appreciate any suggestion


Cheers

asin October 17, 2017 02:59

maybe there is something wrong with your createPatchDict


All times are GMT -4. The time now is 04:33.