
As discussed in Section 11.2.1, the sliding mesh model allows adjacent grids to slide relative to one another. In doing so, the grid faces do not need to be aligned on the grid interface. This situation requires a means of computing the flux across the two nonconformal interface zones of each grid interface.
To compute the interface flux, the intersection between the interface zones is determined at each new time step. The resulting intersection produces one interior zone (a zone with fluid cells on both sides) and one or more periodic zones. If the problem is not periodic, the intersection produces one interior zone and a pair of wall zones (which will be empty if the two interface zones intersect entirely), as shown in Figure 11.2.10. (You will need to change these wall zones to some other appropriate boundary type.) The resultant interior zone corresponds to where the two interface zones overlap; the resultant periodic zone corresponds to where they do not. The number of faces in these intersection zones will vary as the interface zones move relative to one another. Principally, fluxes across the grid interface are computed using the faces resulting from the intersection of the two interface zones, rather than from the interface zone faces themselves.
In the example shown in Figure 11.2.11, the interface zones are composed of faces AB and BC, and faces DE and EF. The intersection of these zones produces the faces ad, db, be, etc. Faces produced in the region where the two cell zones overlap (db, be, and ec) are grouped to form an interior zone, while the remaining faces (ad and cf) are paired up to form a periodic zone. To compute the flux across the interface into cell IV, for example, face DE is ignored and faces db and be are used instead, bringing information into cell IV from cells I and III, respectively.