CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   CyclicAMI Boundary Condition (https://www.cfd-online.com/Forums/openfoam-solving/136040-cyclicami-boundary-condition.html)

CUBoulderPhDStudent May 21, 2014 18:34

CyclicAMI Boundary Condition
 
For a more complex case involve a 45 degree mesh imprint I need to create periodic boundary conditions.

My meshing system GMSH is unable to generate for this complex geometry mesh with identical sides for ordinary cyclic to work as a boundary condition. Even with the duplicate mesh surface feature. As such I decided to switch to cyclicAMI because it does not require exact duplicate mesh.

On simple square cases cyclicAMI works fine with a boundary like this

6
(
front
{
type cyclicAMI;
physicalType cyclicAMI;
nFaces 113;
startFace 2754;
neighbourPatch back;
matchTolerance 1e-3;
}
back
{
type cyclicAMI;
physicalType cyclicAMI;
nFaces 113;
startFace 2867;
neighbourPatch front;
matchTolerance 1e-3;
}
top
{
type patch;
physicalType patch;
nFaces 4;
startFace 2980;
}
bottom
{
type wall;
physicalType wall;
nFaces 244;
startFace 2984;
}
right
{
type patch;
physicalType patch;
nFaces 113;
startFace 3228;
}
left
{
type patch;
physicalType patch;
nFaces 113;
startFace 3341;
}
)

however, if the mesh is more complicated than the exact same boundary conditions no longer works and either the courant number blows up or an error message saying that the target and source face do not match.

Does anyone understand what that problem is or otherwise how to create periodic mesh surfaces on an opensource meshing program for complex geometry?

Thank you for your help. I have been stuck on getting this case to work since last November (about 7 months now)


All times are GMT -4. The time now is 12:22.