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

rhoSimpleFoam. patchField error.

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 6, 2014, 07:04
Default rhoSimpleFoam. patchField error.
  #1
123
New Member
 
Victor
Join Date: Mar 2014
Posts: 7
Rep Power: 12
123 is on a distinguished road
Hello dear friends.

I read a lot of staff about rhoSimpleFoam, but still have the problem.
I have a calculated simpleFoam case.
So I need to continue this case with rhoSimpleFoam or make a new rhoSimpleFoam case with the same geometry.

I have this error when I try execute rhoSimpleFoam:

--> FOAM FATAL IO ERROR:
Cannot find patchField entry for cyclic PERIODIC_1
Is your field uptodate with split cyclics?
Run foamUpgradeCyclics to convert mesh and fields to split cyclics.

file: /home/studenten/stud-viti/OpenFOAM/run/rhoSimpleFoam/Test_Blade3D_rhosimpleFoam/10000/T.boundaryField from line 25 to line 51.

From function GeometricField<Type, PatchField, GeoMesh>::GeometricBoundaryField::readField(const DimensionedField<Type, GeoMesh>&, const dictionary&)
in file /sw/openfoam/OpenFOAM-2.2.0/src/OpenFOAM/lnInclude/GeometricBoundaryField.C at line 137.

Does anybody know how to fix this problem?

With best regards,
Victor.
123 is offline   Reply With Quote

Old   May 30, 2014, 10:26
Default Please, share yout working rhoSimpleFoam case
  #2
123
New Member
 
Victor
Join Date: Mar 2014
Posts: 7
Rep Power: 12
123 is on a distinguished road
Hello dear foamers,

I always have this problem when I execute my rhoSimpleFoam case.

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

file: /home/studenten/stud-viti/OpenFOAM/run/rhoSimpleFoam/Test_Blade3D_rhosimpleFoam/0/T.boundaryField from line 25 to line 53.

Could you please share with me your working rhoSimpleFoam case? or maybe just 0 folder with initial conditions?
Or Maybe somebody knows how to fix the patchField problem?
FYI, PERIODIC_1 is cyclic.

Thank you in advance!
Yours
Victor
123 is offline   Reply With Quote

Old   May 31, 2014, 10:19
Default
  #3
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings Victor,

You're not giving us much information to work with. Please follow the indications given here: http://www.cfd-online.com/Forums/ope...-get-help.html

Because even if you do have a patch "PERIODIC_1" defined in the mesh, is does not mean that it's defined in the "T" file, as indicated by the error message you're getting.

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   June 4, 2014, 13:47
Default
  #4
123
New Member
 
Victor
Join Date: Mar 2014
Posts: 7
Rep Power: 12
123 is on a distinguished road
Hello Bruno.
Sorry about that.
Hope now there is enough information.


