CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   Fluent TUI command, How to do it? (https://www.cfd-online.com/Forums/fluent/178834-fluent-tui-command-how-do.html)

Ash Kot October 17, 2016 12:26

Fluent TUI command, How to do it?
 
User has created one case file (mesh_x.cas) which will run for 3000 time-steps, now the problem is finished with use of all time-steps. However, at this time, user wants FLUENT software 'itself' to load next .cas file which is made of its own Independent settings from the first one, in same window, and run the file with its own settings, get initialized by itself and run for another 3000 time-steps, using TUI commands, How to do this?

Kindly show me with some small examples, if there is any tutorial with certain set of commands in it, please show me. I tried to find in ANSYS FLUENT TUI command guide but its not that comprehensive and explainable compared to UDF guide.

Also I want to know is it possible to connect and plot graphs using GNUplot using TUI commands in FLUENT?

Thank You,

Regards,

Ash Kot
Graduate Student,
University of North Dakota, USA

AHF October 17, 2016 12:43

Quote:

Originally Posted by Ash Kot (Post 621809)
User has created one case file (mesh_x.cas) which will run for 3000 time-steps, now the problem is finished with use of all time-steps. However, at this time, user wants FLUENT software 'itself' to load next .cas file which is made of its own Independent settings from the first one, in same window, and run the file with its own settings, get initialized by itself and run for another 3000 time-steps, using TUI commands, How to do this?

Kindly show me with some small examples, if there is any tutorial with certain set of commands in it, please show me. I tried to find in ANSYS FLUENT TUI command guide but its not that comprehensive and explainable compared to UDF guide.

Also I want to know is it possible to connect and plot graphs using GNUplot using TUI commands in FLUENT?

Thank You,

Regards,

Ash Kot
Graduate Student,
University of North Dakota, USA

could you send that TUI that already create ?
i have an idea but not sure , i want to modify that TUI.

mome October 17, 2016 13:42

why not start with this? note, your casefiles need to be complete and contain the data writing intervals because that's not defined in the few lines below

Code:

; load first case
/file/load-case first.cas

; (example) compute defaults from a pressure-inlet called "inlet"
/solve/initialize/compute-defaults/pressure-inlet inlet

; init flow
/solve/initialize/initialize-flow

; do fmg if appliacable
/solve/initialize/fmg-initialization yes

; if you want to write init solution
/file/write-data first.dat

; do more things, whatever you want..

; solve for 3000 timesteps
/solve/dual-time-iterate 3000

; redo it all for second case
/file/load-case second.cas
/solve/initialize/compute-defaults/
/solve/initialize/initialize-flow
/solve/initialize/fmg-initialization yes
/file/write-data second.dat
/solve/dual-time-iterate 3000

; finish job
exit
yes



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