The results of 3D modeling of the formation of the accretion disks of intermediate polars are presented. A model with misaligned rotation axes of accretor and the orbit is onsidered, in which it is assumed that the white dwarf has a dipolar magnetic field with its symmetry axis inclined to the whitedwarf rotation and orbital axes. The computations show that, in the early stages of formation of the disk, the action of magnetic field is able to create the initial (seed) inclination of the disk. This inclination is then supported mainly by the dynamical pressure of the flow from the inner Lagrangian point L1. As themass of the disk increases, the inclination disappears. Under certain conditions, the disk inclination does not arise in systems with misaligned white-dwarf rotation and orbital axes. The influence of the magnetic field and asynchronous rotation of the accretor may result in the formation of spiral waves in the disk with amplitudes sufficient to be detected observationally.