Composite stress contour plot image quality

Hypermesh 2023.1_Optistruct
Hypermesh 2023.1_Optistruct Altair Community Member
edited September 2 in Community Q&A

How to fix the quality of Contour plot of composite stresses in Hyperview scripting (shown in figure below).  

image

 

whereas the contour plot for displacement quality is as expected (shown below).  How to fix the quality of contour plot for composite stresses to get the quality as equal to the contour plot of displacement?

image

Answers

  • loistf
    loistf Altair Community Member
    edited August 12

    Hi! I would speculate that this is not a problem of quality: but of the type of result you are plotting, which has a variation across elements like you are plotting. Max across layers is typically not a smooth result. If you plot the contour for a single layer you will probably see a more smooth result across element edges. (smooth, consistent and differenciable, I could even argue). 

    Hope it helps. 

  • Hypermesh 2023.1_Optistruct
    Hypermesh 2023.1_Optistruct Altair Community Member
    edited August 17

    Thank you for your reply!

    The above is plotting all the layers and also the one below is with all the layers.

    image

     

    Both (one from original post and the one in this reply) are contour plots of all the layers but when scripting through Hyperview the quality is missing. Whereas requested manually the quality is as expected. Maybe I'm missing a command that's effecting the quality. Can someone help me out?

     

    Thank you!

  • Hypermesh 2023.1_Optistruct
    Hypermesh 2023.1_Optistruct Altair Community Member
    edited August 17
    loistf said:

    Hi! I would speculate that this is not a problem of quality: but of the type of result you are plotting, which has a variation across elements like you are plotting. Max across layers is typically not a smooth result. If you plot the contour for a single layer you will probably see a more smooth result across element edges. (smooth, consistent and differenciable, I could even argue). 

    Hope it helps. 

    Thank you for your reply!

    The above is plotting all the layers and also the one below is with all the layers.

    image

     

    Both (one from original post and the one in this reply) are contour plots of all the layers but when scripting through Hyperview the quality is missing. Whereas requested manually the quality is as expected. Maybe I'm missing a command that's effecting the quality. Can someone help me out?

     

    Thank you!

  • loistf
    loistf Altair Community Member
    edited August 17
    If the problem happens only via scripting, i would recommend that you share a reproducible example: a result file and the script / commands that you are using and lead you to the different quality.
  • Hypermesh 2023.1_Optistruct
    Hypermesh 2023.1_Optistruct Altair Community Member
    edited August 18
    loistf said:

    If the problem happens only via scripting, i would recommend that you share a reproducible example: a result file and the script / commands that you are using and lead you to the different quality.

    Thank you for your reply!

    The file is PCOMPP results file and the script is '.hwc' in Hyperview. Below is a sample script:

    image

  • loistf
    loistf Altair Community Member
    edited September 2

    Thank you for your reply!

    The file is PCOMPP results file and the script is '.hwc' in Hyperview. Below is a sample script:

    image

    Hello. I tried with a file that I had around but I didn't see any difference between displacement, composite stresses, manual vs via hwc...
    I am sorry, but I am not seeing the same as you do. It does not seem that there is a general problem. 
    I recommend that you try to check if this is model-dependent (try with another model or send me yours), machine-dependent (try with another computer) or version-dependent (i tried 2024).