CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   cyclicAMI Interface (https://www.cfd-online.com/Forums/openfoam/188656-cyclicami-interface.html)

willindsey June 3, 2017 22:42

cyclicAMI Interface
 
I am trying to import a hybrid mesh from fluent into open foam. The mesh is a combination of hex and tet elements. Using facematch in ansys mesh I was able to create the same resolution and line up the faces. The tet interface has double the number of faces as the quad interface and I was wondering if I have set it up properly in openFoam or if there is a way to do it better. Thanks.

Poly mesh boundry:
tet-interface
{
type cyclicAMI;
nFaces 8568;
startFace 4156634;
neighbourPatch quad-interface;
transform noOrdering;
}
quad-interface
{
type cyclicAMI;
nFaces 4284;
startFace 4165202;
neighbourPatch tet-interface;
transform noOrdering;
}

C-L June 4, 2017 07:41

Have a look at the createPatch utility - if you leave the poly-mesh boundaries as patches and then run createPatch then OpenFOAM will rewrite the boundaries for you.

willindsey June 4, 2017 11:28

I executed this:

pointSync false;

patches
(
{
name tet-interface;
patchInfo
{
type cyclic;
neighbourPatch quad-interface;
}
constructFrom patches;
patches (tet-interface);
}
{
name quad-interface;
patchInfo
{
type cyclic;
neighbourPatch tet-interface;
}
constructFrom patches;
patches (quad-interface);
}
);

Nothing seemed to have changed in my boundary file. What should I be looking for?

C-L June 4, 2017 11:32

Have you checked the timestep directories? createPatch won't overwrite your mesh unless you specify -overwrite in the command. If it has executed properly then it will have written to a timestep directory instead.


All times are GMT -4. The time now is 06:58.