|April 20, 2010, 11:58||
Add additional scalar to turbulence model
Join Date: Mar 2009
Posts: 6Rep Power: 10
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
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,
|scalar, turbulence model|
|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 09:52|
|Turbulence model||Herry||Phoenics||1||May 29, 2003 13:19|
|turbulence model question||Jason Wei||Main CFD Forum||1||May 6, 2003 00:45|
|Why Turbulence models are not universal.||Senthil||Main CFD Forum||4||July 5, 2000 04:34|