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.

Report Definition

    • sjohn
      Subscriber

      I would like to calculate the volume of a cell zone (fluid) with id=9413. How do I write out the Report Definition?  I assume I can use variables such as Cell Id, Cell Zone Type, or Cell Zone Index, etc. and mesh variable such as Cell Volume but I cannot figure out the syntax.

      Something like these gave me error - 'Expression is not single-valued'

      CellVolume(CellId(9413))

      CellVolume(CellZoneIndex(9413))

       

    • Federico
      Ansys Employee

      Hello Sanil, 

      CellVolume is the volume of a cell. You should use Volume instead.

      for example: Volume(['fluid1'])

      Not sure you can use CellID in this context.

      • Federico
        Ansys Employee

        You also have the option to create this from the GUI. Go to Solution > Reports > Definition > Volume Report > Volume...

    • sjohn
      Subscriber

       

      Thank you, that worked for me.

       

       

      • Federico
        Ansys Employee

        Glad this helped!

Viewing 2 reply threads
  • You must be logged in to reply to this topic.
[bingo_chatbox]