Based on general finite element software ANSYS using APDL language, steam generator heat transfer tube linear flow induced vibration analysis program is developed. The paper established tube finite element model with 3-D beam element, complete tube mode analysis, and the fluid-elastic instability ratio and turbulence response of the tube is calculated. Comparison of mode analysis result and fluid-elastic ratio calculated by ANSYS-APDL and program-specific shows that the two results are consistent, and the turbulence response calculated by ANSYS-APDL is more conservative. The computation program is based on the general finite element program ANSYS, it can greatly improve the efficiency of the practice engineering analysis with modeling convenience, strong readability and wide application range.