A CFD simulation of wave loads on a pile-type oscillating-water-column device