Mike Rife
Ansys Employee

Hi Xiao

Instead of creating a dense matrix, create sparse matrices with the *smat.  There is an option to also create the DOF to node mapping vector.

Mike