|
[Sponsors] |
February 26, 2010, 06:29 |
saving grafics in batch-mode
|
#1 |
Member
Robert
Join Date: Feb 2010
Location: Germany
Posts: 32
Rep Power: 16 |
Hello forum
I already read some other threads here and elsewhere how to save e.g. velocity-plots while making a simulation without gui. So I tried: "-g" => errors, because of disabled grafics "-gu -driver null" => no errors but no saved grafics "-gu -driver x11" => no errors, grafical windows were shown for every timestep/iteration but again no pictures are saved "-gu -driver opengl" => same like with x11 in my .scm-file including the scheme-commands I defined the executing commands for opening a window, setting the right view and taking a hardcopy after each timestep Im doing parallel job on a linux workstation |
|
April 5, 2010, 20:22 |
|
#2 |
Member
Robert
Join Date: Feb 2010
Location: Germany
Posts: 32
Rep Power: 16 |
I guess its not possible to save grafics while working in batch-mode.
Any Ideas would be highly appreciated! Greetings |
|
April 6, 2010, 05:11 |
|
#3 |
Senior Member
Max
Join Date: Mar 2009
Posts: 133
Rep Power: 17 |
Hi Robert,
all I can say is that running fluent in the background using -gu -driver null and taking hardcopies at several timesteps works for me on a linux-cluster. I had to play around a little bit with my journal file to get all scheme commands working properly, maybe you should post your scheme-file and i will have a look at it. cheers |
|
April 6, 2010, 09:14 |
|
#4 |
Member
Robert
Join Date: Feb 2010
Location: Germany
Posts: 32
Rep Power: 16 |
Hi coglione, thx for your help.
Code:
/display/set/picture/color-mode color /display/set/picture/driver png /display/set/picture/x-resolution 1600 /display/set/picture/y-resolution 1200 /solve/execute-commands/add-edit com1 1 "time-step" "/display/open 9" /solve/execute-commands/add-edit com2 1 "time-step" "/display/contour mixture velocity-magnitude" /solve/execute-commands/add-edit com3 1 "time-step" "/display/views/camera/position 0 0 0" /solve/execute-commands/add-edit com3 1 "time-step" "/display/views/default-view" /solve/execute-commands/add-edit com4 1 "time-step" "/display/views/camera/zoom 5" /solve/execute-commands/add-edit com5 1 "time-step" "/display/views/camera/target 24 5 -2.5" /solve/execute-commands/add-edit com6 1 "time-step" "/display/hardcopy vel_%t.png" ./fluent 3ddp -g -t6 < /home/.../batch.scm > /home/.../out.dat 2> /home/.../out.error -ssh # or the "-gu -driver null" An excerpt of the batch-file is postet above, but I dont think there are faults in the commands, because I tried all of them in the text user interface in FLUENT # edit: im working on a linux-cluster, too # http://www.cfd-online.com/Wiki/Fluen...of_a_window.3F greetings |
|
April 7, 2010, 03:51 |
|
#5 |
Senior Member
Max
Join Date: Mar 2009
Posts: 133
Rep Power: 17 |
Hi Robert,
i see you already work with Ansys12. I'm still on 6.3 and therefor not sure if there have been some changes regarding your topic. However, it is actually not a good idea to open an window with /display/open if you are in background mode and graphics driver is explicitly set to null. display/set is what i use, maybe you should give it a try. cheers |
|
April 9, 2010, 14:03 |
|
#6 |
Member
Robert
Join Date: Feb 2010
Location: Germany
Posts: 32
Rep Power: 16 |
Hi
So you mean "/display/set-window 9" ? Its not working as well. I just made the most simple case-file I can imagine, the elbow-file from the first tutorial Code:
rc /home/.../elbow1.cas /display/set/picture/driver png /solve/initialize/initialize-flow it 5 /display/set-window 9 /display/contour velocity-magnitude 0 2 /display/hardcopy vel.png exit yes ================================================== ============================ Stack backtrace generated for process id 9140 on signal 11 : Please include this information with any bug report you file on this issue! ================================================== ============================ Error: Cortex received a fatal signal (SEGMENTATION VIOLATION). Error Object: () thx for ur help |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
saving figures in batch mode | R.D.Prabhu | FLUENT | 6 | June 12, 2014 12:33 |
Saving of monitor points in batch mode. | Martijn | CFX | 3 | December 10, 2008 11:36 |
Running Job in Batch mode (EFD) | Nick Sessions | FloEFD, FloWorks & FloTHERM | 0 | April 16, 2008 17:44 |
Prosurf in batch mode | Dhruv | Siemens | 1 | September 19, 2005 19:02 |
Batch mode | swapnil | CFX | 5 | November 23, 2002 10:38 |