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 inletfuel

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By Yann

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 23, 2019, 18:36
Default Cannot find patchField entry for inletfuel
  #1
New Member
 
Keshawa Bandara
Join Date: Jun 2019
Posts: 2
Rep Power: 0
Kesh is on a distinguished road
Hi,



I am new to OpenFOAM and got the below error message when I was trying to run a custom solver which was developed using reactingFoam solver.



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

file: /home/keshawa/OpenFOAM/keshawa-7/run/reactingFoam/adsorpFoam/0/p.boundaryField from line 26 to line 44.

    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 /opt/openfoam7/src/OpenFOAM/lnInclude/GeometricBoundaryField.C at line 191.

FOAM exiting
This is the 0/p code:



Code:
dimensions      [1 -1 -2 0 0 0 0];

internalField   uniform 101325;

boundaryField
{
    inlet
    {
    type        zeroGradient;
    }
    outlet
    {
        type            inletOutlet;
    inletValue    uniform 101325;
        value           uniform 101325;
    }
    adsorptwall
    {
        type            zeroGradient;
    }
    wall
    {
        type            zeroGradient;
    }
    frontAndBack
    {
        type            zeroGradient;
    }
}
Appreciate if someone can help me figure out the error.


Thanks for your time,
Kesh
Kesh is offline   Reply With Quote

Old   September 24, 2019, 04:32
Default
  #2
Senior Member
 
Yann
Join Date: Apr 2012
Location: France
Posts: 1,236
Rep Power: 29
Yann will become famous soon enoughYann will become famous soon enough
Hi Kesh,


In your mesh, you have a patch named "inletfuel" but it is not defined in your 0/p files (there is "inlet" instead). You need to define a boundary condition for the patch "inletfuel" for every variable in 0.


Cheers,
Yann
Kesh likes this.
Yann is online now   Reply With Quote

Old   September 25, 2019, 19:13
Default
  #3
New Member
 
Keshawa Bandara
Join Date: Jun 2019
Posts: 2
Rep Power: 0
Kesh is on a distinguished road
Thanks so much for taking time to help me. In fact I was wrong to keep the inletfuel patch. I removed that and made outlet type as fixed value. That worked for me.


Thanks again Yann.
Kesh 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 13:43.