Vector flow maps using PyTOUGH
Hi All,
Can anyone tell me, how to plot flow vectors using t2listing class?
I can easily plot scalar field from my results using layer_plot method, but do not know what to assign to flow attribute of the layer_plot method.
I have all kinds of output files in my folder, i.e. OUTPUT.dat, OUTPUT_CONNE.csv, OUTPUT_ELEME.csv.
Please look at the code below. I have successfuly created both flux_matrix and grid objects, but I simply do not know what assign to flow attribute. I am interested to show flow vectors, but it can be heat flow as well. Any help is much appreciated.
Best regards,
Maciej
2 replies
-
Hi,
I've found a solution myself. Here it is, for those who may face a similar problem in future:
where results is a t2listing object
and 'FLOW' can be substituted with 'FLOW_G', 'FLOW_L' or 'HEAT':
Regards,
Maciej -
Not all zplots are inclet, not applets are forme of junction to iapplet as sitlet.