Constructal theory of generation of configuration in nature and engineering