CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Pre-Processing (
-   -   Our own viscositymodel (

T.D. September 29, 2010 10:57

Our own viscositymodel
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

All times are GMT -4. The time now is 22:31.