CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   Changing code from OF 1.3 to OF 1.5 (https://www.cfd-online.com/Forums/openfoam/71807-changing-code-1-3-1-5-a.html)

ICL January 15, 2010 07:25

Changing code from OF 1.3 to OF 1.5
 
Hi guyz,

I am trying to compile a code which was written for OF 1.3. The following line does not match in OF 1.5:
mesh.boundary()[patchI].nf()[faceI]
and comes up with:
error: no match for ‘operator[]’ in ‘Foam::fvPatch::nf() const()[faceI]’

Any idea?

Thanks,

ICL January 18, 2010 12:49

I don`t understand the fact that it does not work with nf, is it taking the perpendicular vector? can any one help on this?
Thanks,


All times are GMT -4. The time now is 17:36.