We have developed a numerical method to evaluate behaviors of the cavitating bubbles based on the recent CFD (computational fluid dynamics) techniques. The method employs a finite-volume method combined with the high order and flexible interpolation scheme, CIVA. Two kinds of fluid behaviors, liquid (incompressible) and gas (compressible), are simultaneously computed by the unified scheme, CUP, which can handle the large density ratio (especially in case of mercury) associated with cavitation. By combining it with a new numerical cavitation model, which takes into account of compressibility of gas, good numerical results of water and mercury can be obtained._