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

Saving Solution animation as PNG in batch mode

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 9, 2024, 10:49
Question Saving Solution animation as PNG in batch mode
  #1
New Member
 
Sajeed hussain
Join Date: Oct 2024
Posts: 1
Rep Power: 0
Sajeed Hussain is on a distinguished road
Hello,

I am running a sim in batch mode (2021r2) and I have set instructions both in case file and journal to save solution animation as PNG. But the images are not saved.

These are the commands in the journal:

/file/set-directory /
/display/animate/storgae-type png
/display/animate/set-interval 1
/display/animate/save

and for batch _ fluent 2ddp -g -t -cnf -i file.jou

I do not understand if I'm missing something.
Thank you for the help.
Sajeed Hussain is offline   Reply With Quote

Old   October 16, 2024, 03:53
Default
  #2
Senior Member
 
Moritz Kuhn
Join Date: Apr 2010
Location: Germany, Dresden
Posts: 218
Rep Power: 17
MKuhn is on a distinguished road
Hi Sajeed,


I have done the same thing several years ago. Here is a part of my batch file, hopefully it will help you:


/display/set/contours/filled-contours yes
/display/set/picture/driver png
/display/set/picture/landscape yes
/display/set/picture/invert-background yes
/display/set/picture/use-window-resolution yes
/display/set/picture/color-mode color
/display/set/colors/skip-label 1
/display/set/contours/clip-to-range no
/display/set/contours/coloring no
/display/set/windows/axes/visible no
/display/set/windows/text/visible yes
/display/set/windows/scale/format "%0.0f"
/display/set/contours/surfaces sweep-surface-7 ()
/views/restore-view film50
/display/contour temperature 120 278


;set up display commands to print front view of phases and velocity magnitude every time steps
/solve/execute-commands/add-edit command-1 1 "time-step" "/display/views/restore-view film50"
/solve/execute-commands/add-edit command-2 1 "time-step" "/display/contour temperature 120 278"
/solve/execute-commands/add-edit command-3 1 "time-step" "/display/save-picture /home/kuhn/Vita/vitafilm1/temperature-%t.png"



--Moritz
MKuhn is offline   Reply With Quote

Reply

Tags
animation solution, batch simulations, fluent


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
Creating animation in batch mode lmtlmt12@yahoo.com FLUENT 0 April 30, 2023 13:56
Solution Animation RF_ FLUENT 0 August 31, 2021 02:07
Fluent Batch Mode error: No error handler available hahs FLUENT 0 September 14, 2018 02:29
Saving of monitor points in batch mode. Martijn CFX 3 December 10, 2008 11:36
batch & solution animation Paolo FLUENT 0 May 5, 2003 06:58


All times are GMT -4. The time now is 11:15.