Patent ID: 8428922

Claim:
A non-transitory computer-readable medium encoded with instructions for a processor to perform a method for simulating a system in a simulation space comprising: instructions for dividing the simulation space into a plurality of quadrilateral grids, including a first grid having a first number of meshes along a vertical axis of the simulation space, and a second grid adjacent to the first grid, the second grid having twice the first number of meshes along the vertical axis of the simulation space; instructions for identifying a first cell and a fourth cell in the first grid, and for identifying a second cell, a third cell, a fifth cell and a sixth cell in the second grid, wherein: a first node is located at an intersection of the first, third, fourth and fifth cell, a first segment defines a boundary between the first cell and the second cell and between the first cell and the third cell, and a second segment defines a boundary between the fourth cell and fifth cell and between the fourth cell and the sixth cell; instructions for evaluating, using a finite element projection, a system variable associated with the first node using a testing function extending through a first area encompassing: the first, second, third, fourth, fifth, and sixth cell; and an interpolation function extending through a second area encompassing the first, third, fourth and fifth cell.