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

Please help see this errors

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

Reply
 
LinkBack Thread Tools Display Modes
Old   December 9, 2005, 12:15
Default Dear All, I want to change
  #1
Senior Member
 
Guoxiang
Join Date: Mar 2009
Posts: 109
Rep Power: 8
liugx212 is on a distinguished road
Dear All,

I want to change the "nu" for each cell and I add the code to icoFoam.C, but a error is here. Could you help me for this?

93: volScalarField& nuInternal = nu.internalField();

icoFoam.C:93: error: 'struct Foam::dimensionedScalar' has no member named 'internalField'

Thanks deeply,
Guoxiang
liugx212 is offline   Reply With Quote

Old   December 9, 2005, 13:24
Default Its' because nu is defined as
  #2
Super Moderator
 
niklas's Avatar
 
Niklas Nordin
Join Date: Mar 2009
Location: Stockholm, Sweden
Posts: 693
Rep Power: 20
niklas will become famous soon enoughniklas will become famous soon enough
Its' because nu is defined as a constant, replace the creation of nu with a volScalarField.

... and you should really try to come up with more approapriate headlines.

N
niklas is offline   Reply With Quote

Old   December 9, 2005, 13:34
Default Dear Niklas Nordin: Thanks
  #3
Senior Member
 
Guoxiang
Join Date: Mar 2009
Posts: 109
Rep Power: 8
liugx212 is on a distinguished road
Dear Niklas Nordin:

Thanks for your help.

Since I am a new learner, I do not understand well you meaning ("Its' because nu is defined as a constant, replace the creation of nu with a volScalarField."). Could you please give more explanations?

Thanks deeply,
Guoxiang
liugx212 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
what are these errors mean? dongtao FLUENT 4 March 12, 2006 03:09
pro-am errors azmir CD-adapco 8 January 24, 2006 05:08
errors? varshavian FLUENT 2 December 20, 2002 10:00
What's these errors for ? Jie FLUENT 1 September 17, 2001 02:36
Errors in CFD Lily Kabanj FLUENT 8 May 1, 2000 07:52


All times are GMT -4. The time now is 20:47.