A device for producing nanostructured or microstructured with materials comprises a chamber in which a hollow shaft is assembled, at least one disc provided with an expansion gap. The hollow shaft has openings which connect the inner space of the hollow shaft with the expansion gap.A solution, emulsion or liquid suspension of substances or microorganisms optionally saturated with a gas, liquefied gas or supercritical liquid, is fed into an inner space of a disc through a hollow shaft. By means of the combination of a centrifugal force and fluid pressure occurs the outlet of the liquid through an expansion gap, to form microscopic droplets. The microscopic droplets are subsequently disintegrated by expansion of the gas to form an aerosol. The aerosol is subsequently dried by a drying gas stream to form solids.