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

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 18, 2021, 11:18
Default cannot find patchField entry
  #1
New Member
 
Thibo
Join Date: Aug 2021
Posts: 5
Rep Power: 4
thibogoddef is on a distinguished road
Hello for my flow over an airfoil simulation i get the following error:

Reading field U
-->FOAM FATAL IO erro:
Cannot find patchField entry for airfoil....

My boundry file looks like this:

(
outlet
{
type outlet;
nFaces 132;
startFace 28303;
}
inlet
{
type inlet;
nFaces 216;
startFace 28435;
}
airfoil
{
type wall;
inGroups 1(wall);
nFaces 70;
startFace 28651;
}
frontAndBackPlanes
{
type empty;
inGroups 1(empty);
nFaces 28512;
startFace 28721;
}
)

And my U file (where I guess there is a problem):

dimensions [0 1 -1 0 0 0 0];

internalField uniform (0 0 0);

boundaryField
{
outlet
{
type zeroGradient;
}

inlet
{
type fixedValue;
value uniform (19 2 0)
}

airfoil
{
type noSlip;
}

frontAndBackPlanes
{
type empty;
}
}

Does anyone know how to solve this error?
Kind regards TG
thibogoddef is offline   Reply With Quote

Old   August 18, 2021, 11:22
Default
  #2
Senior Member
 
Yann
Join Date: Apr 2012
Location: France
Posts: 1,072
Rep Power: 26
Yann will become famous soon enough
Hi Thibo,

It seems you are missing a semicolon on the inlet BC:

Code:
inlet
{
    type fixedValue;
    value uniform (19 2 0);
}
Regards,
Yann
Yann is online now   Reply With Quote

Old   August 18, 2021, 11:35
Default
  #3
New Member
 
Thibo
Join Date: Aug 2021
Posts: 5
Rep Power: 4
thibogoddef is on a distinguished road
Hi Yann

Thanks for the quick reply

After this I get the same cannot find patchField entry for airfoil, but now after it says:
Reading/calculating face flux field phi
...
Selecting RAS turbulence model SpalartAllmaras
Cannot find patchField entry for airfoil

A little further it mentions the nut file, is there anything wrong with this one?

Nut file:
dimensions [0 2 -1 0 0 0 0];

internalField uniform 0.14;

boundaryField
{
outlet
{
type zeroGradient;
}

inlet
{
type fixedValue;
value uniform 0.14;
}

airFoil
{
type nutUSpaldingWallFunction;
value uniform 0;
}

frontAndBackPlanes
{
type empty;
}
}


Nut tilda file:
dimensions [0 2 -1 0 0 0 0];

internalField uniform 0.14;

boundaryField
{
outlet
{
type zeroGradient;
}

inlet
{
type fixedValue;
value uniform 0.14;
}

airfoil
{
type fixedValue;
value uniform 0;
}

frontAndBackPlanes
{
type empty;
}
}

I checked the semicolons but can't find any other fault, can you help me with this aswell?

Kind regards TG
thibogoddef is offline   Reply With Quote

Old   August 18, 2021, 11:40
Default
  #4
Senior Member
 
Yann
Join Date: Apr 2012
Location: France
Posts: 1,072
Rep Power: 26
Yann will become famous soon enough
Yes, you have a typo in the nut file: airFoil instead of airfoil.

These are typical and pretty straightforward errors. Every time you get it, it means there is something wrong in the file: missing or extra semicolon or bracket, wrong name, etc...

Cheers,
Yann
Yann is online now   Reply With Quote

Old   August 18, 2021, 11:56
Default
  #5
New Member
 
Thibo
Join Date: Aug 2021
Posts: 5
Rep Power: 4
thibogoddef is on a distinguished road
I guess you can see I'm just getting started with OpenFOAM.

Thanks again Yann for the reply!

Kind regads TG
thibogoddef 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 21:21
Parallel snappyHexMesh problem: Cannot find patchField entry for procBoundary2to7 hconel OpenFOAM Pre-Processing 0 October 5, 2018 17:22
decomposePar fails "Cannot find patchField entry for maxY" JasonQuinn OpenFOAM Pre-Processing 2 April 4, 2017 01:07
adding compressible option to ptot immortality OpenFOAM Programming & Development 13 June 15, 2015 15:00
OpenFOAM 1.6-ext git installation on Ubuntu 11.10 x64 Attesz OpenFOAM Installation 45 January 13, 2012 12:38


All times are GMT -4. The time now is 05:44.