We review our approach to the generation of nanoporous materials, both semiconducting and metallic, which leads to the existence of nanopores within the bulk structure. This method, which we have named as the expanding lattice method, is a novel transferable approach which consists first of constructing crystalline supercells with a large number of atoms and a density close to the real value and then lowering the density by increasing the volume. The resulting supercells are subjected to either ab initio or parameterized—Tersoff-based—molecular dynamics processes at various temperatures, all below the corresponding bulk melting points, followed by geometry relaxations. The resulting samples are essentially amorphous and display pores along some of the “crystallographic” directions without the need of incorporating ad hoc semiconducting atomic structural elements such as graphene-like sheets and/or chain-like patterns (reconstructive simulations) or of reproducing the experimental processes (mimetic simulations). We report radial (pair) distribution functions, nanoporous structures of C and Si, and some computational predictions for their vibrational density of states. We present numerical estimates and discuss possible applications of semiconducting materials for hydrogen storage in potential fuel tanks. Nanopore structures for metallic elements like Al and Au also obtained through the expanding lattice method are reported.