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

adding thermal equation

Register Blogs Community New Posts Updated Threads Search

Like Tree3Likes
  • 1 Post By Dipsomaniac
  • 1 Post By Dipsomaniac
  • 1 Post By rafiee.ad

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 20, 2017, 08:04
Default adding thermal equation
  #1
New Member
 
rafiee.ad's Avatar
 
Arash
Join Date: Mar 2017
Posts: 11
Rep Power: 9
rafiee.ad is on a distinguished road
Hi foamers,
I've used below link to add thermal transport equation to icoFoam solver, but when I used developed solver for mentioned example in the link, I encountered this error " ill defined primitiveEntry starting at keyword ' 0.002 ' on line 23 and ending at line 23".
I would be so grateful if you could help me to solve this issue.
Regards,
http://openfoamwiki.net/index.php/Ho...ure_to_icoFoam
rafiee.ad is offline   Reply With Quote

Old   July 20, 2017, 08:09
Default
  #2
Member
 
Brian Willis
Join Date: Mar 2011
Location: Cape Town, South Africa
Posts: 58
Rep Power: 15
Dipsomaniac is on a distinguished road
You will need to give more info on the error, such as in which file/dictionary was the error found, and then also post the text from that file. It is usually just a typographical kind of error.
rafiee.ad likes this.
Dipsomaniac is offline   Reply With Quote

Old   July 20, 2017, 08:15
Default
  #3
New Member
 
rafiee.ad's Avatar
 
Arash
Join Date: Mar 2017
Posts: 11
Rep Power: 9
rafiee.ad is on a distinguished road
the complete error message is:

--> FOAM FATAL IO ERROR:
"ill defined primitiveEntry starting at keyword ' 0.002 ' on line 23 and ending at line 23"

file: /home/arash/Desktop/cavity/constant/transportProperties at line 23.

From function void Foam:rimitiveEntry::readEntry(const Foam::dictionary&, Foam::Istream&)
in file db/dictionary/primitiveEntry/primitiveEntryIO.C at line 189.

FOAM exiting
rafiee.ad is offline   Reply With Quote

Old   July 20, 2017, 08:17
Default
  #4
Member
 
Brian Willis
Join Date: Mar 2011
Location: Cape Town, South Africa
Posts: 58
Rep Power: 15
Dipsomaniac is on a distinguished road
The error is in your transportProperties dictionary. You may have just missed a semicolon ; after the 0.002. I assume that is where you set DT? Upload your transportProperties dictionary if that doesn't sort the problem out.
rafiee.ad likes this.
Dipsomaniac is offline   Reply With Quote

Old   July 20, 2017, 08:33
Default
  #5
New Member
 
rafiee.ad's Avatar
 
Arash
Join Date: Mar 2017
Posts: 11
Rep Power: 9
rafiee.ad is on a distinguished road
Thank you very much for your great help,
I've just understood that when I entered the value for "DT", my system language was not in English, and the value was entered after semicolon, I noticed this problem when I used another text editor.
Best regards,
Dipsomaniac likes this.
rafiee.ad 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
Compression stoke is giving higher pressure than calculated nickjuana CFX 62 May 19, 2015 14:32
problem about adding another equation of state yhaomin2007 OpenFOAM 4 May 16, 2012 05:36
Adding implicit source term to momentum equation fs82 OpenFOAM 6 September 23, 2009 04:29
Two-Phase Buoyant Flow Issue Miguel Baritto CFX 4 August 31, 2006 13:02
Info: Short Course On Thermal Design of Electronic Equipment Arnold Free Main CFD Forum 0 August 10, 1999 11:18


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