CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   issues with implementing cyclicAMI boundary (https://www.cfd-online.com/Forums/openfoam/220556-issues-implementing-cyclicami-boundary.html)

HandsomePotato September 11, 2019 10:17

issues with implementing cyclicAMI boundary
 
hi FOAMERS,
im quite new to OPENfoam. Currently i am trying to do a RANS simulation of a flow over a wavy(sinesoidal) surface. this is quite similar to the tutorial periodic hill. however the inlet and outlet of my mesh (made in HEXpress) do not allign exactly. thus i want to implement the cyclicAMI boundary instead of a cyclic boundary.

i changed the type of all the 0-directory files to: cyclicAMI;

and i changed my boundary to cyclicAMI.

when running (parallel) i recieve the error code when when using decomposePar:
--> FOAM FATAL ERROR:
Unable to find initial target face

Im stuck with this for a couple of days now, does anyone know what i am doing wrong or is there any literature or examples applicable for this case.


/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1812 |
| \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
object k;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //


dimensions [0 2 -2 0 0 0 0];

internalField uniform 0.375;


boundaryField
{
// In
// {
// type turbulentIntensityKineticEnergyInlet;
// intensity 0.05;
// value $internalField;
// type inletOutlet;
// inletValue $internalField;
// value $internalField;
// }

"(Bottom|Top)"
{
type kqRWallFunction;
value $internalField;
}

"(Right|Left)"
{
type zeroGradient;
}

"(In|Out)"
{
type cyclicAMI;
}
}

// ************************************************** *********************** //


/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.7.1 |
| \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class polyBoundaryMesh;
object boundary;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //


6
(
In
{
type cyclicAMI;
nFaces 8742;
startFace 17262784;
matchTolerance 0.1;
transform translational;
separationVector (0 0.2032 0);
neighbourPatch Out;
}

Out
{
type cyclicAMI;
nFaces 8742;
startFace 17284810;
matchTolerance 0.1;
transform translational;
separationVector (0 -0.2032 0);
neighbourPatch In;
}

Top
{
type wall;
nFaces 13284;
startFace 17271526;
}

Bottom
{
type wall;
nFaces 286580;
startFace 17293552;
}

Right
{
type patch;
nFaces 23322;
startFace 17580132;
}

Left
{
type patch;
nFaces 23322;
startFace 17603454;
}

)


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