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

ill defined diffusivity coefficient error

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   April 19, 2011, 09:43
Default ill defined diffusivity coefficient error
  #1
New Member
 
hossein
Join Date: Dec 2010
Posts: 14
Rep Power: 6
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, 11:02
Default ill defined diffusivity coefficient error
  #2
Senior Member
 
fabian_roesler's Avatar
 
Fabian Roesler
Join Date: Mar 2009
Location: Bad Friedrichshall, Germany
Posts: 156
Rep Power: 8
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, 12:37
Default
  #3
New Member
 
hossein
Join Date: Dec 2010
Posts: 14
Rep Power: 6
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

Thread Tools
Display Modes

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 On
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 20:23
groovyBC sega OpenFOAM Running, Solving & CFD 12 February 17, 2010 10: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


All times are GMT -4. The time now is 18:04.