CFD Online Logo CFD Online URL
Home > Forums > FLUENT

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

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

LinkBack Thread Tools Display Modes
Old   April 1, 2012, 04:34
Default Journal file clicks buttons but doesn't write values, why?
Senior Member
Join Date: Jul 2009
Posts: 246
Rep Power: 11
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.

(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?

kingjewel1 is offline   Reply With Quote

Old   April 2, 2012, 21:03
Senior Member
Lucky Tran
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 1,886
Rep Power: 26
LuckyTran will become famous soon enoughLuckyTran will become famous soon enough
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, 04:30
Senior Member
Join Date: Mar 2009
Location: Indiana, US
Posts: 185
Rep Power: 10
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.

delaneyluke is offline   Reply With Quote


Thread Tools
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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
2.0.x on Mac OSX niklas OpenFOAM Installation on Windows, Mac and other Unsupported Platforms 74 March 28, 2012 16:46
mesh file for flow over a circular cylinder Ardalan Main CFD Forum 6 April 17, 2010 23:40
OpenFOAM Install Script ljsh OpenFOAM Installation 82 October 12, 2009 11:47
Regarding FoamX running Kindly help out hariya03 OpenFOAM Pre-Processing 0 April 18, 2008 04:26
Results saving in CFD hawk Main CFD Forum 16 July 21, 2005 20:51

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