Phase diagram can be constructed that show the effect of more than two variables on the phase of a substance. Phase diagrams can use other variables in addition to or in place of temperature, pressure and composition, for example the strength of an applied electrical or magnetic field, and they can also involve substances that take on more than just three states of matter. One type of phase diagram plots temperature against the relative concentrations of two substances in a mixture called a "binary phase diagram", as shown at right. Such a mixture can be either a solid solution, eutectic or peritectic,
Cavitation modelling on the bubbles. Discrete bubble models, e.g. the Rayleigh-Plesset, Gilmore and Keller-Miksis, describe the relation between the external pressure, bubble radius and the velocity and acceleration of the bubble wall. Two-phase modeling is the modelling of the two phases, as in a free surface code. Two common types of two phase models are "homogeneous mixture models" and "sharp interface models". The difference between both the models is in the treatment of the contents of cells containing both phases. Most recent cavitation modelling efforts have used homogeneous mixture models, in which the contents of individual cells are assumed to be uniform.