CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Problem with periodically repeated partially overlapping patches / nested cyclicACMI

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 27, 2014, 04:28
Default Problem with periodically repeated partially overlapping patches / nested cyclicACMI
  #1
New Member
 
Patrick Kopper
Join Date: Oct 2014
Posts: 1
Rep Power: 0
Nysander is on a distinguished road
Dear all,

I'm a student from Germany working on my Bachelor thesis in turbomachinery simulation. I have a problem with a nested cyclicACMI boundary condition involving other patch types than "wall". I've tried the tutorial with this patch type and it works perfectly. In my case however I want OpenFOAM to use translationally shifted copies of the same patch on the initially non overlapping areas.

As it's quite hard to explain I've created a test case with two blocks in Salome. The two blocks have a side length of 100 and are displaced relative to another by 50. What I want to do is couple the non overlapping region on one side of the overlap area to the non overlapping region of the other patch on the other side.

I've tried using a nested cyclicACMI boundary condition by creating three patch copies in my createBafflesDict using the definition below (only attached the definition for one side):

Code:
ACMI1
    {
        type        faceZone;
        zoneName    couple1Faces;

        patches
        {
            master
            {
                name            ACMI1_couple;
                type            cyclicACMI;
                matchTolerance  0.0001;
                neighbourPatch  ACMI2_couple;
                nonOverlapPatch ACMI1_offset;
                transform       translational;
		separationVector (0 0 0);
            }

            master2
            {
                name            ACMI1_offset;
                type            cyclicACMI;
                matchTolerance  0.0001;
                neighbourPatch  ACMI2_offset;
                nonOverlapPatch ACMI1_blockage;
                transform       translational;
		separationVector (-100 0 0);
            }
            
            master3
            {
                name            ACMI1_blockage;
                type            wall;
            }
        }
    }
Running createBaffles and afterwards using createPatch to remove zero sized patches works fine. But when I'm trying to simulate a simple flow using the icoFoam-Solver, it always exits with the following error:

Code:
AMI: Creating addressing and weights between 270 source faces and 298 target faces
AMI: Patch source sum(weights) min/max/average = 0, 1, 0.501221
AMI: Patch target sum(weights) min/max/average = 0, 1, 0.476506
AMI: Creating addressing and weights between 270 source faces and 298 target faces
AMI: Patch source sum(weights) min/max/average = 0, 1, 0.498779
AMI: Patch target sum(weights) min/max/average = 0, 1, 0.523494


--> FOAM FATAL ERROR: 
Inconsistent ACMI patches ACMI2_couple and ACMI2_offset.  Patches should have identical topology

    From function Foam::label Foam::cyclicACMIPolyPatch::nonOverlapPatchID() const
    in file AMIInterpolation/patches/cyclicACMI/cyclicACMIPolyPatch/cyclicACMIPolyPatch.C at line 408.
I have no idea how to correct this error since I'm using identical patches created by the createBaffles utility and would appreciate any help. I don't know whether it matters, but I'm using the latest 2.3.x version of OpenFOAM. If it should turn out that solving my problem using the nested cyclicACMI boundary condition isn't possible, I'd also be grateful for any help on splitting the patches based on overlap / non overlap. I would then manually connect them using the cyclicAMI boundary condition.

I've uploaded my test case to my dropbox, please feel free to look into it using the link below:
https://www.dropbox.com/s/owjqh1ah9z...ested.tar?dl=0

Thanks in advance,
Patrick
Nysander is offline   Reply With Quote

Old   October 10, 2017, 10:01
Default
  #2
New Member
 
Join Date: May 2017
Posts: 7
Rep Power: 8
tian_lei is on a distinguished road
I did not check your case. This is my though. When you create cyclicAMCI by createBaffles, you firstly remove 0 folder. Later, re-create 0 folder.

my best
tian_lei is offline   Reply With Quote

Reply


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[mesh manipulation] Sharp edge problem on concave patches using polyDualMesh without error keepfit OpenFOAM Meshing & Mesh Conversion 1 November 25, 2014 14:28
[blockMesh] Merging edge patches Yosmcer OpenFOAM Meshing & Mesh Conversion 11 November 16, 2014 14:51
problem with cyclicAMI and wall distance Maff OpenFOAM Bugs 5 August 14, 2014 14:41
Regarding periodic BC in ICEM generated grid Tarak OpenFOAM 32 April 30, 2013 14:46
Problem with cyclic patches sven OpenFOAM Running, Solving & CFD 0 December 5, 2011 14:27


All times are GMT -4. The time now is 20:30.