Page 2 of 3

Re: Help to show the gradient bar

Posted: Mon Jun 06, 2022 2:01 pm
by uwestoehr
johnwang wrote: Mon Jun 06, 2022 11:31 am Version: 0.20.28717 (Git)
This version is too old. The bug was fixed later. Please upgrade to our beta version and try again:
https://github.com/FreeCAD/FreeCAD/rele ... /0.20beta1

Re: Help to show the gradient bar

Posted: Thu Jun 09, 2022 2:32 am
by johnwang
uwestoehr wrote: Mon Jun 06, 2022 2:01 pm
Downloaded the new one. Still no scale bar.

Re: Help to show the gradient bar

Posted: Thu Jun 09, 2022 5:59 am
by wmayer
johnwang wrote: Mon Jun 06, 2022 11:31 am Utilities/Open FEM examples/Solvers/Calculix/Box Analysis Frequency
Is this all what you do? If yes, then a color bar isn't shown because there is no pipeline object created.

After opening the example you still have to perform:
  1. Activate the Analysis object
  2. Double click SolverCalculix and execute the simulation
  3. Select one of the four result objects and run Post pipeline from result
  4. Now you should see a color bar

Re: Help to show the gradient bar

Posted: Thu Jun 09, 2022 8:28 am
by johnwang
wmayer wrote: Thu Jun 09, 2022 5:59 am [*]Select one of the four result objects and run Post pipeline from result
[*]Now you should see a color bar
I double clicked one to open the show result, then choose displacement x.
No scale bar here.

Re: Help to show the gradient bar

Posted: Thu Jun 09, 2022 10:02 am
by uwestoehr
johnwang wrote: Thu Jun 09, 2022 8:28 am I double clicked one to open the show result, then choose displacement x.
No scale bar here.
I don't understand. Can you please provide a screenshot?

You only need to create a pipeline. When the pipeline is visible you have a scale bar. Here is how it looks directly after I created a pipeline:
FreeCAD_hyycagphfW.png
FreeCAD_hyycagphfW.png (150.44 KiB) Viewed 1013 times

Re: Help to show the gradient bar

Posted: Thu Jun 09, 2022 10:50 am
by johnwang
uwestoehr wrote: Thu Jun 09, 2022 10:02 am you only need to create a pipeline. When the pipeline is visible you have a scale bar. Here is how it looks directly after I created a pipeline:
No need to create ResultPipeline.
Double click your ccx_results to get into Show result.

I only use Show result for ccx. I think I have scale bar a few years ago.
I use pipeline only fox VTK result generated by Elmer and SU2.
sca.jpg
sca.jpg (162.55 KiB) Viewed 991 times

Re: Help to show the gradient bar

Posted: Thu Jun 09, 2022 11:17 am
by wmayer
Can you upload your example file, please?

Re: Help to show the gradient bar

Posted: Thu Jun 09, 2022 11:20 am
by johnwang
wmayer wrote: Thu Jun 09, 2022 11:17 am Can you upload your example file, please?
Utilities/Open FEM examples/Solvers/Calculix/Box Analysis Frequency

Re: Help to show the gradient bar

Posted: Thu Jun 09, 2022 1:54 pm
by wmayer
johnwang wrote: Thu Jun 09, 2022 11:20 am
wmayer wrote: Thu Jun 09, 2022 11:17 am Can you upload your example file, please?
Utilities/Open FEM examples/Solvers/Calculix/Box Analysis Frequency
That's not what I meant. I wanted to have the file you get when running this command and performing the additional step to create the pipeline object.

Re: Help to show the gradient bar

Posted: Thu Jun 09, 2022 2:45 pm
by uwestoehr
johnwang wrote: Thu Jun 09, 2022 10:50 am No need to create ResultPipeline.
Double click your ccx_results to get into Show result.
A scale bar is only available for pipelines, not for CCX results.

(In my opinion the CCX results are quite useless, because where in your mesh do you have what value? There is no access to this info but this is what one usually needs.)