Heterogeneous surface with polar functional groups as nucleation points. These nucleation points cause precipitation of a substance, for example ice or salt, in a fluid at these nucleation points under suitable physical conditions because the Gibbs free energy of the system is lower at the nucleation points than between the nucleation points, where said system comprises said surface and said fluid with said substance near said surface.