This is the "T" file
Code:
FoamFile
{
    version     2.0;
    format      ascii;
    class       volScalarField;
    object      T;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions      [0 0 0 1 0 0 0];

internalField   uniform 293;

boundaryField
{
    INLET
    {
        type            fixedValue;
        value           uniform 573;
    }
    OUTLET
    {
        type            outletInlet;
        outletValue     uniform 473
    }
    PERIODIC_1
    {
        type            cyclicAMI;
        value           $internalField;
    }
    PERIODIC_2
    {
        type            cyclicAMI;
        value           $internalField;
    }
    SYMM_01
    {
        type            symmetryPlane;
    }
    SYMM_02
    {
        type            symmetryPlane;
    }
    BLADE
    {
        type            zeroGradient;
    }
}
// ************************************************************************* //
This is the checkMesh log
Code:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Create polyMesh for time = 0

Time = 0

Mesh stats
    points:           161984
    faces:            438046
    internal faces:   391622
    cells:            138278
    faces per cell:   6
    boundary patches: 7
    point zones:      0
    face zones:       1
    cell zones:       1

Overall number of cells of each type:
    hexahedra:     138278
    prisms:        0
    wedges:        0
    pyramids:      0
    tet wedges:    0
    tetrahedra:    0
    polyhedra:     0

Checking topology...
    Boundary definition OK.
    Cell to face addressing OK.
    Point usage OK.
    Upper triangular ordering OK.
    Face vertices OK.
    Number of regions: 1 (OK).

Checking patch topology for multiply connected surfaces...
    Patch               Faces    Points   Surface topology
    INLET               595      688      ok (non-closed singly connected)
    OUTLET              595      688      ok (non-closed singly connected)
    SYMM_01             19754    20248    ok (non-closed singly connected)
    SYMM_02             19754    20248    ok (non-closed singly connected)
    BLADE               2002     2288     ok (non-closed singly connected)
    PERIODIC_1          1862     2136     ok (non-closed singly connected)
    PERIODIC_2          1862     2136     ok (non-closed singly connected)

Checking geometry...
    Overall domain bounding box (-25 -25.9025 -3) (60 54.4534 8.7357e-14)
    Mesh (non-empty, non-wedge) directions (1 1 1)
    Mesh (non-empty) directions (1 1 1)
    Boundary openness (-2.07415e-16 9.12562e-17 -4.97004e-16) OK.
    Max cell openness = 4.11197e-16 OK.
    Max aspect ratio = 18.3439 OK.
    Minimum face area = 0.00288281. Maximum face area = 0.41332.  Face area magnitudes OK.
    Min volume = 0.00123693. Max volume = 0.177136.  Total volume = 8819.72.  Cell volumes OK.
    Mesh non-orthogonality Max: 64.6599 average: 17.1442
    Non-orthogonality check OK.
    Face pyramids OK.
    Max skewness = 1.71078 OK.
    Coupled point location match (average 0) OK.

Mesh OK.

End

                                                                                                                                                                                                                                                              83,0-1        Bot
And this is the "boundary" file
Code:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

7
(
    INLET
    {
        type            patch;
        nFaces          595;
        startFace       391622;
    }
    OUTLET
    {
        type            patch;
        nFaces          595;
        startFace       392217;
    }
    SYMM_01
    {
        type            symmetryPlane;
        inGroups        1(symmetryPlane);
        nFaces          19754;
        startFace       392812;
    }
    SYMM_02
    {
        type            symmetryPlane;
        inGroups        1(symmetryPlane);
        nFaces          19754;
        startFace       412566;
    }
    BLADE
    {
        type            wall;
        nFaces          2002;
        startFace       432320;
    }
    PERIODIC_1
    {
        type            cyclicAMI;
        inGroups        1(cyclic);
        nFaces          1862;
        startFace       434322;
        matchTolerance  1;
        transform       translational;
        neighbourPatch  PERIODIC_2;
        separationVector (-1 0 0);
    }
    PERIODIC_2
    {
        type            cyclicAMI;
        inGroups        1(cyclic);
        nFaces          1862;
        startFace       436184;
        matchTolerance  1;
        transform       translational;
        neighbourPatch  PERIODIC_1;
        separationVector (1 0 0);
    }
)

// ************************************************************************* //
I am really hope that you will be me a hint how to fix this problem.

Thank you in advance,
Victor
123 is offline   Reply With Quote

Old   June 6, 2014, 16:22
Default
  #5
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Hi Victor,

OK, here's a very important detail - in the first post, if you look carefully, there is this path:
Quote:
Code:
Test_Blade3D_rhosimpleFoam/10000/T.boundaryField
It's telling us that it's looking at the time folder "10000". On the other hand, the "T" file you've shown us looks like it might be from the time folder "0".

Which might very likely mean that the file "system/controlDict" is configured with this setting:
Code:
startFrom latestTime;
which would explain why it started off by looking into the time folder "10000".

Best regards,
Bruno
__________________
wyldckat 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
Building OpenFOAM1.7.0 from source ata OpenFOAM Installation 46 March 6, 2022 14:21
[blockMesh] blockMesh with double grading. spwater OpenFOAM Meshing & Mesh Conversion 92 January 12, 2019 10:00
[OpenFOAM] Native ParaView Reader Bugs tj22 ParaView 270 January 4, 2016 12:39
Ansys Fluent 13.0 UDF compilation problem in Window XP (32 bit) Yogini Fluent UDF and Scheme Programming 7 October 3, 2012 08:24
c++ libraries and solver compiling vaina74 OpenFOAM Installation 13 February 3, 2012 18:43


All times are GMT -4. The time now is 12:29.