CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   How to save existing contour plot in dat file using TUI? (https://www.cfd-online.com/Forums/fluent/250162-how-save-existing-contour-plot-dat-file-using-tui.html)

salkynbekov May 31, 2023 09:46

How to save existing contour plot in dat file using TUI?
 
I did 2d transient simulation with saving about 200 dat files.
In each dat file there are contour plot named "Liquid-fraction".
I would like to save it as a JPEG.

What type of command should I use?

I have tried to use following command:
display contour liquid-fraction 0 1 display hardcopy test1.jpg

but this return me contour plot of an empty rectangle, while I need filled one as created using GUI...

I find answer for my thread.

The commad is following:

file/read-data DATA_FILENAME
display objects display CONTOURPLOT_NAME
display hardcopy IMAGE_NAME

for example:
file/read-data SYS-2-1-81000.dat.gz
display objects display contour-liquid-fraction
display hardcopy img-81000.jpg

they should NOT be in 1 row (here it is 3 rows). I am using Ansys 2020R1

So know using python script I can create journal file for my 200 data files to extract an images.

MKuhn June 8, 2023 08:08

If you need just the JPEG, there is faster way to save directly a picture for each time step. See Results --> Animations

salkynbekov June 8, 2023 08:41

Quote:

Originally Posted by MKuhn (Post 851537)
If you need just the JPEG, there is faster way to save directly a picture for each time step. See Results --> Animations

Thank you for reply.

My point is to obtain images after I complete the calculation of the model.

Best Regards.


All times are GMT -4. The time now is 14:42.