CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   ANSYS (https://www.cfd-online.com/Forums/ansys/)
-   -   Why is the VWrite command so slow? (APDL ) (https://www.cfd-online.com/Forums/ansys/238419-why-vwrite-command-so-slow-apdl.html)

domsco September 11, 2021 03:06

Why is the VWrite command so slow? (APDL )
 
Hi,



I am using ANSYS 2019 R3 and ANSYS 2021 R1 with 36 GB RAM, Intel Xeon CPU E5-2620 v4 @ 2.1 GHz (8 Core) and I have in both Environments problems in writing an 50x50x50 matrix to a file. It takes about 9-10 hours, just to read it out!! No Simulation at all.

Here is the code:



*cfopen, temp.out

*DO, iz, 1, dz, 1
*DO, iy, 1, dy, 1
*DO, ix,1, dx, 1
b = (ix-1)*ddx
c = (iy-1)*ddy
d = (iz-1)*ddz
*GET, tmp, node, node(b, c,d), TEMP
*VWRITE, 'X: ', b, ' Y: ' ,c, ' Z: ', d, ' T: ', tmp
(A4,F10.6,A6, F10.6,A6, F10.6, A6, F10.6)
*ENDDO
*VWRITE, '-----------------------------------'
(A50)
*ENDDO
*ENDDO
*cfclose


Thanks!


All times are GMT -4. The time now is 20:22.