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

transitioning from cyclicAMI to cyclicGgi [v2312 ESI -> Extend 5.0]

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 12, 2024, 03:41
Default transitioning from cyclicAMI to cyclicGgi [v2312 ESI -> Extend 5.0]
  #1
Senior Member
 
Franco
Join Date: Nov 2019
Location: Compiègne, France
Posts: 129
Rep Power: 6
otaolafr is on a distinguished road
Hello,
I had a functional case in OF ESIv2312 and I want to run it in the Extend version. The case uses non-conformal cyclic BC to create a periodic geometry (tube) between the inlet and the outlet.
  • I am using non-conformal cyclic BC so the case could be applied to other meshes but my current mesh is conformal (between the inlet and outlet as it is a structured mesh).
  • the creation of the cyclicAMI in ESI was taking less than a minute to run while the creation of the cyclicGgi it has been running since more than 2 days, so I assume that there is something wrong with my setup
  • the log of the createPatch stayed at Initializing the GGI interpolator between master/shadow patches: inletAMI/outletAMI since 2 days
  • here is an image of the inlet and outlet patches (in the simulation they have a bigger offset in Z, I moved them to show them easily (a simple translation in paraview):
  • the complete geometry looks like a tube of 1 m of length in the Z axis
  • here is an small snap of how I was doing it (in ESI) and I am doing it now (Extend) for creating the patches, for example for the inlet:
    ESIv2312:
    Code:
        {
            name            inletAMI;
            patchInfo
            {
                type            cyclicAMI;
                matchTolerance  0.0001;
                neighbourPatch  outletAMI;
                transform       translational;
                separationVector (0 0 $sep);
            }
            constructFrom patches;
            patches (inlet);
        }
    Extend5.0:
    Code:
        {
            name            inletAMI;
            dictionary
            {
                type            cyclicGgi;
                zone                cyclicPatchesZoneInlet;
                shadowPatch  outletAMI;
                bridgeOverlap   true;
                rotationAngle 0.0;
                rotationAxis (0 0 1);
                rotationCentre (0 0 0);
                separationOffset (0 0 1);
            }
            constructFrom patches;
            patches (inlet);
        }
  • In the case of the Extended version before running the createPatch command, I have runned:
    Code:
    setSet -batch setBatchGgi
    setsToZones -noFlipMap
    with the setBatchGgi file which looks like this:
    Code:
    faceSet cyclicPatchesZoneInlet new patchToFace inlet
    faceSet cyclicPatchesZoneOutlet new patchToFace outlet
    quit
  • As my case is a simple periodic tube which the patches are translated I added the rotation sections of the cyclicGgi with a 0 angle as mentionned here: https://sourceforge.net/p/foam-extend/tickets/49/
any inputs to this issue would be appreciated...
my complete original (ESI) createPatchDict and the Extended versions:

createPatchDictESI.txt
createPatchDictExtend.txt

Last edited by otaolafr; February 12, 2024 at 06:58.
otaolafr is offline   Reply With Quote

Reply

Tags
cyclicami, cyclicggi, esi openfoam, foam-extend 5.0

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
Using createPatch and cyclicAMI in FOAM Extend to create periodicbox manuc OpenFOAM Running, Solving & CFD 1 April 12, 2022 11:36
cyclicAMI - kOmegaSST - divergence issue cyln OpenFOAM Running, Solving & CFD 1 October 5, 2018 10:06
inlet pressure is higher than outlet pressure for fan sivakumar OpenFOAM Pre-Processing 16 December 30, 2017 14:16


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