I made a repository for color maps for CFD Post and Fluent!

  • 208 Views
  • Last Post 14 November 2018
JamesWright posted this 07 November 2018

tl;dr:

Rainbow colormaps are bad. I created two GitHub Repositories for better color map choices, courtesy of Kenneth Moreland. They are fluent_colormaps and cfdpost_colormaps for Fluent and CFD Post, respectively.

If any ANSYS reps see this, it'd be super nice if these could be officially implemented into new ANSYS versions!

If you have any questions or comments, please let me know!

Why not just use Rainbow like everyone else?

Generally, Rainbow is used as the color map for visualization, even though it has been proved to be quite poor for data visualization on a number of different levels. Information on this can be seen on Kenneth Moreland's website

Here's an example of a SBES (hybird RANS-LES) simulation result at a single time step. The domain is axisymmetric with flow going right to left:

It can easily be seen that the brighter blue is drowning out the smaller scale turbulence. The use of a better color map can improve this dramatically:

There are dozens of other color map choices that are an improvement on the standard rainbow. I've compiled a imgur album of examples so that you can easily see the different options.

 

Order By: Standard | Newest | Votes
rwoolhou posted this 08 November 2018

Nice images. You do know that you can change the colour map in Fluent? 

JamesWright posted this 08 November 2018

Yes, but it's fairly tedious to do it manually. The GitHub repo has a function that can load and unload color maps without having to type it out one color space at a time.

rwoolhou posted this 08 November 2018

Not really, you just change the scale setting. I'll flag the thread to DEV as it's a good idea. 

JamesWright posted this 08 November 2018

To be clear, I'm talking about the process of entering in new values to make a custom color map. Changing the color scale to one that's already in the system is quite simple. But a custom one would require that you enter in each 3 number color point on the scale one-by-one.

  • Liked by
  • desouzadacosta
kkanade posted this 12 November 2018

I think this is available in ANSYS EnSight. But unfortunately EnSight is not available in student version. 

JamesWright posted this 12 November 2018

I think this is available in ANSYS EnSight

Think what is available in EnSight? I'm running an research academic license, so I might have access to EnSight.

abenhadj posted this 12 November 2018

Nice post!

Best regards,

Amine

  • Liked by
  • JamesWright
Kremella posted this 12 November 2018

Hello,

This is nice suggestion.

Regarding Keyur's comment on ANSYS EnSight and about available color maps, please have a look at the following post. It explains how to get to changing the color palette on EnSight. Please note that ANSYS EnSight is not available for the student version.

https://studentcommunity.ansys.com/thread/ensight-hot-iron-palette-from-an-image/

Thanks again for your inputs.

Best Regards,

Karthik

  • Liked by
  • JamesWright
rwoolhou posted this 13 November 2018

You can also use a journal to create the scales: not necessarily trivial but I don't know how much effort you put into the other images.  

As an aside, the feature is on the "to consider" list for Fluent next year: thanks for the suggestion. 

  • Liked by
  • JamesWright
JamesWright posted this 13 November 2018

Once I found the script for adding the colormaps, I simply made a quick Python script to turn the csv's on Kenneth Moreland's website into the correct file format, so it didn't take very long. Also makes it much easier to add new colormaps in the future if they come about.

 

That's great to hear! I'd love to keep up with the ideas progress if that's possible!

rwoolhou posted this 14 November 2018

As a user the only way will be to read the release notes: they're about the first entry in the list in the documentation.  Unless we're testing internally we may only find out about a feature a few weeks before release during out update training. 

Alternatively, keep watching the careers page, apply & get through the process and maybe get access to the pre-release software! 

  • Liked by
  • JamesWright
JamesWright posted this 14 November 2018

Alternatively, keep watching the careers page, apply & get through the process and maybe get access to the pre-release software!

I'll keep that in mind! It'll be a few years before I finish up with school (doctorate), but I'll definitely be looking here when the times comes.

Close