CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   "FOAM FATAL IO ERROR: Cannot find patchField entry for NACA6409_patch24311" (https://www.cfd-online.com/Forums/openfoam-solving/221149-foam-fatal-io-error-cannot-find-patchfield-entry-naca6409_patch24311.html)

Pavlidis Chariton October 7, 2019 04:57

"FOAM FATAL IO ERROR: Cannot find patchField entry for NACA6409_patch24311"
 
Dear Foamers,

I made a case of the NACA_6409 Airfoil. As I run the solver, the error below has appeared;

FOAM FATAL IO ERROR:
Cannot find patchField entry for NACA6409_patch24311

I checked all the files in boundary conditions and especially in 0 folder and nothing seemed to be faulty in me. Below, you will find the blockesh.dict and the p file from the boundary conditions. I can't find where the problem is, so every help would be priceless.

Thank you very much !

blockMesh.dict

/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object blockMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

convertToMeters 0.01;

vertices
(
(-75 -10 210)//0
(315 -10 210)//1
(315 -10 -180)//2
(-75 -10 -180)//3

(-75 10 210)//4
(315 10 210)//5
(315 10 -180)//6
(-75 10 -180)//7
);

blocks
(
hex (0 1 2 3 4 5 6 7) (120 90 150)
simpleGrading
(
(
(0.05 10 20)//inflow
(0.14 10 1)//front_from_flap
(0.047 30 3)//flap
(0.71 40 1.2)//back_from_flap
(0.05 10 0.1)//outflow
)

(
(0.49 25 5)
(0.1 50 1)
(0.48 25 0.5)
)

(
(0.4 10 1)
(0.2 80 1)
(0.4 10 1)
)
)
);

edges
(
);

boundary
(
inlet
{
type patch;
faces
(
(0 3 7 4)
);
}
outlet
{
type patch;
faces
(
(1 2 6 5)
);
}
upperWall
{
type wall;
faces
(
(4 5 6 7)
);
}
lowerWall
{
type wall;
faces
(
(0 1 2 3)
);
}
rightWall
{
type symmetry;
faces
(
(0 1 5 4)
);
}
leftWall
{
type symmetry;
faces
(
(3 2 6 7)
);
}
);

mergePatchPairs
(
);

// ************************************************** *********************** //


p file (0/p)

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

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

internalField uniform 0;

boundaryField
{
inlet
{
type freestreamPressure;
freestreamValue $internalField;
}

outlet
{
type freestreamPressure;
freestreamValue $internalField;
}

upperWall
{
type zeroGradient;
}

lowerWall
{
type zeroGradient;
}

NACA6409
{
type zeroGradient;
}

rightWall
{
type symmetry;
}

leftWall
{
type symmetry;
}
}

// ************************************************** *********************** //


All times are GMT -4. The time now is 21:26.