CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   transitioning from cyclicAMI to cyclicGgi [v2312 ESI -> Extend 5.0] (https://www.cfd-online.com/Forums/openfoam-solving/254454-transitioning-cyclicami-cyclicggi-v2312-esi-extend-5-0-a.html)

otaolafr February 12, 2024 03:41

transitioning from cyclicAMI to cyclicGgi [v2312 ESI -> Extend 5.0]
 
2 Attachment(s)
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):
    https://i.ibb.co/pwZk8wf/Screenshot-20240212-092139.png
  • 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:

Attachment 98466
Attachment 98471


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