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

Our own viscositymodel

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

Reply
 
LinkBack Thread Tools Display Modes
Old   September 29, 2010, 10:57
Post Our own viscositymodel
  #1
Senior Member
 
Join Date: Sep 2010
Location: France
Posts: 161
Rep Power: 5
T.D. is on a distinguished road
Hi Foamers,

the problem is how to add the Field "T" to an existing viscosityModel.

I found in the threads that we need to add the code:

const volScalarField& T = U_.mesh().lookupObject<volscalarField>("T");

But where to add it exactly please? its not clear?

and in Private member Functions when calculating and returning the new calcNu() const

how must we use T in which form "T" or "T_", what is the difference?

thanks a lot
T.D. 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
Adding a new viscosity model ICL OpenFOAM Running, Solving & CFD 16 January 8, 2013 03:19
How to modify the viscosity model mpml OpenFOAM Running, Solving & CFD 4 October 13, 2010 07:44
Adding a new temperature dependent viscositymodel? dgadensg OpenFOAM Programming & Development 10 May 22, 2010 05:47
How can i add the Temp.parameter in viscositymodel? zhang OpenFOAM 0 May 22, 2009 05:22


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