CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT

How to save existing contour plot in dat file using TUI?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 31, 2023, 10:46
Default How to save existing contour plot in dat file using TUI?
  #1
New Member
 
Damir
Join Date: Apr 2023
Posts: 7
Rep Power: 3
salkynbekov is on a distinguished road
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.

Last edited by salkynbekov; May 31, 2023 at 12:15.
salkynbekov is offline   Reply With Quote

Old   June 8, 2023, 09:08
Default
  #2
Senior Member
 
Moritz Kuhn
Join Date: Apr 2010
Location: Germany, Dresden
Posts: 218
Rep Power: 17
MKuhn is on a distinguished road
If you need just the JPEG, there is faster way to save directly a picture for each time step. See Results --> Animations
MKuhn is offline   Reply With Quote

Old   June 8, 2023, 09:41
Default
  #3
New Member
 
Damir
Join Date: Apr 2023
Posts: 7
Rep Power: 3
salkynbekov is on a distinguished road
Quote:
Originally Posted by MKuhn View Post
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.
salkynbekov is offline   Reply With Quote

Reply

Tags
contour plot, image, post procesing, tui command


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using PengRobinsonGas EoS with sprayFoam Jabo OpenFOAM Running, Solving & CFD 36 July 16, 2024 04:52
[foam-extend.org] problem when installing foam-extend-1.6 Thomas pan OpenFOAM Installation 7 September 9, 2015 22:53
[swak4Foam] Error bulding swak4Foam sfigato OpenFOAM Community Contributions 18 August 22, 2013 13:41
[swak4Foam] build problem swak4Foam OF 2.2.0 mcathela OpenFOAM Community Contributions 14 April 23, 2013 14:59
DxFoam reader update hjasak OpenFOAM Post-Processing 69 April 24, 2008 02:24


All times are GMT -4. The time now is 17:06.