We have an exciting announcement about badges coming in May 2025. Until then, we will temporarily stop issuing new badges for course completions and certifications. However, all completions will be recorded and fulfilled after May 2025.
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.