CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Native Meshers: blockMesh

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

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

Reply
 
LinkBack Thread Tools Display Modes
Old   August 30, 2013, 22:58
Question "ill defined primitiveEntry starting at keyword Boundary .....
  #1
New Member
 
Joey
Join Date: Nov 2009
Location: Moscow, ID
Posts: 6
Rep Power: 7
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, 02:20
Default
  #2
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Deltares, Delft, The Netherlands
Posts: 1,619
Rep Power: 25
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, 17:15
Default
  #3
New Member
 
Joey
Join Date: Nov 2009
Location: Moscow, ID
Posts: 6
Rep Power: 7
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

Reply

Tags
blockmeshdict, primitiveentry

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
using METIS functions in fortran dokeun Main CFD Forum 7 January 29, 2013 05:06
CFX does not continue Shafiul CFX 10 February 17, 2011 08:57
Import problem ARC Open Source Meshers: Gmsh, Netgen, CGNS, ... 0 February 27, 2010 11:56
Please help, Error: No FSIN boundary conditions defined in the model. cfxuser1 CFX 1 April 29, 2009 15:36


All times are GMT -4. The time now is 19:48.