Extract iron loss and flux density data for each element of FE mesh

MBIASION
MBIASION Altair Community Member
edited March 2021 in Community Q&A

Hi all,

I am working on Synchronous Machines design performing 2D FEM analysis with Flux 2018.

I have obtained the post-processing results concerning magnetic flux density distribution in the domain, iron loss figure computed by means of Bertotti formulation and so on. Now I need to access iron losses and magnetic flux density data for each element of the finite-element mesh. This is needed for further investigations, e.g., compute how many mesh elements have a certain magnitude of magnetic flux density. Is it possible? How can I do it?

I know that 'Computation point' analysis is available, but I need to automatize that process.

BR,

Marco Biasion

Tagged:

Answers

  • asoualmi
    asoualmi
    Altair Employee
    edited December 2019

    Hi,

    To export the losses in each node, you can use the function export spatial qauntity and formula starting from different type of suports. To do it :

    • Once the project is solved and the iron losses are computed

    • Select data exchange >> Export quantity >> export spatial qauntity and formula starting from different type of suports

    • A Window opens

    • Select face region >> values location : on nodes

    • Select export format

    • The name of file

    • Formula >> select function >> select user : you select the iron losses

     

    Best regards

  • Ronan CORIN
    Ronan CORIN New Altair Community Member
    edited March 2021

    Hello,

    I also needed to compute the mean flux density in each volume element. I have a PyFlux code which :

    - compute the value of the flux density (or any other parameter) on the 4 nodes of the volume element, for a specific volume region ;

    - compute the barycenter of the volume element ;

    - compute the mean value of the flux density on this barycenter.

    (I really thank the Altair team for their support to allow me to obtain this code, it is very useful).

    If it is not too late for you, you can contact me to discuss about this code : ronan.corin@univ-artois.fr

     

    Best regards, 

    Ronan

  • asoualmi
    asoualmi
    Altair Employee
    edited March 2021

    Hello,

    I also needed to compute the mean flux density in each volume element. I have a PyFlux code which :

    - compute the value of the flux density (or any other parameter) on the 4 nodes of the volume element, for a specific volume region ;

    - compute the barycenter of the volume element ;

    - compute the mean value of the flux density on this barycenter.

    (I really thank the Altair team for their support to allow me to obtain this code, it is very useful).

    If it is not too late for you, you can contact me to discuss about this code : ronan.corin@univ-artois.fr

     

    Best regards, 

    Ronan

    Hi,

    In Flux there is a macro to compute the average value of B on the element. You can use in your case. I attached the macro (this macro is available in C:\Program Files\Altair\2020\flux\Extensions\Macros\Macros_Flux2D_Postproc)

    Best regards.