|
[Sponsors] |
Journal file clicks buttons but doesn't write values, why? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 1, 2012, 04:34 |
Journal file clicks buttons but doesn't write values, why?
|
#1 |
Senior Member
Join Date: Jul 2009
Posts: 260
Rep Power: 17 |
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)) Regards, |
|
April 2, 2012, 21:03 |
|
#2 |
Senior Member
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,665
Rep Power: 65 |
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. |
|
April 3, 2012, 04:30 |
|
#3 |
Senior Member
Join Date: Mar 2009
Location: Indiana, US
Posts: 186
Rep Power: 17 |
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 |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
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 13:06 |
2.0.x on Mac OSX | niklas | OpenFOAM Installation | 74 | March 28, 2012 16:46 |
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 |