CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Meshing & Mesh Conversion (https://www.cfd-online.com/Forums/openfoam-meshing/)
-   -   [blockMesh] "ill defined primitiveEntry starting at keyword Boundary ..... (https://www.cfd-online.com/Forums/openfoam-meshing/122899-ill-defined-primitiveentry-starting-keyword-boundary.html)

Punt3r August 30, 2013 23:58

"ill defined primitiveEntry starting at keyword Boundary .....
 
hello,

i am extremely new to OpenFOAM, im trying to make my first geometry and mesh using blockMesh. i just edited the blockMeshdict file from the cavity case for my geometry.
im trying to create a geometry for a simple 2D flat plate in laminar flow case
plate is 1m and the height of domain is 0.5m
-plate at the bottom, inlet on left , outlet to the right and farfield on top
if the errors seems very basic, plz forgive , this is only my 3 day on openFOAM

this is how i edited the blockmeshdict file -

convertToMeters 1;

vertices
(
(0 0 0)
(1 0 0)
(1 0.5 0)
(0 0.5 0)
(0 0 0.1)
(1 0 0.1)
(1 0.5 0.1)
(0 0.5 0.1)
);

blocks
(
hex (0 1 2 3 4 5 6 7) (50 60 1) simpleGrading (1 70 1)
);

edges
(
);

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

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

farfield
{
type symmetryPlane;
faces
(
(3 7 6 2)
);

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

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

mergePatchPairs
(
);

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


and this is the error i get...

--> FOAM FATAL IO ERROR:
"ill defined primitiveEntry starting at keyword 'boundary' on line 41 and ending at line 94"

file: /media/sf_OpenFOAM/flatplate/constant/polyMesh/blockMeshDict at line 94.

From function primitiveEntry::readEntry(const dictionary&, Istream&)
in file lnInclude/IOerror.C at line 132.

FOAM exiting


all help is greatly appreciated, thanks in advance,

ngj August 31, 2013 03:20

Good morning Joseph,

You are missing a curly bracket, }, at the end of your farfield definition.

Kind regards,

Niels

Punt3r August 31, 2013 18:15

Thank you., i knew it must be something stupidly simple like that.

it worked out well. so went ahead and setup the rest of the case. (by my understanding standards :( ) but now have run into a diff prob.

im trying to run the flat plate case using icoFoam for 1000 iterations with a deltaT of 0.01, so total 10 secs.
so my simulation runs until 1.66 secs i.e. 166 iterations. then at 1.67 i get the following error and dump msg.. ive included the msg frm 1.66 secs for ref if needed..

Time = 1.66

Courant Number mean: 1.03658e+89 max: 1.19227e+91
DILUPBiCG: Solving for Ux, Initial residual = 0.99532, Final residual = 15.6817, No Iterations 1001
DILUPBiCG: Solving for Uy, Initial residual = 0.998739, Final residual = 3.49624, No Iterations 1001
DICPCG: Solving for p, Initial residual = 1, Final residual = 7.47581, No Iterations 1001
time step continuity errors : sum local = 2.97164e+93, global = -1.6172e+91, cumulative = -1.61721e+91
DICPCG: Solving for p, Initial residual = 0.984306, Final residual = 3.82589, No Iterations 1001
time step continuity errors : sum local = 7.6204e+95, global = 2.29239e+93, cumulative = 2.27621e+93
ExecutionTime = 9.87 s ClockTime = 16 s


Time = 1.67

Courant Number mean: 1.5404e+96 max: 1.81873e+98
#0 Foam::error::printStack(Foam::Ostream&) in "/opt/openfoam221/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#1 Foam::sigFpe::sigHandler(int) in "/opt/openfoam221/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#2 in "/lib/x86_64-linux-gnu/libc.so.6"
#3 double Foam::sumProd<double>(Foam::UList<double> const&, Foam::UList<double> const&) in "/opt/openfoam221/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#4 Foam::PBiCG::solve(Foam::Field<double>&, Foam::Field<double> const&, unsigned char) const in "/opt/openfoam221/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#5
in "/opt/openfoam221/platforms/linux64GccDPOpt/bin/icoFoam"
#6
in "/opt/openfoam221/platforms/linux64GccDPOpt/bin/icoFoam"
#7
in "/opt/openfoam221/platforms/linux64GccDPOpt/bin/icoFoam"
#8
in "/opt/openfoam221/platforms/linux64GccDPOpt/bin/icoFoam"
#9 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#10
in "/opt/openfoam221/platforms/linux64GccDPOpt/bin/icoFoam"
Floating point exception (core dumped)


I apologize if its again something stupid. like i mentioned in my previous post, im very new and trying to learn on my own... im not completely confident about my case setup also.

Thanks a lot and i appreciate your time... :D

fatemehfarshi62 June 12, 2016 10:16

1 Attachment(s)
Hi every one!
Would any one please help me with similar problem?
I have attached my blockMesh file and have an error like the following when running blockMesh:
--> FOAM FATAL IO ERROR:
"ill defined primitiveEntry starting at keyword 'blocks' on line 299 and ending at line 1753"

Thanks!


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