Can we skew the orientation of magnet without skewing the geometry in Flux?

Pradeep Shankar_22370
Pradeep Shankar_22370 New Altair Community Member
edited March 2022 in Community Q&A
Tagged:

Answers

  • SimonGuicheteau
    SimonGuicheteau
    Altair Employee
    edited February 2022

    Hello,

    yes it is possible using a spatial linear magnet and defining formulas so that the orientation changes with the Z axis coordinate.

    Please find an example attached

  • Pradeep Shankar_22370
    Pradeep Shankar_22370 New Altair Community Member
    edited March 2022

    image

     

    can i get explanation for these formula and parameters?

     

  • SimonGuicheteau
    SimonGuicheteau
    Altair Employee
    edited March 2022

    image

     

    can i get explanation for these formula and parameters?

     

    I use a spatial formula in this case.

    Br is a physical parameter. To be used in a spatial formula, it needs to be called IO(BR).

     

    This Br is the amplitude and I multiply this by a 3D vector. XM2 and YM2 are the coordinates of this vector and are defined as spatial formulas. This is basically an orientation that is along a given angle at z=0 and linearly at this angle+skew angle at z=maxZ. XM2 and YM2 are defined with cos and sin functions which change with the Z coordinate.

  • SimonGuicheteau
    SimonGuicheteau
    Altair Employee
    edited March 2022

    check all the various parameters and spatial quantities defined

    You can also plot the magnet orientation to understand the result and change the skew angle as well from the associated parameter