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.

Get the ID of a zone or a surface in Fluent from its name

    • admin
      Ansys Employee

      How to get the ID of a zone or a surface in Fluent from its name ?

    • admin
      Ansys Employee

      To get the ID of a Cell Zone or a Boundary Condition, use the command zone-name->id. Examples: Example 1: display the ID of a zone in the TUI: (display (zone-name->id 'nameofthezone)) Example 2: store the ID of the zone in a variable: (rp-var-define 'int-zone 1 'integer #f) (rpsetvar 'int-zone (zone-name->id 'nameofthezone)) (rpgetvar 'int-zone) To get the ID of a post-processing surface, use the command surface-name->id: Example: display the ID of a surface in the TUI: (display (surface-name->id 'nameofthesurface)) Before executing this command it is a good practice to check if the surface exists or not using the boolean command: (surface-name/id? 'nameofthesurface)

    • skwde
      Subscriber

      Hi,


      where can I find documentation on these, and related, functions of the fluent scheme environment?


      They are obviously not in the TUI command list.


      Best,


      Stefan

    • DrAmine
      Ansys Employee
      No. There is a non official Scheme documentation from Javurek University of Linz and we have some further internal things which we sometimes share with commercial customers.
Viewing 3 reply threads
  • The topic ‘Get the ID of a zone or a surface in Fluent from its name’ is closed to new replies.
[bingo_chatbox]