|
[Sponsors] |
![]() |
![]() |
#1 |
New Member
hossein
Join Date: Dec 2010
Posts: 12
Rep Power: 16 ![]() |
Hi to all
can anybody help me and translate these lines for me: void Foam: ![]() { label keywordLineNumber = is.lineNumber(); tokenIndex() = 0; if (read(dict, is)) { setSize(tokenIndex()); tokenIndex() = 0; } else { FatalIOErrorIn ( "primitiveEntry::readEntry(const dictionary&, Istream&)", is ) << "ill defined primitiveEntry starting at keyword '" << keyword() << '\'' << " on line " << keywordLineNumber << " and ending at line " << is.lineNumber() << exit(FatalIOError); } } i have compiled a new solver but when i try it i get the message: ill defined primitiveEntry starting at keyword DT at line... . does anybody know the reason? |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
Fabian Roesler
Join Date: Mar 2009
Location: Germany
Posts: 213
Rep Power: 19 ![]() |
Hello hossein.mashhadi
I would say the solver can't read the transport properties dictionary. This can have many reasons. Maybe you lack the property DT totally or there is a mistake in the writing of the numbers e.g. comma instead of point as decimal separator. It can although be the unit. Check the dictionary once again. Hope this will bring the solution. Regards Fabian |
|
![]() |
![]() |
![]() |
![]() |
#3 |
New Member
hossein
Join Date: Dec 2010
Posts: 12
Rep Power: 16 ![]() |
Dear Fabian
i taught the reason may be same as these, i have checked all these but none of them was wrong. thanks for your reply. |
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
nonNewtonian viscosity model | mhassani | OpenFOAM Programming & Development | 5 | January 7, 2013 09:27 |
Accessing phi from a fvPatchField at same patch | johndeas | OpenFOAM | 1 | September 13, 2010 20:23 |
[swak4Foam] groovyBC: problems compiling: "flex: not found" and "undefined reference to ..." | sega | OpenFOAM Community Contributions | 12 | February 17, 2010 09:30 |
Problem with compile the setParabolicInlet | ivanyao | OpenFOAM Running, Solving & CFD | 6 | September 5, 2008 20:50 |
Problems of Duns Codes! | Martin J | Main CFD Forum | 8 | August 14, 2003 23:19 |