error: 'Foam::T' does not have class type
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? |
Hi,
can you give us a hint on how T is defined? Thanks Kathrin |
Greetings to all!
Indeed, more information would clearly make it easier to help! Usually there are two kinds of "T" on OpenFOAM applications:
Best regards, Bruno |
Hi Bruno,
do you think it got mixed up? T.field() instead of field.T() possible.... Best Kathrin |
Hi Kathrin,
I'm almost betting on it being that issue. I saw this problem a week or so ago, where we were basing ourselves on the discontinued Programmers Guide and came to the conclusion that "Foam::T" was a must on an equation, because the "T" field already existed. Actually, I'm not even sure if "field.T()" still exists... Best regards, Bruno |
All times are GMT -4. The time now is 09:48. |