question about pointScalarField.
volScalarField can do this work successfully.
//- pesudo code
Info << T.boundaryField()[patchID][i] << endl;
but, for pointScalarField, it failed
Info << ppT.boundaryField()[patchID][i] << endl;
I wonder why it failed. why OpenFOAM don't make pointScalarField has the same feature that volScalarField has.
Any suggestion is welcome!
Can you post the error you get so we can see what's going wrong exactly?
error: invalid types ‘<unresolved overloaded function type>[int]’ for array subscript
It seems pointScalarField does not support this feature, but for volScalarField work fine.
|All times are GMT -4. The time now is 19:06.|