CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   ali (https://www.cfd-online.com/Forums/openfoam/248371-ali.html)

Alireza Zamani March 11, 2023 14:43

ali
 
Hi I ran my programme and this message keeps coming up
FOAM FATAL IO ERROR:
"ill defined primitiveEntry starting at keyword 'type' on line 46 and ending at line 52"

file: /home/ali/Desktop/conduit/0/p at line 52.
can anybody help me with that please?
This is my blockMeshDict:
convertToMeters 1;

vertices
(
(0 0 0)
(2 0 0)
(2 0.5 0)
(0 0.5 0)
(0 0 0.1)
(2 0 0.1)
(2 0.5 0.1)
(0 0.5 0.1)

);

blocks
(
hex (0 1 2 3 4 5 6 7) (100 100 1) simpleGrading (1 1 1)

);

edges
(
);

boundary
(
inlet
{
type patch;
faces
(
(0 4 7 3)
);
}

outlet
{
type patch;
faces
(
(2 6 5 1)
);
}

top
{
type wall;
faces
(
(3 7 6 2)
);
}

bottom
{
type wall;
faces
(
(1 5 4 0)
);
}

frontAndBack
{
type empty;
faces
(
(0 3 2 1)
(4 5 6 7)
);
}
);


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


All times are GMT -4. The time now is 07:09.