Magnetic field import in Flux3D

Ruud
Ruud Altair Community Member
edited July 2021 in Community Q&A

Dear,

In Flux3D, I am trying to import the magnetic field simulation from one simulation into another simulation. Please consider the following example:

- In simulation one, I calculate the magnetic field on the region of a structure. Then, I export the magnetic flux density vector in this region as a spatial quantity into a file. The export is performed separately for each time step of the solution.

- In the second simulation, I import the magnetic flux density vector from simulation one as a spatial quantity. Again, each time step is imported separately. The second simulation model contains the same structure as the one from simulation one for which i exported the B-vector, and is also defined in the same coordinate system.

Now, I would like to perform a transient analysis in simulation model two where for each simulation a different spatial quantity is selected as the source of a 'Magnetic field source' element. Thus, for each time step, a different spatial quantity must be selected. I tried to change the source term manually after solving only the first two steps, but it does not allow me to make the change. Is there another possibility to make this change inbetween of simulation steps?

Thanks in advance and best regards,

Ruud

Tagged:

Answers

  • Farid zidat_20516
    Farid zidat_20516
    Altair Employee
    edited July 2021

    Hello Ruud;

     

    It is unfortunately not possible to do this in Flux, we do not have a spatial quantity depending on time.

     

    Anyway, you can explore using sub routines Groovy to do that. In the help you can find some information about it:

    image