CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[snappyHexMesh] How to create cyclic non-matching patches?

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

LinkBack Thread Tools Search this Thread Display Modes
Old   March 16, 2020, 06:24
Default How to create cyclic non-matching patches?
New Member
Tobias Kienzler
Join Date: Mar 2020
Posts: 1
Rep Power: 0
zommuter is on a distinguished road

I'd like to mesh part of periodic tube with cyclic patches, i.e. while the internal structure is irregular and provided by an OBJ file, the cyclic patches are identical but rotated. Just using a naive run on snappyHexMesh and createPatches

    version     2.0;
    format      ascii;
    class       dictionary;
    object      createPatchDict;

pointSync false;

// Patches to create.
        name cyclAMI.Front;
            type cyclicAMI;
            neighbourPatch cyclAMI.Back;

            // Optional: explicitly set transformation tensor.
            // Used when matching and synchronising points.
            transform rotational;
            rotationAxis (0 0 1);
            rotationCentre (0 0 0);
        constructFrom patches;
        patches (Front);
        name cyclAMI.Back;
            type cyclicAMI;
            neighbourPatch cyclAMI.Front;

            transform rotational;
            rotationAxis    ( 0 0 1 );
            rotationCentre  ( 0 0 0 );
        constructFrom patches;
        patches (Back);
I cannot use cyclic but must use cyclicAMI due to the mismatch of the Front and Back patch meshing. But then I obtain zero weights in the AMIs, and due to the actually (but rotated) identical faces I'd prefer to use a real cyclic non-AMI boundary condition anyway. Is there any way to achieve this? I guess I'd need to instruct snappyHexMesh somehow to create the patches identically if that is somehow possible.

zommuter is offline   Reply With Quote


Thread Tools Search this Thread
Search this Thread:

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to set periodic boundary conditions Ganesh FLUENT 14 November 26, 2018 11:26
[snappyHexMesh] snappyHexMesh and cyclic boundaries Ruli OpenFOAM Meshing & Mesh Conversion 2 December 9, 2013 06:51
Cyclic boundaries in OF 21x morard OpenFOAM 25 May 13, 2013 22:35
[mesh manipulation] CreatePatch to create cyclic boundary sbence OpenFOAM Meshing & Mesh Conversion 18 August 30, 2012 06:51
[snappyHexMesh] snappyHexMesh with cyclic patches? Axel_T OpenFOAM Meshing & Mesh Conversion 1 October 12, 2010 10:03

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