Journal Batch-mode Solution Animation
Hello,
I'm using Fluent 14.5 and want to start it in the batch-mode. It's about an transient job where I don't want to save cas and dat every time step because of the size, instead I want Fluent to save pictures of specific views (and there different vectors or contours). Therefor I used in the online mode "Calculations Activities" --> "Solution Animations", defined my perspectives and everything worked. For batch mode I wanted to do the same, found out which commands are to use in the TUI: file/read-case "MyFilename.cas" file/read-data "MyFilename.dat" /display/views/restore-view view1 /display/vector/velocity/velocity-magnitude 0 0.2 0.0025 1 /solve/animate/define/define-monitor,1 yes yes 1 vector ppm, /display/views/restore-view view2 /display/vector/velocity/velocity-magnitude 0 2 0.005 1 /solve/animate/define/define-monitor,1 yes yes 1 vector ppm, solve/set/time-step 2.77e-04 solve/dual-time-iterate 360 50 file/write-data "MyFilename_%t.dat" exit yes view1 and view2 are saved in the data (or case) file. Everything works in the online mode of Fluent via the TUI. But when I start the journal via excutive command it interrups after the line (display/vector/velocity/velocity-magnitude 0 0.2 0.0025 1) and before the text "invalid command [view1]" appears after that line (/display/views/restore-view view1) Could someone please help me? :) thanks a lot for reading |
Hi,
I am also trying to do something similar. Did you manage to solve your problem? Thx |
Hey, can anyone kindly help out here urgently? I am trying to run a transient simulation in batch mode but I keep having an error message:
Error: No graphics functions are available. Error Object: () My TUI commands is: ; Read case and data files file read-case-data Rc_transient.cas solve/set/time-step 2.0e-4 solve/dual-time-iterate 100 20 file write-data transient1.dat Exit |
Quote:
I am no expert, but in order to try to help, please give more details... For now I think (not sure) you should correct the following: file/read-case-data Rc_transient.cas file/write-data transient1.dat And try to do read case and read data separetly if you haven't tried that. Kind Regards, DudaAPD |
Quote:
Hi (thanks for reaching out) Yes those are the commands in my journal file (valiantsim.jou) running in a cluster. The commands are executed with fluent 3d -g -ssh -pdefault -t${cpus} -i valiantsim.jou Also the errors appear just seconds after the simulation begins to run and appears just after it reads the the solve/dual-time-iterate command and just about to start running. see below; > solve/dual-time-iterate 100 20 Updating solution at time levels N and N-1. done. iter continuity x-velocity y-velocity z-velocity kl kt omega delta_time time Error: No graphics functions are available. Error Object: () time/iter |
I may be wrong, but I don't think it is a problem with your journal file... Probably with your case set up.
|
You have to adjust your fluent command:
fluent 3d -g -ssh -pdefault -t${cpus} -i valiantsim.jou -driver null does the job. see this thread: https://www.cfd-online.com/Forums/fl...tml#post729053 |
All times are GMT -4. The time now is 22:03. |