A CFD (computational fluid dynamics) analysis to investigate the effects of the installation of a barrier in a hydrogen refueling station (HRS) mock-up facility, with a dummy vehicle and dispensers in the vapor cloud region, during a hydrogen-air explosion using a gas mixture volume of 70.16 m3 was conducted to determine whether the radXiFoam v2.0 code with the established analysis methodology to predict the peak overpressure can be utilized to evaluate the safety of a HRS with such a barrier installed in a large city in the Republic of Korea. The radXiFoam v2.0 code was developed on the basis of the XiFoam solver in the open-source CFD software OpenFOAM-v2112 by modifying C++ source codes in several libraries and governing equations so as to ensure effective calculations of the hydrogen-air chemical reaction and radiative heat transfer through water vapor in a humid air environment and to remove unnecessary warning messages that arise when using the radXiFoam v1.0 code. First, we conducted a validation analysis on the basis of measured overpressure datasets from a near field to a far field of a vapor cloud explosion (VCE) site in the HRS mock-up facility to evaluate the uncertainty in prediction datasets by radXiFoam v2.0. After this validation analysis, we undertook CFD sensitivity calculations by installing barriers with heights of 2.1 m and 4.2 m at a horizontal distance of 2.3 m from the VCE region in the grid model used for the validation analysis to assess the effects of these barriers on reducing the peak overpressure of the blast wave. From these calculations, we judged that the radXiFoam v2.0 code can accurately simulate the effects of the barrier during a VCE, as the calculated overpressure reduction values according to the barrier height are reasonable on the basis of previous validation results from Stanford Research Institute’s explosion test with such a barrier. The results herein imply that the radXiFoam v2.0 code is feasible for use in HRS safety when barrier installation must meet the technical regulations of the Korea Gas Safety Corporation in a large city.