Patent ID: 7117138

Claim:
A method for simulating and analyzing two-phase fluid flow through at least a portion of, and ejection from, a channel through at least the portion of which an interface between a first fluid in a first phase and a second fluid in a second phase moves, the method comprising the steps of: (a) performing finite difference analysis, with reference to both a quadrilateral grid in a physical space and a uniform square grid in a computational space, equations governing two-phase fluid flow including a level set convection equation having a level set function for the flow of the first and second fluids through at least the portion of the channel, the level set function taking into consideration the effect of the interface as it moves through at least the portion of the channel, wherein the equations are first derived for the quadrilateral grid in the physical space and then transformed to the computational space for application on the uniform square grid on which the equations are solved; and (b) simulating the flow of the first fluid through at least the portion of, and ejection from, the channel based on the performed finite difference analysis.