CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Running, Solving & CFD

icoFoam: ill defined primitiveEntry starting at Keyword 'value'

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

Reply
 
LinkBack Thread Tools Display Modes
Old   December 19, 2015, 02:14
Default icoFoam: ill defined primitiveEntry starting at Keyword 'value'
  #1
New Member
 
sina
Join Date: Mar 2015
Posts: 16
Rep Power: 2
sinatahmooresi is on a distinguished road
Hi friends!
I am modeling a very simple example of laminar flow using OpenFoam.
there is no problem in blockMesh. but when I type "icoFoam" to solve the problem, solver stops when is reading the "U field" the error is :
ill defined primitiveEntry starting at Keyword 'value' on line ....
I've seen this message before, cause of bad definition in using small and capital letter in typing the words. but here there is no such problem I guess!
all the best!
sinatahmooresi is offline   Reply With Quote

Old   December 19, 2015, 15:53
Default
  #2
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 9,215
Blog Entries: 35
Rep Power: 94
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Quick answer: icoFoam is telling you something is wrong with the line that has a broken "value" description/definition. If you do not show us what that line has got, we cannot diagnose the problem either. Therefore, we also cannot see what you are not seeing.
__________________
___
I'll be at OFW11 in Portugal
wyldckat is offline   Reply With Quote

Old   December 19, 2015, 16:15
Default
  #3
New Member
 
sina
Join Date: Mar 2015
Posts: 16
Rep Power: 2
sinatahmooresi is on a distinguished road
the contents of U file that icoFoam exiting when is reading that, are:
...
boundryField
{
fixedwalls
{
type fixedValue;
value uniform(0 0 0);
}

inlet
{
type fixedValue;
value uniform(1 0 0);
}
.
.
.
that was the part contain of "value" word

all the best
sinatahmooresi is offline   Reply With Quote

Old   December 19, 2015, 16:55
Default
  #4
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 9,215
Blog Entries: 35
Rep Power: 94
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Quote:
Originally Posted by sinatahmooresi View Post
boundryField
{
fixedwalls
{
type fixedValue;
value uniform(0 0 0);
}

inlet
{
type fixedValue;
value uniform(1 0 0);
}
.
.
.
Quick answer: There are two flaws:
  1. "boundryField" is incorrect, it should be "boundaryField". But I'm guessing you typed this manually when posting here
  2. If you didn't mistype here, then this line is incorrect:
    Code:
    value      uniform(1 0 0);
    There is a missing space and should be this:
    Code:
    value      uniform (1 0 0);
    Notice the space between "uniform" and "(".
Always keep in mind that when it comes to OpenFOAM, every single detail, no matter how small, is more important than you might want to believe!
wyldckat is offline   Reply With Quote

Old   December 20, 2015, 15:14
Default
  #5
New Member
 
sina
Join Date: Mar 2015
Posts: 16
Rep Power: 2
sinatahmooresi is on a distinguished road
thank u very much!
that was correct, my fault was that missing space between uniform and (0 0 0)
all the best
sinatahmooresi is offline   Reply With Quote

Reply

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
bscw cgns wing kocjH SU2 2 February 20, 2015 06:21
big difference between clockTime and executionTime LM4112 OpenFOAM Running, Solving & CFD 20 February 19, 2014 08:20
ill defined primitive entry 'boundary' francisco.angel OpenFOAM Pre-Processing 6 December 10, 2013 12:45
"ill defined primitiveEntry starting at keyword Boundary ..... Punt3r OpenFOAM Native Meshers: blockMesh 2 August 31, 2013 17:15
Finally starting to explore OpenFOAM, questions on icoFoam solver... JasonG OpenFOAM Running, Solving & CFD 20 July 11, 2012 20:08


All times are GMT -4. The time now is 06:46.