Fluids

Fluids

Topics related to Fluent, CFX, Turbogrid and more.

Contour with smooth color by Fluent Text Command

TAGGED: 

    • Shiyao
      Subscriber

      I am plotting a temperature contour with text commands of Fluent as follows: 

      display/set/contours/filled-contours yes
      display/set/contours/coloring no
      display/set/contours/line-contour no
      display/contour temperature,, 

      The color type of the contour should be already set smooth rather than banded at the second line, but the displayed contour is still in banded color. Is there any conflicting setting that I missed? 

      Meanwhile, I am also wondering if there is any command that can hide boundaries in contours, instead of a visible colored line by default. 

    • Nikhil N
      Ansys Employee

      Hello, 

       

      Concerning your first inquiry, please refer to the Ansys help excerpt: "Note that you can only display smooth contours if node-values are enabled." (To enable it, use the command "display/set/contours/node-values?")


      As for your second question, I'm not entirely certain, but one possibility is to exclude those boundaries when selecting the surface using the command "display/set/contours/surfaces."



      Thanks,

      Nikhil

      • Shiyao
        Subscriber

        Thanks Nikhil! 

        I added "display/set/contours/node-values yes" before the coloring command and tested it again, but I still got banded contours. I am not sure if there is anything else that I missed. 

        For the second one, I found nothing changed with or without setting "display/set/contours/surfaces". The boundaries appear as lines with specific colors, so they seem to be some markers rather than parts of the contour. 

        The method mentioned by Rob solved the issue in another way, but I appreciate your help! 

    • Rob
      Forum Moderator

      You may want to look at the /display/object options too: create the contours via the GUI and then display the persistent object. The workflow changed a few versions back, it's slightly more effort to set up but saves most of the panel options to make displaying easier. 

      • Shiyao
        Subscriber

        Thanks Rob!

        It is an amazing way that solved both of my problems! And it is easier to handle as the command has the same settings with contour panels in the GUI. 

Viewing 2 reply threads
  • The topic ‘Contour with smooth color by Fluent Text Command’ is closed to new replies.