CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   "ill defined primitiveEntry starting at keyword Boundary ....." (https://www.cfd-online.com/Forums/openfoam/252727-ill-defined-primitiveentry-starting-keyword-boundary.html)

evelynalvarado November 1, 2023 13:08

"ill defined primitiveEntry starting at keyword Boundary ....."
 
Hi everyone! Im currently new at blockmesh and i keep getting this error message: "ill defined primitiveEntry starting at keyword Boundary ....."

I've seen most of the solutions to this error are related to syntax mistakes but even though i checked i can't find any so please feel free to let me know if you find one. Thanks in advance!



boundary
(
atmosphere
{
type patch;
faces
(
(16 17 18 19)
(28 29 30 31)
(40 41 42 43)
(52 53 54 55)
(64 65 66 67)
);
}
inlet
{
type patch;
faces
(
(44 47 51 48)
(48 51 55 52)
);
}
outlet
{
type patch;
faces
(57 58 62 61)
(61 62 66 65)
);
}
bottom
{
type symmetryPlane;
faces
(
(8 9 10 11)
(20 21 22 23)
(32 33 34 35)
(44 45 46 47)
(56 57 58 59)
);
}
side
{
type symmetry;
faces
(
(8 9 13 12)
(11 10 14 15)
(12 13 17 16)
(15 14 18 19)
(20 21 25 24)
(23 22 26 27)
(24 25 29 28)
(27 26 30 31)
(32 33 37 36)
(35 34 38 39)
(36 37 41 40)
(39 38 42 43)
(44 45 49 48)
(47 46 50 51)
(48 49 53 52)
(51 50 54 55)
(56 57 61 60)
(58 59 62 63)
(60 61 65 64)
(63 62 66 67)
);
}
midPlane
{
type symmetry;
faces
(
(12 13 14 15)
(24 25 26 27)
(36 37 38 39)
(48 49 50 51)
(60 61 62 63)
);
}
);

Yann November 2, 2023 03:37

Hello,

There is one bracket missing at the beginning of the outlet patch faces definition:

Code:

outlet
        {
                type patch;
                faces
                (
                        (57 58 62 61)
                        (61 62 66 65)
                );
        }


On a side note: this kind of error could also be related to a syntax error before the boundary section. So don't forget to check for typos elsewhere in the file, and preferably post the whole file if you need help.

Cheers,
Yann

evelynalvarado November 2, 2023 09:01

Quote:

Originally Posted by Yann (Post 859338)
Hello,

There is one bracket missing at the beginning of the outlet patch faces definition:

Code:

outlet
        {
                type patch;
                faces
                (
                        (57 58 62 61)
                        (61 62 66 65)
                );
        }


On a side note: this kind of error could also be related to a syntax error before the boundary section. So don't forget to check for typos elsewhere in the file, and preferably post the whole file if you need help.

Cheers,
Yann

Ohh. That was the typo that was giving me the error! Thank you!!! :D


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