|
[Sponsors] |
September 29, 2010, 10:57 |
Our own viscositymodel
|
#1 |
Senior Member
Join Date: Sep 2010
Posts: 226
Rep Power: 16 |
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 |
|
|
|
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 |