Ansys Assistant will be unavailable on the Learning Forum starting January 30. An upgraded version is coming soon. We apologize for any inconvenience and appreciate your patience. Stay tuned for updates.
Fluids

Fluids

Topics related to Fluent, CFX, Turbogrid and more.

Fluent TUI command for printing the S2S view factors

    • ALEXANDRE COSTA
      Subscriber

      Hello,

      Wondering if an Fluent expert can tell the TUI command for printing the calculated view factors .

      By now I am using this ugly block of lines :

      (cx-gui-do cx-activate-item "Ribbon*Frame1*Frame6(Results)*Table1*PushButton1(Model Specific)")
      (cx-gui-do cx-activate-item "Ribbon*Frame1*Frame6(Results)*Table1*Table3(Model Specific)*PushButton6(S2S Information)")
      (cx-gui-do cx-activate-item "S2S Information*List2(From)")
      (cx-gui-do cx-set-list-selections "S2S Information*List2(From)" '( 0 1))
      (cx-gui-do cx-activate-item "S2S Information*List2(From)")
      (cx-gui-do cx-activate-item "S2S Information*List7(To)")
      (cx-gui-do cx-set-list-selections "S2S Information*List7(To)" '( 0 1))
      (cx-gui-do cx-activate-item "S2S Information*List7(To)")
      (cx-gui-do cx-activate-item "S2S Information*PanelButtons*PushButton1(OK)")
      (cx-gui-do cx-activate-item "S2S Information*PanelButtons*PushButton2(Cancel)")

    • Ahmed Hussien
      Ansys Employee

      At present, there is no direct TUI command in Ansys Fluent that allows users to list or print Surface-to-Surface (S2S) radiation view factors between selected “from” and “to” surfaces in the same manner as the S2S Information panel in the graphical interface. This functionality is currently available only through the GUI under Results → Model Specific → S2S Information, where the wall zones are selected in the From and To lists and the view factors are computed and printed to the console.

      The only related TUI functionality is the ability to compute and write the view factors to a file using the command:

      /define/models/radiation/s2s-parameters/compute-write-vf "file_name.s2s.h5"

      The generated file can later be read using:

      /file/read-viewfactors "file_name.s2s.h5"

      However, these commands only allow computation and storage of the view-factor data. They do not provide a way to query or print individual view factors between specific surface pairs through the TUI.

Viewing 1 reply thread
  • You must be logged in to reply to this topic.
[bingo_chatbox]