|
[Sponsors] |
April 20, 2010, 12:58 |
Add additional scalar to turbulence model
|
#1 |
New Member
John Weaver
Join Date: Mar 2009
Posts: 6
Rep Power: 17 |
I am in the process of modifying one of the compressible turbulence models (k-omega SST) to utilize a variable Prandtl number. As Prt is a function of kinematic eddy viscosity and the thermal diffusivity (alphat_), it is first necessary to calculate local values of alphat_. To do this, it is necessary to have access to the scalar temperature.
In order to do this, I have added the following lines to my modified version of the k-Omega SST turbulence model header file //- Return the temperature virtual tmp<volScalarField> thermophysicalModel_.T() const { return T_; } However, this addition causes a compilation error - error: ‘thermophysicalModel_’ declared as a ‘virtual’ field How should this field be declared? I have wondered if it is necessary to also add an additional expression to the turbulenceModel.H base class as well? If so, what might that expression be? Any thoughts here would be much appreciated. Thanks in advance, John |
|
December 23, 2010, 13:45 |
|
#2 |
Member
Join Date: Nov 2010
Posts: 54
Rep Power: 16 |
Hi
Does anyone know how to implement variable Prandtl number? Thanks, gk |
|
Tags |
scalar, turbulence model |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
question about turbulence model selection and sensitivity | karananand | Main CFD Forum | 1 | February 26, 2010 05:41 |
Discussion: Reason of Turbulence!! | Wen Long | Main CFD Forum | 3 | May 15, 2009 10:52 |
Turbulence model | Herry | Phoenics | 1 | May 29, 2003 14:19 |
turbulence model question | Jason Wei | Main CFD Forum | 1 | May 6, 2003 01:45 |
Why Turbulence models are not universal. | Senthil | Main CFD Forum | 4 | July 5, 2000 05:34 |