CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[blockMesh] "ill defined primitiveEntry starting at keyword Boundary .....

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 30, 2013, 23:58
Question "ill defined primitiveEntry starting at keyword Boundary .....
  #1
New Member
 
Joey
Join Date: Nov 2009
Location: Moscow, ID
Posts: 6
Rep Power: 17
Punt3r is on a distinguished road
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,
Punt3r is offline   Reply With Quote

Old   August 31, 2013, 03:20
Default
  #2
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,903
Rep Power: 37
ngj will become famous soon enoughngj will become famous soon enough
Good morning Joseph,

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

Kind regards,

Niels
__________________
Please note that I do not use the Friend-feature, so do not be offended, if I do not accept a request.
ngj is offline   Reply With Quote

Old   August 31, 2013, 18:15
Default
  #3
New Member
 
Joey
Join Date: Nov 2009
Location: Moscow, ID
Posts: 6
Rep Power: 17
Punt3r is on a distinguished road
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:rintStack(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...
Punt3r is offline   Reply With Quote

Old   June 12, 2016, 10:16
Default
  #4
Member
 
Fatemeh
Join Date: Dec 2015
Location: Isfahan,Iran
Posts: 39
Rep Power: 10
fatemehfarshi62 is on a distinguished road
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!
Attached Files
File Type: doc blockMeshDict.doc (151.0 KB, 15 views)
fatemehfarshi62 is offline   Reply With Quote

Reply

Tags
blockmeshdict, primitiveentry

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Centrifugal fan j0hnny CFX 13 October 1, 2019 14:55
Wrong flow in ratating domain problem Sanyo CFX 17 August 15, 2015 07:20
using METIS functions in fortran dokeun Main CFD Forum 7 January 29, 2013 05:06
[Gmsh] Import problem ARC OpenFOAM Meshing & Mesh Conversion 0 February 27, 2010 11:56
RPM in Wind Turbine Pankaj CFX 9 November 23, 2009 05:05


All times are GMT -4. The time now is 15:16.