CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Pre-Processing

CyclicAMI: Unable to find initial target face

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   September 28, 2017, 23:31
Exclamation CyclicAMI: Unable to find initial target face
  #1
New Member
 
Anders Utnes
Join Date: May 2017
Location: Norway
Posts: 15
Rep Power: 2
Alasir is on a distinguished road
Hi

Im having a channel flow with a repeating geometry inside. To simplify this I'm using a LES model where I try to use the cyclic BC.

Im using FreeCAD and SnappyHexMesh to generate the mesh, thus causing the iunlet and outlet to have a slight difference in faces. I try to compensate by using cyclicAMI.

However, I keep getting the error "Unable to find initial target face". Does anyone know what this means?

Code:
Boundary:
    inlet
    {
        type            cyclicAMI;
        nFaces          3128;
        startFace       400334;
        matchTolerance  0.01;
        transform       noOrdering;
        neighbourPatch  outlet;
    }
    outlet
    {
        type            cyclicAMI;
        nFaces          3172;
        startFace       403462;
        matchTolerance  0.01;
        transform       noOrdering;
        neighbourPatch  inlet;

U:
    inlet
    {
        type            fixedValue;
        value           uniform (0.01 0 0);

    }
    outlet
    {
        type            inletOutlet;
        inletValue      uniform (0 0 0);
        value           uniform (0.01 0 0);
    }

P:
    inlet
    {
        type            cyclicAMI;
    }
    outlet
    {
        type            cyclicAMI;
    }
Alasir is offline   Reply With Quote

Old   September 29, 2017, 00:03
Default
  #2
New Member
 
Anders Utnes
Join Date: May 2017
Location: Norway
Posts: 15
Rep Power: 2
Alasir is on a distinguished road
Resolved.

Turns out that my error was using noOrdering when I should use translational.

Code:
Boundary:
    inlet
    {
        type            cyclicAMI;
        nFaces          3128;
        startFace       400334;
        matchTolerance  0.001;
        transform       translational;
        neighbourPatch  outlet;
        separationVector (0.000480 0 0);
    }
    outlet
    {
        type            cyclicAMI;
        nFaces          3172;
        startFace       403462;
        matchTolerance  0.001;
        transform       translational;
        neighbourPatch  inlet;
        separationVector (-0.000480 0 0);


P:
    inlet
    {
        type            cyclicAMI;

    }
    outlet
    {
        type            cyclicAMI;

    }
Alasir is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Maximum number of iterations exceeded chtmultiregionsimpleFoam Moncef OpenFOAM Running, Solving & CFD 10 May 31, 2017 18:04
chtMultiRegionSimpleFoam: maximum number of iterations excedeed. Nkl OpenFOAM Running, Solving & CFD 18 February 16, 2016 12:42
Problem with chtMultiregionFoam radiation boundary condition baran_foam OpenFOAM Running, Solving & CFD 9 September 4, 2015 07:31
simpleFoam error - "Floating point exception" mbcx4jc2 OpenFOAM Running, Solving & CFD 12 August 4, 2015 02:20
calculation stops after few time steps sivakumar OpenFOAM Running, Solving & CFD 7 March 17, 2013 07:37


All times are GMT -4. The time now is 21:46.