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

Our own viscositymodel

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 29, 2010, 10:57
Post Our own viscositymodel
  #1
Senior Member
 
Join Date: Sep 2010
Posts: 226
Rep Power: 16
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 Search this Thread
Search this Thread:

Advanced Search
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 Off
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 20 April 10, 2017 22:44
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 07:40.