Missmatching results

Szymon Adamus
Szymon Adamus Altair Community Member
edited April 2022 in Community Q&A

Dear Sir or Madam

During my simulations I found out something that seems quite confusing for me. 

image

This a simple model of magnet and sensors. Magnet remanence is oriented only around Z axis. After calculations i exported all the data to excel files and everything seems to be fine.

 

image

Then I rotated the whole design by 90 degress. I expect results will be the same because magnet and sensors are in the same place in regard to each other. Unfortunately, output results are also rotated. Am I missing something important, or maybe results are exported based on global XYZ system?

Thank You in advance

Best Regards

Tagged:

Best Answer

  • SimonGuicheteau
    SimonGuicheteau
    Altair Employee
    edited April 2022 Answer ✓

    I think your results are correct but since you rotated everything, the first component X became -Y and so on. So when you look at the component of a vector it is by default in the global coordinante system.

     

    You can look at the component in a different coordinate system using the following function :

    Comp(1,B)    --> Comp(1,VLCS(newcoordinatesystem,B)) 

Answers

  • Lavanya Vadamodala_20519
    Lavanya Vadamodala_20519
    Altair Employee
    edited March 2022

    Hello Szymon Adamus,

    Can you share the model with me? I need to look at definition of your material and sensors before giving you a solution.

    If your model is confidential, please let me know your email. I will send a secure link to share your model with me.

    Thank you,

    Lavanya

     

  • Szymon Adamus
    Szymon Adamus Altair Community Member
    edited March 2022

    Hello Lavanya Vadamola,

     

    I think that we should use secure link.

     

    Best Regards

    Szymon Adamus

  • Lavanya Vadamodala_20519
    Lavanya Vadamodala_20519
    Altair Employee
    edited March 2022

    Hello Lavanya Vadamola,

     

    I think that we should use secure link.

     

    Best Regards

    Szymon Adamus

    Please share your email here, I will send you a link to upload your model.

  • Szymon Adamus
    Szymon Adamus Altair Community Member
    edited March 2022

    Please share your email here, I will send you a link to upload your model.

    Szymon.Adamus@merit-automotive.com

  • Lavanya Vadamodala_20519
    Lavanya Vadamodala_20519
    Altair Employee
    edited March 2022

    Hello Szymon,

    I received the model and checked it.

    You are plotting the results with respect to global coordinate system. That is why the results are rotated along with the whole geometry.

    Since you are rotating the geometry with respect to "PIVOT" coordinate system, plot the results with respect to "PIVOT" coordinate system for both models. You will see same results for three components.

    Thank you,

    Lavanya

  • Szymon Adamus
    Szymon Adamus Altair Community Member
    edited March 2022

    Hello Lavanya,

     

    From my point of view the most important coordinate systems are SEN_SYS1 and SEN_SYS2 because they correspond with axis of real sensors I would like to use.

     image

     

    Could You guide me and tell me, where can I change the coordinate system with respect to which I export my data?

  • Szymon Adamus
    Szymon Adamus Altair Community Member
    edited April 2022

    Hello Lavanya,

    I would like to kindly remind about my problem. I still did not fix it by myself.

     

    Thank You,

    Best regards

    Szymon Adamus

  • Lavanya Vadamodala_20519
    Lavanya Vadamodala_20519
    Altair Employee
    edited April 2022

    Hello Lavanya,

     

    From my point of view the most important coordinate systems are SEN_SYS1 and SEN_SYS2 because they correspond with axis of real sensors I would like to use.

     image

     

    Could You guide me and tell me, where can I change the coordinate system with respect to which I export my data?

    Sorry I missed your question.

    You can change your coordinate system to "PIVOT" under "Coordinate system for definition". Then obtain the grid where you would like to see the quantities, with respect to this coordinate system.

    You should see same values of quantities in X and Y direction in both no rotation and 90 degree rotated models.

    Let me know, if you still have difficulty in obtaining the results.

  • SimonGuicheteau
    SimonGuicheteau
    Altair Employee
    edited April 2022 Answer ✓

    I think your results are correct but since you rotated everything, the first component X became -Y and so on. So when you look at the component of a vector it is by default in the global coordinante system.

     

    You can look at the component in a different coordinate system using the following function :

    Comp(1,B)    --> Comp(1,VLCS(newcoordinatesystem,B)) 

  • Szymon Adamus
    Szymon Adamus Altair Community Member
    edited April 2022

    Thank You Simon.

    This function is exactly what I was looking for.