Numerical study of a calamitic liquid-crystal model: Phase behavior and structure