利用初参数法和传递矩阵，建立了薄壁箱梁约束扭转分析的有限元列式，导出了均布扭矩和均布双力矩的非结点荷载的等效公式.基于约束扭转的有限元位移解，进一步建立了弯扭力矩新算法，导出相应的刚度矩阵、均布扭矩和均布双力矩作用下的固端力公式，方便正应力和剪应力的计算.算例表明，本文的计算结果与理论值完全符合，所建立的薄壁箱梁约束扭转有限元列式、均布扭矩和均布双力矩的非结点荷载等效公式、弯扭力矩新算法公式正确.Using initial parameter solutions and transfer matrix method，the finite element formulation for restrained torsion of a thin-walled box girder was presented. The equivalent nodal forces of distributing torque and bimoment acted on an element were also derived. Based on the displacement solutions of the finite element method for restrained torsion, a new algorithm for calculating the flexural-torsional moment was developed. The relevant stiffness matrix and fixed-end forces for distributing torque and bimoment acted on the element were established. It facilitated the calculation of normal stress and shear stress. The examples show that the calculation results of the proposed method agree well with the theoretical solutions, which proves that the stiffnesses for restrained torsion, equivalent nodal forces for distributing torque and bimoment acted on element as well as new algorithm for flexural-torsional moment are exact.