Fluids

Fluids

Topics relate to Fluent, CFX, Turbogrid and more

How to input Turbulent Intensity as expression

    • Shivesh Sharma
      Subscriber

      I am using ANSYS 2023 R1 and running a simulation based on an experiment. The input for velocity and turbulence intensity is based on a power law profile. I can enter the velocity as an expression, but when I try to do the same for turbulent intensity, I get an error that says ‘expression is not single-valued.’ I have also tried to input this expression as a new parameter, but it still gives the same error. Can anyone help me solve this problem?

       

    • Essence
      Ansys Employee

      Hello,

      Try using abs(y) instead of only y in the expression.

      • Shivesh Sharma
        Subscriber

        Hi, Thank you for your response,

        I have tried using abs(y), but it is giving the same error. I have attached a screenshot for your reference.

    • Essence
      Ansys Employee

      Hello,

      You are getting this error because the present expression needs to evaluate to a single valued constant. If it is not a constant you will get the error you are seeing. 

    • Shivesh Sharma
      Subscriber

      Hi,
      I'm inputting the turbulent intensity as an expression because it varies with height. If I were to use a single valued constant, the turbulent intensity would not change with height, which means I wouldn't need to use an expression. 

    • Essence
      Ansys Employee

      Hello,

      I hope this Forum discussion will help you. Please refer the Forum thread:

      /forum/forums/topic/turbulence-intensity-expression-inlet-outlet/

    • Shivesh Sharma
      Subscriber

      Thank you 

Viewing 5 reply threads
  • The topic ‘How to input Turbulent Intensity as expression’ is closed to new replies.