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

Journal process getting stuck on pop-up window

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 19, 2019, 14:21
Default Journal process getting stuck on pop-up window
  #1
New Member
 
Daniel
Join Date: Apr 2018
Posts: 24
Rep Power: 8
dsaen is on a distinguished road
I have this journal file which I'm using to alternate the boundary condition on a surface between an imposed heat flux (coming from a profile file) and a convection condition.

I must a apply the heat flux load for a specified amount of time, then let it cool for another amount of time, and repeat this cycle a number of times. The journal file takes care of making the change in BC's conditions and running the simulation. However each time the BC's conditions are changed and I try to run again, this warning window pops up telling me that the 'Settings have changed!', effectively stopping the process until a manual selection is made:



Despite the fact that it is being considered in the Journal code:
Code:
(cx-gui-do cx-activate-item "Settings have changed!*PanelButtons*PushButton1(OK)")
What is happening here? How can I avoid this problem?

Complete file:
Code:
/file/set-tui-version "19.0"
(do ((x 1 (+ x 1))) ((> x 100))
	(cx-gui-do cx-set-list-tree-selections "NavigationPane*List_Tree1" (list "Setup|Boundary Conditions|flux (wall, id=7)"))
	(cx-gui-do cx-set-list-tree-selections "NavigationPane*List_Tree1" (list "Setup|Boundary Conditions|flux (wall, id=7)"))
	(cx-gui-do cx-activate-item "NavigationPane*List_Tree1")
	(cx-gui-do cx-set-list-tree-selections "NavigationPane*List_Tree1" (list "Setup|Boundary Conditions|flux (wall, id=7)"))
	(cx-gui-do cx-set-toggle-button2 "Wall*Frame3*Frame2(Thermal)*Frame1*Frame1(Thermal Conditions)*ToggleBox1*Heat Flux" #t)
	(cx-gui-do cx-activate-item "Wall*Frame3*Frame2(Thermal)*Frame1*Frame1(Thermal Conditions)*ToggleBox1*Heat Flux")
	(cx-gui-do cx-activate-item "Wall*PanelButtons*PushButton1(OK)")
	(cx-gui-do cx-activate-item "Run Calculation*Table1*PushButton22(Calculate)")
	(cx-gui-do cx-activate-item "Settings have changed!*PanelButtons*PushButton1(OK)")
	(cx-gui-do cx-activate-item "Information*OK")
	(cx-gui-do cx-set-list-tree-selections "NavigationPane*List_Tree1" (list "Setup|Boundary Conditions|flux (wall, id=7)"))
	(cx-gui-do cx-set-list-tree-selections "NavigationPane*List_Tree1" (list "Setup|Boundary Conditions|flux (wall, id=7)"))
	(cx-gui-do cx-activate-item "NavigationPane*List_Tree1")
	(cx-gui-do cx-set-list-tree-selections "NavigationPane*List_Tree1" (list "Setup|Boundary Conditions|flux (wall, id=7)"))
	(cx-gui-do cx-set-toggle-button2 "Wall*Frame3*Frame2(Thermal)*Frame1*Frame1(Thermal Conditions)*ToggleBox1*Convection" #t)
	(cx-gui-do cx-activate-item "Wall*Frame3*Frame2(Thermal)*Frame1*Frame1(Thermal Conditions)*ToggleBox1*Convection")
	(cx-gui-do cx-activate-item "Wall*PanelButtons*PushButton1(OK)")
	(cx-gui-do cx-activate-item "Run Calculation*Table1*PushButton22(Calculate)")
	(cx-gui-do cx-activate-item "Settings have changed!*PanelButtons*PushButton1(OK)")
	(cx-gui-do cx-activate-item "Information*OK")
)
dsaen is offline   Reply With Quote

Reply


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
Gambit Startup Window Jay Shim FLUENT 2 February 12, 2015 15:05
error 262144 and unexpected disconnect when run on 2 nodes Emily1412 SU2 Installation 1 April 10, 2014 18:08
[ICEM] Script file : how to reset all, fit window, etc. macfly ANSYS Meshing & Geometry 0 July 25, 2012 12:07
Interrupting a Journal File svp FLUENT 2 February 16, 2011 09:00
[GAMBIT] auto close Gambit window MEDI ANSYS Meshing & Geometry 1 September 3, 2010 07:18


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