|
[Sponsors] |
July 25, 2013, 08:15 |
Create a loop to open .cas and save images
|
#1 |
Member
Lauren Dransfield
Join Date: Jan 2012
Posts: 50
Rep Power: 14 |
Hi there,
I have a fairly large transient simulation and was wondering how anyone might go about making a journal loop to open a .cas, save an image, then open the next etc etc If this is my .jou: Code:
/file/read-case-data "testcase-1-00010.cas.gz" /display/contour mixture pressure /display/views/restore-view left /display/views/auto-scale /display/save-picture "test_00010_P.png" /display/contour vapour vof /display/save-picture "test_00010_vof.png" Thanks, Lauren P.S. Any way to stop it also showing the mesh outline would be great! Last edited by ld1305; July 25, 2013 at 08:17. Reason: extra information |
|
July 25, 2013, 12:45 |
|
#2 |
Senior Member
François Grégoire
Join Date: Jan 2010
Location: Canada
Posts: 392
Rep Power: 17 |
Hi,
You can loop with a scheme file but it's not user-friendly... It might be simpler to generate a .jou with the help of another program in which you will loop the command lines for all the cases that you saved. For example generating a text file with Matlab. |
|
July 26, 2013, 03:38 |
|
#3 |
Member
Lauren Dransfield
Join Date: Jan 2012
Posts: 50
Rep Power: 14 |
That's actually what I've ended up doing.
Was a bit fiddly to wort out, but I should be able to use it for other journals as well. Thanks very much |
|
Tags |
journal, loop |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
how to set periodic boundary conditions | Ganesh | FLUENT | 15 | November 18, 2020 07:09 |
Save images using Fluent in batch processing mode | dixitked | FLUENT | 8 | August 29, 2019 13:25 |
[ICEM] Why the mesh changes after I save and open the project again | lnk | ANSYS Meshing & Geometry | 4 | October 29, 2012 03:29 |
How to save images of contour plots during parallel job | Neil11 | FLUENT | 5 | September 23, 2010 20:06 |
fluent add additional zones for the mesh file | SSL | FLUENT | 2 | January 26, 2008 12:55 |