Patterns, Defects and Microstructures in Nonequilibrium Systems: Applications in Materials Science