Export element density histograms

Altair Forum User
Altair Forum User
Altair Employee
edited October 2020 in Community Q&A

Hi, 

 

Please i used the Control Cards>> DENSITY>> FIle format>> TOPO to output density for elements of Design space for each iteration in file .DENS

and i want now to plot a histogram that for that 

for example for the iteration 0 i want to plot a histogram that shows the number of elemens that haves a density between 0.1 and 0.19, the number of elements that have density between [0.2   ,   0.29]

number of elements that have density between [0.3  ,   0.39 ] and going on until 1

 

Please how can i donig this ?

 

Thank you very much

<?xml version="1.0" encoding="UTF-8"?>001.PNG

Tagged:

Answers

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited June 2018

    Hi,

     

    Open HyperGraph, load .Dens file. Set as per the image below.

    <?xml version="1.0" encoding="UTF-8"?>image.thumb.png.80f076627db33bb98f3cf3e9762210b1.png

    Here unkown is the density value, Column2 is the element number.

     

    Before you click apply, make the following changes.

    >Go to modify curves, and set the range for the densities as shown below and click apply in the above panel.

    image.png.e39e51284daa327ca9f1023fbc87c2d0.png

     

    Thank you

     

     

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited June 2018

    Hi, 

     

    Thank very much for your help, i did exactly what you said but i had not the result .

    there is a mistake in what i did ? 

     

    Thank you

     

    <?xml version="1.0" encoding="UTF-8"?>001.PNG

    <?xml version="1.0" encoding="UTF-8"?>002.PNG

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited June 2018

    Hi,

     

    Since, iteration 0 and 1 have constant density for all the elements, the graph is plotted as straight line. Please check for other iterations.

     

    Thank you

     

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited June 2018

    Hi, 

     

    please what can i modify in hyperGraph to show the other iterations ? 

     

    Thank you

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited June 2018

    change the blocks number in Y request

     

     

    thank you

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited June 2018

    Thank you very much Sir