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

OF ext-3.2 new createPatch cyclics issue

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 26, 2016, 15:43
Default OF ext-3.2 new createPatch cyclics issue
  #1
Member
 
Jack
Join Date: May 2015
Posts: 98
Rep Power: 11
Jack001 is on a distinguished road
Hi all,

I have a problem when running createPatch to create cyclic boundaries in ext-3.2.

When I run the case in OF-3.0.0 everything is fine. My createPatchDict there looks like

Code:
patches
(
    {
        // Name of new patch
        name PER11;

        patchInfo
        {
            type cyclic;
            neighbourPatch PER22;

            transform rotational;
            rotationAxis (0 0 1);
            rotationCentre (0 0 0);
        }

        // How to construct: either from 'patches' or 'set'
        constructFrom patches;

        // If constructFrom = patches : names of patches. Wildcards allowed.
        patches (PER1);

        // If constructFrom = set : name of faceSet
        set f0;
    }

    {
        // Name of new patch
        name PER22;

        patchInfo
        {
            type cyclic;
            neighbourPatch PER11;


            transform rotational;
            rotationAxis (0 0 1);
            rotationCentre (0 0 0);
        }

        // How to construct: either from 'patches' or 'set'
        constructFrom patches;

        // If constructFrom = patches : names of patches. Wildcards allowed.
        patches (PER2);

        // If constructFrom = set : name of faceSet
        set f0;
    }

);

After some searching I found that the following format runs in ext-3.2, however I now get the all annoying face ordering problem.
Code:
patchInfo
(
    {
        // Name of new patch
        name PER11;

        // Type of new patch
        dictionary
        {
            type cyclic;
            neighborPatch PER22;
            transform rotational;
            rotationAxis (0 0 1);
            rotationCentre (0 0 0);
            rotationAngle 27.692307692;
        }

        // How to construct: either from 'patches' or 'set'
        constructFrom patches;

        // If constructFrom = patches : names of patches. Wildcards allowed.
        patches (PER1);

        // If constructFrom = set : name of faceSet
        set f0;
    }
    {
        // Name of new patch
        name PER22;

        // Type of new patch
        dictionary
        {
            type cyclic;
            neighborPatch PER11;
            transform rotational;
            rotationAxis (0 0 1);
            rotationCentre (0 0 0);
            rotationAngle 27.692307692;
        }

        // How to construct: either from 'patches' or 'set'
        constructFrom patches;

        // If constructFrom = patches : names of patches. Wildcards allowed.
        patches (PER2);

        // If constructFrom = set : name of faceSet
        set f0;
    }


);
The dictionary setup is a bit different and unless I provide the keyword rotationAngle it won't run which is clearly different from OF-3.0.0!

I need to understand what is different in this version and why I am getting the error

Code:
--> FOAM FATAL ERROR: 
face 671 area does not match neighbour 1343 by 124.364% -- possible face ordering problem.
patch:PER11 my area:7.7101e-07 neighbour area:1.79786e-07 matching tolerance:0.001
Mesh face:135814 vertices:4((-0.047228 0.00712133 0.0547229) (-0.0473139 0.00652421 0.0550409) (-0.0462156 0.00621963 0.0550629) (-0.0461318 0.00681568 0.054742))
Neighbour face:136486 vertices:4((-0.0285095 0.00747647 0.0480262) (-0.0283014 0.00742829 0.0480351) (-0.0283067 0.00740811 0.0471949) (-0.0285155 0.00745355 0.0471839))
Other errors also exist, only the largest is reported. Please rerun with cyclic debug flag set for more information.

    From function cyclicPolyPatch::calcTransforms()
    in file meshes/polyMesh/polyPatches/constraint/cyclic/cyclicPolyPatch.C at line 293.

FOAM aborting
Jack001 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
There is a bug in createPatch? feno102 OpenFOAM Pre-Processing 6 November 1, 2017 03:24


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