The U.S. Department of Homeland Security on Tuesday announced the creation of two centers in the Triangle to study the psychology behind terrorist attacks and to examine natural disasters.