Modelling of 3D photonic crystals based on opals