|
[Sponsors] | |||||
|
|
|
#1 |
|
Senior Member
Join Date: Sep 2010
Location: Nice (Fr)
Posts: 156
Rep Power: 4 ![]() |
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 |
|
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
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 |