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

Cannot find patchField entry for cyclic1

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 28, 2019, 16:11
Default Cannot find patchField entry for cyclic1
  #1
uzy
New Member
 
Okan Gün
Join Date: Nov 2019
Posts: 4
Rep Power: 6
uzy is on a distinguished road
hi dear all,
I get this error when I run pisoFoam. Has anyone experienced this error before? How can I fix?
Thanks in advance!

Code:
Reading field p

--> FOAM Warning : 
    From function const Foam::HashTable<Foam::List<int>, Foam::word>& Foam::polyBoundaryMesh::groupPatchIDs() const
    in file meshes/polyMesh/polyBoundaryMesh/polyBoundaryMesh.C at line 473
    Removing patchGroup 'wall' which clashes with patch 2 of the same name.


--> FOAM FATAL IO ERROR: 
Cannot find patchField entry for cyclic1

file: /home/mekim/OpenFOAM/mekim-7/run/0/p.boundaryField from line 26 to line 51.

    From function void Foam::GeometricField<Type, PatchField, GeoMesh>::Boundary::readField(const Foam::DimensionedField<TypeR, GeoMesh>&, const Foam::dictionary&) [with Type = double; PatchField = Foam::fvPatchField; GeoMesh = Foam::volMesh]
    in file /home/ubuntu/OpenFOAM/OpenFOAM-7/src/OpenFOAM/lnInclude/GeometricBoundaryField.C at line 191.

FOAM exiting

My p file:
Code:
/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  2.3.1                                 |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       volScalarField;
    location    "0";
    object      p;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions      [ 0 2 -2 0 0 0 0 ];

internalField   uniform 0;

boundaryField
{
    inlet
    {
        type            zeroGradient;
    }
    outlet
    {
        type            fixedValue;
        value           uniform 0;
    }
    backcyc
    {
        type            cyclicAMI;
    }
    frontcyc
    {
        type            cyclicAMI;
    }
    periodic2
    {
        type            cyclicAMI;
    }
    periodic1
    {
        type            cyclicAMI;
    }
    wall
    {
        type            zeroGradient;
    }

}


// ************************************************************************* //
uzy is offline   Reply With Quote

Old   December 4, 2019, 08:26
Default
  #2
Member
 
ingraban's Avatar
 
Ingo Riess
Join Date: Jun 2019
Location: Switzerland
Posts: 40
Rep Power: 7
ingraban is on a distinguished road
Could you also post the file /constant/polyMesh/boundary, please ?
ingraban is offline   Reply With Quote

Old   December 7, 2019, 18:48
Default
  #3
uzy
New Member
 
Okan Gün
Join Date: Nov 2019
Posts: 4
Rep Power: 6
uzy is on a distinguished road
thank u for your helping.
My boundary file:


Code:
/*--------------------------------*- C++ -*----------------------------------*\
  =========                 |
  \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
   \\    /   O peration     | Website:  https://openfoam.org
    \\  /    A nd           | Version:  7
     \\/     M anipulation  |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       polyBoundaryMesh;
    location    "5e-05/polyMesh";
    object      boundary;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

7
(
    inlet
    {
        type            patch;
        nFaces          147;
        startFace       78626;
    }
    outlet
    {
        type            patch;
        nFaces          119;
        startFace       78773;
    }
    wall
    {
        type            wall;
        inGroups        List<word> 1(wall);
        nFaces          370;
        startFace       78892;
    }
    cyclic1
    {
        type            cyclicAMI;
        inGroups        List<word> 1(cyclicAMI);
        nFaces          268;
        startFace       79262;
        matchTolerance  0.0001;
        transform       translational;
        neighbourPatch  cyclic2;
        separationVector (0 -0.032841912 0);
        method          faceAreaWeightAMI;
    }
    cyclic2
    {
        type            cyclicAMI;
        inGroups        List<word> 1(cyclicAMI);
        nFaces          268;
        startFace       79530;
        matchTolerance  0.0001;
        transform       translational;
        neighbourPatch  cyclic1;
        separationVector (0 0.032841912 0);
        method          faceAreaWeightAMI;
    }
    cyclic3
    {
        type            cyclicAMI;
        inGroups        List<word> 1(cyclicAMI);
        nFaces          39606;
        startFace       79798;
        matchTolerance  0.0001;
        transform       translational;
        neighbourPatch  cyclic4;
        separationVector (0 0 -0.0005);
        method          faceAreaWeightAMI;
    }
    cyclic4
    {
        type            cyclicAMI;
        inGroups        List<word> 1(cyclicAMI);
        nFaces          39606;
        startFace       119404;
        matchTolerance  0.0001;
        transform       translational;
        neighbourPatch  cyclic3;
        separationVector (0 0 0.0005);
        method          faceAreaWeightAMI;
    }
)

// ************************************************************************* //
uzy is offline   Reply With Quote

Old   December 9, 2019, 03:09
Default
  #4
Senior Member
 
Yogesh Bapat
Join Date: Oct 2010
Posts: 102
Rep Power: 16
ybapat is on a distinguished road
Please provide BCs for patches cyclic1 to cyclic4.



Regards,
-Yogesh
ybapat is offline   Reply With Quote

Old   December 9, 2019, 05:42
Default
  #5
Member
 
ingraban's Avatar
 
Ingo Riess
Join Date: Jun 2019
Location: Switzerland
Posts: 40
Rep Power: 7
ingraban is on a distinguished road
In your boundary file, you provide the boundaries/patches for your flow problem. For each of the boundaries: inlet, outlet, wall, cyclic1, cyclic3, cyclic3, cyclic4, you have to provide boundary data, e.g. in your p-file.

In your p-file, you only provide boundary data for inlet, outlet, wall, frontcyc, periodic1, periodic3.

As the names of your boundaries don't match, OpenFoam is unable to find boundary data for the patch cyclic1.
ingraban is offline   Reply With Quote

Old   December 13, 2019, 15:18
Default
  #6
uzy
New Member
 
Okan Gün
Join Date: Nov 2019
Posts: 4
Rep Power: 6
uzy is on a distinguished road
thank u, I solve it.
uzy 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
Cannot find patchField entry for InletWall range_rover OpenFOAM Running, Solving & CFD 5 November 18, 2020 22:21
Parallel snappyHexMesh problem: Cannot find patchField entry for procBoundary2to7 hconel OpenFOAM Pre-Processing 0 October 5, 2018 18:22
OpenFOAM 1.6-ext git installation on Ubuntu 11.10 x64 Attesz OpenFOAM Installation 45 January 13, 2012 13:38
Problem Building OF on Centos cluster (no admin rights) CKH OpenFOAM Installation 5 November 13, 2011 07:32
Converting Starccm+ mesh Ladnam OpenFOAM 0 September 14, 2011 07:30


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