1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | ! Provided that nvars 1-8 are properly defined earlier in the input file using the esol or nsol command, the following will export the results to the CSV file ! EXPORT RESULTS TO FILE BLOCK !Create a table to export first *DIM, ExportedResults,TABLE, itnCount,7 !ExportedResults(0,1) = 1 !Zeroth row VGET,ExportedResults(1,0),1 VGET,ExportedResults(1,1),2 VGET,ExportedResults(1,2),3 VGET,ExportedResults(1,3),4 VGET,ExportedResults(1,4),5 VGET,ExportedResults(1,5),6 VGET,ExportedResults(1,6),7 VGET,ExportedResults(1,7),8 /output, 'Results','csv','.' *VWRITE,'TIME','TEMP','DX','DY','DZ','RES1', 'RES2', 'RES3' %C, %C, %C, %C, %C, %C, %C, %C *VWRITE,ExportedResults(1,0),ExportedResults(1,1),ExportedResults(1,2),ExportedResults(1,3),ExportedResults(1,4),ExportedResults(1,5),ExportedResults(1,6),ExportedResults(1,7) %G, %G, %G, %G, %G, %G, %G, %G /OUTPUT, TERM ! END EXPORT BLOCK |
Export your deformed nodal data to csv file along with original nodal coordinates.
Comments
Post a Comment
Productive comments only!!