Multiple Load cases Expression Builder

hugo_c
hugo_c Altair Community Member
edited October 2020 in Community Q&A

Hi all, 

 

It may sound very simple but i'd like to create an expression in the 'Expression Builder' of HyperView using results of two different loadcase.

For example i want to Substract the Stress tensor P3(minor) component from my loadCase A to the Stress tensor P1(minor) component from my loadCase B.

 

I can't find any solution, 

 

Thank you for your help

Tagged:

Answers

  • Mario_21478
    Mario_21478 Altair Community Member
    edited July 2019

    Hello Hugo_C,

     

    Try to insert LCx in front, x is the load case number.

    See the following syntax:

     

    Table address aliases use a four-section dot-separated list that breaks down the address by load case/frame, data type, component, and layer:

    LCnFn.{S|V|T}n.Cn.Ln

    Where:

    n = index (load case index, frame index, table index, component index, etc.)

    LC = load case

    F = frame (simulation step)

    {S|V|T} = Scalar, Vector, Tensor

    C = Component (valid only for vector or tensor tables).

    L = Layer index

     

    It looks like this:

    LC1.T1.C9-LC2.T1.C7

     

    or without alias:

    ('LC1.Element Stresses (2D & 3D).P3 (minor)'-'LC2.Element Stresses (2D & 3D).P1 (major)')

     

     

    P1 is major!?

     

    Best Regards,

    Mario

     

     

  • hugo_c
    hugo_c Altair Community Member
    edited July 2019

    Thank you Mario for your help, your LCn command works pretty well !

     

    But i realize my study case is a bit more complicated than i expected :

    • I have imported 3 h3d result files (Mom tension, Mom Comp, Tension)
    • I have created two Derived load Case with them (Mom tension + Tension , Mom comp + Tension)
    • i want to create Derived results with these 2 Derived load Cases such as P1(Mom tension + Tension) - P3(Mom comp + Tension) 

    image.png.0dd69fe6e8510bd41f76d348ce1f47a4.png

     

    In this case the LCn command is not helping.

     

    I would be very thankful if you have any idea or solution.

     

    My thanks.

     

     

     

  • Mario_21478
    Mario_21478 Altair Community Member
    edited July 2019

    Hi,

     

    This is a lot more complicated.

    You can try the following:

     

    Create your derived load case 1

    Switch on the needed contour (P1)

    Export model, including results (File->Export->Model) .. e.g. P1.h3d

     

    Create your derived load case 2

    Switch on the needed contour (P3)

    Export model, including results (File->Export->Model) .. e.g. P3.h3d

     

    Open expression builder

    Add resources (Open first P1.h3d, than P3.h3d)

    Select the element stresses P1 (now scalar) and insert, press Minus

    Select the element stresses P3 (now scalar) and insert

     

    The result is simple: S1-S2

     

    I can't try it at the moment, but please give me a feedback.

     

    Best regards,

    Mario

     

  • hugo_c
    hugo_c Altair Community Member
    edited July 2019

    Dear Mario, 

     

    It worked perfectly.

     

    Thank you for your precious time

     

    Hugo