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

icoFoam: ill defined primitiveEntry starting at Keyword 'value'

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By wyldckat

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 19, 2015, 02:14
Default icoFoam: ill defined primitiveEntry starting at Keyword 'value'
  #1
Senior Member
 
CFD_Lovers
Join Date: Mar 2015
Posts: 168
Rep Power: 11
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
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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.
__________________
wyldckat is offline   Reply With Quote

Old   December 19, 2015, 16:15
Default
  #3
Senior Member
 
CFD_Lovers
Join Date: Mar 2015
Posts: 168
Rep Power: 11
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
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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!
reza2031 likes this.
wyldckat is offline   Reply With Quote

Old   December 20, 2015, 15:14
Default
  #5
Senior Member
 
CFD_Lovers
Join Date: Mar 2015
Posts: 168
Rep Power: 11
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


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
ill defined primitive entry 'boundary' francisco.angel OpenFOAM Pre-Processing 16 September 8, 2022 07:11
big difference between clockTime and executionTime LM4112 OpenFOAM Running, Solving & CFD 21 February 15, 2019 04:05
bscw cgns wing kocjH SU2 3 May 16, 2017 03:56
[blockMesh] "ill defined primitiveEntry starting at keyword Boundary ..... Punt3r OpenFOAM Meshing & Mesh Conversion 3 June 12, 2016 10:16
Finally starting to explore OpenFOAM, questions on icoFoam solver... JasonG OpenFOAM Running, Solving & CFD 20 July 11, 2012 21:08


All times are GMT -4. The time now is 23:57.