|
[Sponsors] |
July 20, 2017, 08:04 |
adding thermal equation
|
#1 |
New Member
Arash
Join Date: Mar 2017
Posts: 11
Rep Power: 9 |
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 |
|
July 20, 2017, 08:09 |
|
#2 |
Member
Brian Willis
Join Date: Mar 2011
Location: Cape Town, South Africa
Posts: 58
Rep Power: 15 |
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.
|
|
July 20, 2017, 08:15 |
|
#3 |
New Member
Arash
Join Date: Mar 2017
Posts: 11
Rep Power: 9 |
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 |
|
July 20, 2017, 08:17 |
|
#4 |
Member
Brian Willis
Join Date: Mar 2011
Location: Cape Town, South Africa
Posts: 58
Rep Power: 15 |
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.
|
|
July 20, 2017, 08:33 |
|
#5 |
New Member
Arash
Join Date: Mar 2017
Posts: 11
Rep Power: 9 |
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,
|
|
|
|
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 |