CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   LESModel is not a member of compressible? (http://www.cfd-online.com/Forums/openfoam/70717-lesmodel-not-member-compressible.html)

icream4236 December 3, 2009 12:05

LESModel is not a member of compressible?
 
I am doing an evoluzione solver in OpenFOAM-1.6
And I make definition of a turbulence pointer like this

Info << "Creating turbulence model.\n" << endl;
autoPtr<compressible::LESModel> turbulence
(
compressible::LESModel::New
(
rho,
U,
phi,
thermo
)
);

But it is very strange, there comes error like

createFields.H:87: error: ‘LESModel’ is not a member of ‘Foam::compressible’
createFields.H:87: error: ‘LESModel’ is not a member of ‘Foam::compressible’

I don't understand why, cause LESModel is a class defined in compressible. and it should be accessed by Foam::compressible::LESModel

And I used to run the same stuff in OpenFOAM-1.5, but there is no error like this..

Is there any difference between 1.5 and 1.6 for LESModel? What should I do?

icream4236 December 4, 2009 08:16

Help,help,help!!!!!!!!!!!!!!!!!


All times are GMT -4. The time now is 16:14.