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

Journal file clicks buttons but doesn't write values, why?

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 1, 2012, 05:34
Default Journal file clicks buttons but doesn't write values, why?
  #1
Senior Member
 
Join Date: Jul 2009
Posts: 260
Rep Power: 17
kingjewel1 is on a distinguished road
I have recorded a journal file with my case set-up such as boundary conditions etc. When I read it in again, it doesn't actually change the values of what it recorded.

E.g. I would like to change a boundary inlet velocity from 1 to 2m/s, I can see it opening the window but it doesn't change the value.

Code:
(cx-gui-do cx-activate-item "NavigationPane*Frame1*PushButton7(Boundary Conditions)")
(cx-gui-do cx-set-list-selections "Boundary Conditions*Frame1*Table1*Frame1*List1(Zone)" '( 21))
(cx-gui-do cx-activate-item "Boundary Conditions*Frame1*Table1*Frame1*List1(Zone)")
(cx-gui-do cx-activate-item "Boundary Conditions*Frame1*Table1*Frame2*Table2*Frame4*Table4*ButtonBox1*PushButton1(Edit)")
(cx-gui-do cx-set-real-entry-list "mass-flow-inlet-5-1*Frame4*Frame1(Momentum)*Frame1*Table1*Frame14*Table14*RealEntry2(Y-Component of Flow Direction)" '( -0.566))
(cx-gui-do cx-set-real-entry-list "mass-flow-inlet-5-1*Frame4*Frame1(Momentum)*Frame1*Table1*Frame15*Table15*RealEntry2(Z-Component of Flow Direction)" '( -0.1516))
Any ideas why this might be happening?

Regards,
kingjewel1 is offline   Reply With Quote

Old   April 2, 2012, 22:03
Default
  #2
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,654
Rep Power: 65
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
No ideas, I've never used the recorder.

But your commands are very basic, you can easily accomplish them using the TUI commands (well, all commands can be entered into TUI, but yours are not difficult at all to implement). I recommend doing that rather than wasting time debugging.
LuckyTran is offline   Reply With Quote

Old   April 3, 2012, 05:30
Default
  #3
Senior Member
 
Join Date: Mar 2009
Location: Indiana, US
Posts: 186
Rep Power: 17
delaneyluke is on a distinguished road
If you want a report of some values through a journal, use the write to file option in results report. Make sure you first create a blank file and then append to that while recording your journal.

Regards
Luke
delaneyluke 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
mesh file for flow over a circular cylinder Ardalan Main CFD Forum 7 December 15, 2020 14:06
2.0.x on Mac OSX niklas OpenFOAM Installation 74 March 28, 2012 17:46
OpenFOAM Install Script ljsh OpenFOAM Installation 82 October 12, 2009 12:47
Regarding FoamX running Kindly help out hariya03 OpenFOAM Pre-Processing 0 April 18, 2008 05:26
Results saving in CFD hawk Main CFD Forum 16 July 21, 2005 21:51


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