An atomistic simulation method is proposed for the evaluation of rotational viscosity of liquid crystals. The method is based on a nonequilibrium molecular dynamics in which the director of a liquid-crystalline structure is forced to rotate by an artificial force termed aligning force. The evaluation procedure is outlined by using PCH-5 as an example.