33.6. External Magnetic Field Data Format

The external magnetic field data file is in text format and of the following structure:

 

 

 

 

 

...

The first line is an identification tag for the data file. The second line defines the number of data points in the , and directions. The next three lines define the ranges in , and directions. The data points are assumed to be evenly distributed along each direction. Line 6 defines the AC field flag and frequency. When nAC = 0, the magnetic field is static. For AC field, nAC = 1 and Freq is the frequency in Hz.

The rest of the data file contains the magnetic field data points. Each line defines the components of the real and imaginary parts of the magnetic field vector on one data point. The data points are indexed as:

(33–3)

The data is listed in the ascending order from 1 to , where is the total number of data points given by = .

For magnetic fields composed of both DC and AC fields, the entire file structure described above is repeated for the DC and AC parts. These two sections within the same file will be imported into Ansys Fluent and stored separately. The order of the DC and AC sections of the file is not important.

The imported data is interpreted as a snapshot of the applied magnetic field at an instant in time. Complex form is used to accommodate oscillating/moving fields. Thus, using complex numbers, and with reference to the quantities defined in Definitions of the Magnetic Field,

(33–4)

For a DC field,

(33–5)

For an AC field,

(33–6)

and

(33–7)

Note that when the external magnetic field import option is used, the frequency, , read from this file supersedes the value specified in the GUI.