Steps in Flux to export the losses

Introduction

In this section, the steps involved in Flux to generate the file of Joule losses volume densities are given.

General presentation

The Flux project to compute and export losses can be in one of the following magnetic applications:
  • Steady state AC magnetic application
  • Transient application:

    In this case, it is possible to export Joule losses densities time evolution or mean values on one period.

The Flux project can be in one of the following modules:
  • 2D Plane
  • 2D axisymmetric
  • 3D

Study case

The studied case in this document is a cable heating by Joule losses.

In this document, the case is simulated in Flux 2D plane transient magnetic application. The time evolution of Joule losses is exported.

Import/Export context

The Import/Export context is dedicated to all couplings with other software, including the coupling with AcuSolve.

It replaces the old export to AcuSolve available through the menu: Data Exchange > Export quantity > Export spatial quantity and formula …

The Import/Export context gives much more possibilities and options to couple with AcuSolve.

Steps in Flux

  1. Define Flux project with:
    • Geometry
    • Mesh
    • Physics
    • Solving
    Remark: if the project solving scenario contains lot of time steps (or parameter steps), it is advised to solve after the step 6 to earn computation time.

  2. Open Import/Export context :

    • Before solving

      Parameter/Quantity > Open data Import/Export context

    • After solving

      Data exchange > Open data Import/Export context

  3. Select the thermal coupling context:

  4. The first step in the Import/Export context is to create the data support:

    Data support > New

    The data support creation box is opened

  5. In the data support creation box, select:
    • The data support type:

      Usually to compute Joule losses support defined by volumic entities is chosen.

      It corresponds to “volume” entities in 3D (volumes, volume regions, etc.) and “surface” entities in 2D (faces, face regions, etc.).

    • Choose the support defined by 2D entities:

      The most communly we select the face regions.

    • Select the support entities:

      Here in the list of face regions, we select the “CABLE” region.

    • In 2D, in order to export the data in 3D, user has to select Extrude in the Mesh extrusion field, and enter the number of elements in the extrusion depth, for example 10.
    • Select Yes if you want to rebuild the full device when you have symmetries or periodicities.

  6. The second step in the Import/Export context is to create the thermal data collection:

    Thermal data collection > New

    The thermal data collection creation box is opened

  7. In the data collection creation box, select:
    • The thermal data collection Joule losses collection
    • The collection support DATASUPPORT_1 created before
    • The type of value Average values in elements

      Remark: other types won’t be compatible to export to AcuSolve

    • The collection interval:

      It is advised to choose collect for all steps of the scenario. In steady state AC this choice has no influence. In transient the computation will be done on all scenario steps.



  8. Now the data collection has to be evaluated:

    Data collection > Collect data

    The thermal data collection is computed

  9. Before exporting, the results can be visualised in Flux for verification :

    Data visualizer > Generic visualizer > New

    The Data visualizer box is opened

  10. In the data visualizer box, select:
    • The collection DATACOLLECTION_1 created previously

    The Joule losses are visualized:

  11. The last step is to export the results:

    Data export > Data export to AcuSolve > New

    The Data collection export box is opened

  12. In the data collection export box:
    • Select the collection DATACOLLECTION_1 created previously
    • Write the File name


    The file is exported