|
[Sponsors] |
August 18, 2021, 11:18 |
cannot find patchField entry
|
#1 |
New Member
Thibo
Join Date: Aug 2021
Posts: 5
Rep Power: 4 |
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 |
|
August 18, 2021, 11:22 |
|
#2 |
Senior Member
Yann
Join Date: Apr 2012
Location: France
Posts: 1,072
Rep Power: 26 |
Hi Thibo,
It seems you are missing a semicolon on the inlet BC: Code:
inlet { type fixedValue; value uniform (19 2 0); } Yann |
|
August 18, 2021, 11:35 |
|
#3 |
New Member
Thibo
Join Date: Aug 2021
Posts: 5
Rep Power: 4 |
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 |
|
August 18, 2021, 11:40 |
|
#4 |
Senior Member
Yann
Join Date: Apr 2012
Location: France
Posts: 1,072
Rep Power: 26 |
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 |
|
August 18, 2021, 11:56 |
|
#5 |
New Member
Thibo
Join Date: Aug 2021
Posts: 5
Rep Power: 4 |
I guess you can see I'm just getting started with OpenFOAM.
Thanks again Yann for the reply! Kind regads TG |
|
|
|
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 |