|
[Sponsors] |
How to save existing contour plot in dat file using TUI? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 31, 2023, 10:46 |
How to save existing contour plot in dat file using TUI?
|
#1 |
New Member
Damir
Join Date: Apr 2023
Posts: 7
Rep Power: 3 |
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. |
|
June 8, 2023, 09:08 |
|
#2 |
Senior Member
Moritz Kuhn
Join Date: Apr 2010
Location: Germany, Dresden
Posts: 218
Rep Power: 17 |
If you need just the JPEG, there is faster way to save directly a picture for each time step. See Results --> Animations
|
|
June 8, 2023, 09:41 |
|
#3 |
New Member
Damir
Join Date: Apr 2023
Posts: 7
Rep Power: 3 |
||
Tags |
contour plot, image, post procesing, tui command |
|
|
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 |