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

Journal Batch-mode Solution Animation

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 17, 2013, 10:25
Default Journal Batch-mode Solution Animation
  #1
New Member
 
Frederik
Join Date: Apr 2013
Posts: 1
Rep Power: 0
RoterFuchs is on a distinguished road
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
RoterFuchs is offline   Reply With Quote

Old   February 13, 2014, 12:54
Default
  #2
New Member
 
Luiz Eduardo
Join Date: May 2010
Posts: 19
Rep Power: 15
DudaAPD is on a distinguished road
Hi,

I am also trying to do something similar. Did you manage to solve your problem?

Thx
DudaAPD is offline   Reply With Quote

Old   June 18, 2014, 18:40
Default
  #3
New Member
 
Join Date: Feb 2014
Posts: 5
Rep Power: 12
obylong is on a distinguished road
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
obylong is offline   Reply With Quote

Old   June 18, 2014, 21:50
Default
  #4
New Member
 
Luiz Eduardo
Join Date: May 2010
Posts: 19
Rep Power: 15
DudaAPD is on a distinguished road
Quote:
Originally Posted by obylong View Post
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
I didnīt understand exactly what you want to do. Is this your journal file? Runnig in a cluster? How are you executing the command for fluent (e.g. fluent 2ddp -g .....). Where does the error appear and when exactly...

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
DudaAPD is offline   Reply With Quote

Old   June 18, 2014, 22:09
Default
  #5
New Member
 
Join Date: Feb 2014
Posts: 5
Rep Power: 12
obylong is on a distinguished road
Quote:
Originally Posted by DudaAPD View Post
I didnīt understand exactly what you want to do. Is this your journal file? Runnig in a cluster? How are you executing the command for fluent (e.g. fluent 2ddp -g .....). Where does the error appear and when exactly...

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


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
obylong is offline   Reply With Quote

Old   June 20, 2014, 14:48
Default
  #6
New Member
 
Luiz Eduardo
Join Date: May 2010
Posts: 19
Rep Power: 15
DudaAPD is on a distinguished road
I may be wrong, but I don't think it is a problem with your journal file... Probably with your case set up.
DudaAPD is offline   Reply With Quote

Old   March 27, 2019, 12:30
Default
  #7
Senior Member
 
Lukas Fischer
Join Date: May 2018
Location: Germany, Munich
Posts: 117
Rep Power: 7
lukasf is on a distinguished road
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:

Save images using Fluent in batch processing mode
lukasf is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Running Ansys in BAtch Mode kuleuvenstudent ANSYS 1 October 18, 2017 13:11
cfdpost in batch mode taichijulie CFX 1 October 25, 2010 16:29
making animation in batch mode in linux rocklove FLUENT 0 July 10, 2010 03:17
Batch Mode (Urgent Help) Mahesh FLUENT 1 June 15, 2007 20:39
help needed about phase change Yanhu Guo Main CFD Forum 4 January 24, 2001 00:16


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