The body-fitted-coordinate geometrical variables which can be accessed from GROUND are those in the GRDBFC COMMON block BFCINT.
The zero-location indices of all these variables are stored in the array L0B(106), which also appears in the file GRDBFC.
The majority of BFC geometrical variables are stored in the same manner as whole-field solver variables, ie in segments NX*NY*NZ long. Therefore, the value of, say, the east projected area at cell IX, IY and IZ is given by:
The cell-corner coordinates, namely XCORNR, YCORNR, ZCORNR, and (for the earlier time interval) XCORNO, YCORNO and ZCORNO, are also stored in continuous segments of the F-array; but the length of each segment is: (NX+1)*(NY+1)*(NZ+1).
The reason is that, the convention being that the stored coordinates are those of the low-south-west corners, an extra location is needed in order that the corners on the high, north and east faces should also be stored. Thus, where NX, NY and NZ all equal to unity, there would still be a necessity to store the coordinates of eight corner points, in order to describe the cell.
To facilitate access to the corner coordinates, the following INTEGER FUNCTIONs are provided:
and corresponding ones for YC, ZC, XCO, YCO and ZCO.
Also available for calling by the user are, among other subroutines: