I suggest you have an enclosure that is 7W x 7L x 4H when raising a Wyvern. This should be sufficient space for the Wyvern to grow and not be deleted from clipping into a structure or other dino.

You might be able to get away with a smaller structure, but I lost 3 wyverns by placing them in too tight of a space before I had this structure built.

More Wyvern Taming & KO Tips