|
[Sponsors] |
February 20, 2012, 19:25 |
error: 'Foam::T' does not have class type
|
#1 |
Member
Join Date: Feb 2012
Posts: 59
Rep Power: 14 |
double ptr_temp[OF_nCells];
for (int i=0; i<OF_nCells; i++) ptr_temp[i] = T.field()[i]; The above is working well in OpenFOAM 1.5. But it doesn't work in OF 1.7 and an error occurs as, solver_data.H:8:18: error: 'Foam::T' does not have class type any idea about this problem? |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
boundary conditions for simpleFoam calculation | foam_noob | OpenFOAM Running, Solving & CFD | 8 | July 1, 2015 08:07 |
Pressure instability with rhoSimpleFoam | daniel_mills | OpenFOAM Running, Solving & CFD | 44 | February 17, 2011 17:08 |
Flow Around a Cylinder | ronaldo | OpenFOAM | 5 | September 18, 2009 08:13 |
Problem with compile the setParabolicInlet | ivanyao | OpenFOAM Running, Solving & CFD | 6 | September 5, 2008 20:50 |
Errors running allwmake in OpenFOAM141dev with WM_COMPILE_OPTION%3ddebug | unoder | OpenFOAM Installation | 11 | January 30, 2008 20:30 |