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

ill defined diffusivity coefficient error

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 19, 2011, 10:43
Default ill defined diffusivity coefficient error
  #1
New Member
 
hossein
Join Date: Dec 2010
Posts: 12
Rep Power: 16
hossein.mashhadi is on a distinguished road
Hi to all

can anybody help me and translate these lines for me:

void Foam:rimitiveEntry::readEntry(const dictionary& dict, Istream& is)
{
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?
hossein.mashhadi is offline   Reply With Quote

Old   April 19, 2011, 12:02
Default ill defined diffusivity coefficient error
  #2
Senior Member
 
Fabian Roesler
Join Date: Mar 2009
Location: Germany
Posts: 213
Rep Power: 18
fabian_roesler is on a distinguished road
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
fabian_roesler is offline   Reply With Quote

Old   April 19, 2011, 13:37
Default
  #3
New Member
 
hossein
Join Date: Dec 2010
Posts: 12
Rep Power: 16
hossein.mashhadi is on a distinguished road
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.
hossein.mashhadi 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
nonNewtonian viscosity model mhassani OpenFOAM Programming & Development 5 January 7, 2013 10:27
Accessing phi from a fvPatchField at same patch johndeas OpenFOAM 1 September 13, 2010 21:23
[swak4Foam] groovyBC: problems compiling: "flex: not found" and "undefined reference to ..." sega OpenFOAM Community Contributions 12 February 17, 2010 10:30
Problem with compile the setParabolicInlet ivanyao OpenFOAM Running, Solving & CFD 6 September 5, 2008 21:50
Problems of Duns Codes! Martin J Main CFD Forum 8 August 15, 2003 00:19


All times are GMT -4. The time now is 00:08.