hexagon logo

How can we calculate the surface area (area of fraction) for a specified strain range in Simufact forming?

@Hello all,
 
I am trying to calculate the surface area for a specified strain range(>0.67) after my forging, but I am not able to succeed even after following the recommended settings. PFA screenshot and let me know if am doing any mistake.
 
image
Thanks,
Vignesh
Parents
  • Hi Vignesh,
    unfortunately there is no good method to get the volume or the percentage volume of the strain range. What you can do is:
     
    Define a user defined variable in the GUI defining the two classes: "in the desired range" and "not in the desired range":
    if(EFFPLS>0.6)
    1
    else
    0
    endif
     
    Set the color legend to "color set" with just 2 classes using a discrete legend:
    image
     
    Set the histogram type to "volume".
     
    You will get something like:
    image
    (Strain0p6 is the random name for the user defined result value I used)
     
    Now use a ruler an manually measure both histogram bars. You may want to adjust the size of the color legend to the maximum before doing so. Ugly, I know.
     
    An alternative approach could be using a damage model that deletes all elements above a certain threshold. But this will not work out of the box, as we have no damage model that uses the plastic strain as damage. But this should be possible with a user subroutine using Fortran. However, as you do not want to influence your simulation by the result analysis you would need to run a separate process with damage for each result increment to be analyzed.
     
    A 3rd approach would be to use our Python-Interface and loop over all elements to check with one are in the desired strain range. But you will need to include the volume calculation based on the node position in this Python routine because we do not have the result "element volume" available.
     
    I hope this helps,
     
    Christian
     
Reply
  • Hi Vignesh,
    unfortunately there is no good method to get the volume or the percentage volume of the strain range. What you can do is:
     
    Define a user defined variable in the GUI defining the two classes: "in the desired range" and "not in the desired range":
    if(EFFPLS>0.6)
    1
    else
    0
    endif
     
    Set the color legend to "color set" with just 2 classes using a discrete legend:
    image
     
    Set the histogram type to "volume".
     
    You will get something like:
    image
    (Strain0p6 is the random name for the user defined result value I used)
     
    Now use a ruler an manually measure both histogram bars. You may want to adjust the size of the color legend to the maximum before doing so. Ugly, I know.
     
    An alternative approach could be using a damage model that deletes all elements above a certain threshold. But this will not work out of the box, as we have no damage model that uses the plastic strain as damage. But this should be possible with a user subroutine using Fortran. However, as you do not want to influence your simulation by the result analysis you would need to run a separate process with damage for each result increment to be analyzed.
     
    A 3rd approach would be to use our Python-Interface and loop over all elements to check with one are in the desired strain range. But you will need to include the volume calculation based on the node position in this Python routine because we do not have the result "element volume" available.
     
    I hope this helps,
     
    Christian
     
Children
No Data