COMP: avoid ambiguous construct from tmp - utils/ pre+post processing

This commit is contained in:
Mark Olesen
2010-12-20 10:37:17 +01:00
parent 25951c0f74
commit a3788fe854
11 changed files with 48 additions and 42 deletions

View File

@ -61,13 +61,13 @@ int main(int argc, char *argv[])
// Cache the turbulence fields
Info<< "\nRetrieving field k from turbulence model" << endl;
const volScalarField k = RASModel->k();
const volScalarField k(RASModel->k());
Info<< "\nRetrieving field epsilon from turbulence model" << endl;
const volScalarField epsilon = RASModel->epsilon();
const volScalarField epsilon(RASModel->epsilon());
Info<< "\nRetrieving field R from turbulence model" << endl;
const volSymmTensorField R = RASModel->R();
const volSymmTensorField R(RASModel->R());
// Check availability of tubulence fields