Tuesday, November 6, 2018

possible solution

 caelinux@caelinux:~/OpenFOAM/caelinux-4.1/run/tutorials/incompressible/icoFoam/elbow-twoFace-right$ cp system/changeDictionaryDict 0/dictionaryReplacement
caelinux@caelinux:~/OpenFOAM/caelinux-4.1/run/tutorials/incompressible/icoFoam/elbow-twoFace-right$ cd 0
caelinux@caelinux:~/OpenFOAM/caelinux-4.1/run/tutorials/incompressible/icoFoam/elbow-twoFace-right/0$ ls
caelinux@caelinux:~/OpenFOAM/caelinux-4.1/run/tutorials/incompressible/icoFoam/elbow-twoFace-right$ changeDictionary

0$ cat dictionaryReplacement
/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  4.1                                   |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    location    "0";
    object      dictionaryReplacement;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dictionaryReplacement
{
    boundary
    {
        leftRightWallleft
        {
            type            cyclicAMI;
            neighbourPatch  leftRightWallsright;
            transform       noOrdering;
        }
        leftRightWallsright
        {
            type            cyclicAMI;
            neighbourPatch  leftRightWallleft;
            transform       noOrdering;
        }
    }
}

boundary
{
    leftRightWallleft
    {
        type            cyclicAMI;
        neighbourPatch  leftRightWallsright;
        transform       noOrdering;
    }
    leftRightWallsright
    {
        type            cyclicAMI;
        neighbourPatch  leftRightWallleft;
        transform       noOrdering;
    }
}

No comments:

Post a Comment