How is symmetry applied in CADFEKO and what are the benefits?

Altair Forum User
Altair Forum User
Altair Employee
edited October 2020 in Community Q&A

How is symmetry applied in CADFEKO and what are the benefits?

Tagged:

Answers

  • JIF
    JIF
    Altair Employee
    edited June 2017

    Introduction

    Electric and magnetic symmetry can be used to reduce runtime and memory requirements in FEKO, as discussed below. It is applicable to the MoM and all the hybrid techniques where MoM is involved (such as MoM/PO and MoM/FEM), but cannot be used in conjunction with the MLFMM.

    Technical Background

    Electromagnetic field problems can possess three types of planar symmetry: geometric, electric and magnetic. The type of symmetry is defined by the geometric properties of the structure and sources.

    Geometric Symmetry

    In this case the geometry of the structure must be symmetric with respect to the symmetry plane, while the sources may be arbitrarily located. Such a setup generally leads to non-symmetric current distributions on the structure.

    Electric Symmetry

    In the case of an electric symmetry plane, not only must geometric symmetry hold, but additional requirements also have to be met by the sources. Figure 1 shows these requirements. The electric current density must be anti-symmetric and the magnetic current density symmetric. A physical interpretation of an electric symmetry plane is a plane which can be replaced by a PEC wall without changing the field distribution. The tangential component of the electric field and the normal component of the magnetic field thus disappear at such a plane.

     

    electric_symmetry_plane_theory.jpg

    Figure 1: Requirements on sources for a plane of electric symmetry.

    Magnetic Symmetry

    In the case of a magnetic symmetry plane, geometric symmetry must again hold, again with additional requirements on the sources, but different from the electric case. Figure 2 shows these requirements. The electric current density must be symmetric and the magnetic current density anti-symmetric. A physical interpretation of a magnetic symmetry plane is a plane which can be replaced by a PMC wall without changing the field distribution. The normal component of the electric field and the tangential component of the magnetic field thus disappear at such a plane.

    magnetic_symmetry_plane_theory.jpg

    Figure 2: Requirements on sources for a plane of magnetic symmetry.

    Computational Benefits of Utilizing Symmetry in FEKO

    When using numerical methods to solve electromagnetic field problems, symmetry may be exploited to reduce computational costs in terms of runtime and memory requirements.

    In FEKO, the three types of symmetry planes discussed above result in the followin benefits:

    • Geometric symmetry: since the current/field distribution does not generally possess any symmetric properties in this case, the unknown coefficients on the whole mesh must be solved. Therefore no reduction in memory usage is obtained, as the matrix equation being solved is the same as it would have been, had symmetry not been considered. However, a reduction in the computation time for setting up the matrix equation does result. This reduction is achieved by exploiting the fact that the interaction between any two basis functions is the same as that between their symmetrical counterparts.
    • Electric symmetry: as with geometric symmetry, less computational time is required to calculate the matrix equation entries. However, the major additional benefit is that the number of unknown coefficients is reduced by a factor of roughly two. Thus the system of linear equations to be solved has dimension of half of what it would have been, had symmetry not been considered. The impact for the MoM is a reduction by a factor four (=2*2) in memory requirement, as the MoM has fully populated matrices. The impact for the FEM is a reduction by a factor two in memory requirement, as the FEM leads to sparsely populated matrices. The reduction in unknowns also leads to dramatic lowering of matrix equation solution time.
    • Magnetic symmetry: the same benefits result as in the case of electric symmetry.

    Clearly, the benefits of symmetry can be significant.

    Usage in CADFEKO

    In CADFEKO symmetry is considered a property of the model. Symmetry planes are defined via the Define symmetry planes dialog under Model in the main menu (see Figure 3). The coordinate planes x = 0 (yz plane), y = 0 (zx plane) and z = 0 (xy plane) may be defined as planes of symmetry (geometric, electric or magnetic). There is no restriction on assigning symmetry properties to more than one of the coordinate planes, in which case the computational benefits are compounded. CADFEKO indicates the current symmetry of the model in the 3D view, as shown in Figure 3. A preview is always shown while the Symmetry planes dialog is open. The display of symmetry planes may be deactivated by toggling the Show symmetry planes icon. The symmetry display is coloured according to the symmetry type (green for geometric symmetry, orange for electric symmetry and grey for magnetic symmetry).

    symmetry_dialog.png

    Figure 3: Symmetry planes being displayed in CADFEKO and the symmetry definition dialog.

    When applying symmetry in CADFEKO, the whole symmetric model should be created, including ports, sources, loads and so forth. The fact that it is not necessary to only create a section of the model makes it very easy to switch between a solution that employs symmetry and one that does not, or adjust the symmetry properties of the model without any geometry or mesh modifications. Symmetry planes must be set before meshing, though the type of symmetry may possibly be altered afterwards. During meshing CADFEKO will validate that the geometry to be meshed does indeed adhere to the specified model symmetry (both geometric symmetry as well as symmetry of excitation and loads where magnetic or electric symmetry is concerned). If the model is found not to adhere to the specified type of symmetry, CADFEKO will abort the meshing process and provide a list of objects in the model that break the symmetry.

    Finally, note the following:

    • Some ports (such as the wire port) influence the meshing in CADFEKO. Therefore, even if some ports are not loaded or excited, these still need to be defined symmetrically in the model for meshing to be successful.
    • Geometry and/or the mesh of a model may appear to be symmetrical while the CADFEKO symmetry tests indicate this not to be so. Possible reasons include tolerances in the model, or a redundant geometry point (vertex) on either side of the symmetry plane. In such a case it may be useful to delete half of the model, and then use the mirror operation to ensure a symmetrical model, rather than to try and resolve each asymmetry. This is particularly relevant when working with imported CAD geometry or imported meshes where there may be slight differences with respect to tolerances.

     

    Example 1: Utilization of symmetry for a rectangular horn antenna

    In Figure 4 a horn antenna is shown, excited with a dominant mode, rectangular waveguide port (a full description of the problem can be found in the FEKO Example Guide). The plane z=0 is clearly not a geometric symmetry plane, while the other two planes are. The plane y=0 is a plane of electric symmetry, since the incident wave is electrically polarized in the y-direction and this is already a geometric symmetry. The plane x=0 is a plane of magnetic symmetry, since the incident magnetic field is normal to this plane and the associated electric field is tangential to it, together with the fact that this is also a geometric symmetry plane.

    The symmetry properties of the antenna are as follows:

    Symmetry type x = 0 y = 0 z = 0
    Geometric  
    Electric    
    Magnetic    

    horn_symmetry.png

    Figure 4: Electric and magnetic planes of symmetry of the horn antenna problem.

    The problem is now solved using the MoM, with various combinations of symmetry planes, with the computational costs noted. No near or far field requests were made, in order to isolate the impact of symmetry on computational cost as much as possible. The results are as follows:

    Symmetry applied Memory limit Memory [MByte] Runtime [relative]
    x = 0 plane y = 0 plane z = 0 plane      
    - - - - 125.988 1.000
    Geometric - - - 126.144 0.715
    Geometric Geometric - - 126.159 0.562
    Magnetic - - No 63.628 0.376
    Magnetic - - Yes 32.424 1.833
    Magnetic Geometric - No 63.643 0.231
    Magnetic Geometric - Yes 32.439 1.825
    - Electric - No 65.105 0.424
    - Electric - Yes 34.120 1.900
    Geometric Electric - No 65.120 0.269
    Geometric Electric - Yes 34.135 1.900
    Magnetic Electric - No 33.124 0.177
    Magnetic Electric - Yes 9.899 0.914
     

    Note the following:

    • Runtimes relative to the case of no symmetry is shown. These results are indicative of the relative effects of symmetry on overall runtime.
    • As can be seen, the computational cost reduction effect of either an electric or magnetic symmetry plane is practically the same.
    • Clearly, geometric symmetry has some advantages, but not as much as electric and magnetic symmetry. Geometric symmetry will speed up the setup of the triangle integrals, and especially when large meshes are used and will lead to a slight reduction in required memory due to the reduced geometry that needs to be stored.
    • Regarding the 'Memory limit' column: FEKO can exploit electric/magnetic symmetry to minimize either runtime, or memory usage. FEKO's first priority is to minimize runtime, therefore FEKO will only partially exploit the benefits of symmetry with regards to memory usage, should sufficient memory be available (in this case a factor 2 reduction in memory is obtained per electric/magnetic symmetry plane). Should sufficient memory not be available for runtime minimization, memory usage is minimized instead (in this case a factor 4 reduction in memory is obtained per electric/magnetic symmetry plane).
    • There are some overheads such as the storing of the geometry which cause the memory reduction to not be exact (i.e. not exactly 1/2, 1/4 or 1/16 for the various cases).
    • For FEM/MoM, the benefits will depend upon the the number of FEM tetrahedra compared to MoM surface triangles. For the pure FEM, a memory reduction by at most a factor 2 can be obtained, whereas for the MoM it is a factor of 4.

     

    Example 2: Utilization of symmetry for a dipole array

    Consider two dipoles and a cornered PEC plate between the dipoles.

    image_preview.jpeg

    If symmetry is to be applied, the first consideration is whether there is geometric symmetry. There are 3 planes of symmetry, at X=0, Y=0 and Z=0, so without any further considerations, we can at least set geometric symmetry on these 3 planes.

    The next question then is if these geometric symmetry planes can be set to electric or magnetic symmetry (to exploit the saving in computational resources). The sources will dictate the setting of symmetry. Consider the following sets of sources and their respective symmetry settings:

    1. The first dipole is excited with 1 V and 0 degrees phase, and the second dipole with 1 V and 45 degrees phase.
    2. Both dipoles are excited with 1 V and 0 degrees phase.

     

    For Case 1 there is no symmetry in the sources and all symmetry planes are set to geometric symmetry only.

    For Case 2 there is perfect symmetry in the sources. We consider therefore the fields of the two dipoles using the definitions from Figure 1 and Figure 2. For the Z=0 plane the doughnut shaped electric fields will be normal to the Z=0 plane and therefore non-zero.  There will not be a tangential component of the electric field at the Z=0 plane (the dipoles are vertically polarised). Therefore for the Z=0 plane, we have electric symmetry. For the Y=0 plane there will be a tangential component of the electric field in this plane but not a tangential magnetic field component (the magnetic fields will be normal to the Y=0 plane). Therefore for the Y=0 plane, we have magnetic symmetry.

    For the X=0 plane, consider the combined electric fields of each dipole at this plane. The fields are vertically polarised and will each be tangential and in the same direction at the X=0 plane at any point in time. There is therefore a large tangential component of the electric fields at the X=0 plane. We therefore cannot set electric symmetry. The magnetic fields at any point in time will be tangential to this plane too, but in opposite directions (and same magnitudes), therefore they cancel and we have zero tangential magnetic fields at this plane. We can therefore set magnetic symmetry on the X=0 plane.

    Note that if the phases of the sources differed by 180 degrees, by similar reasoning we would have had electric symmetry on the X=0 plane.

     

    Recommendation

    In FEKO, the benefits of symmetry can be very significant. However, since symmetry cannot be exploited together with the MLFMM, the user should verify which of these features yield the largest reduction in computational cost and then only retain that feature in their model. The MLFMM is highly suited to structures of multiple wavelengths, but is not as beneficial in cases of small structures with very complex geometry. Should the latter structures be symmetric, they constitute a prime example of a problem class where symmetry can be very beneficial. When special Green functions are employed (planar and spherically layered media) the MLFMM is also not applicable. With special Green functions, symmetry should always be exploited when computational cost becomes an issue.

  • JIF
    JIF
    Altair Employee
    edited June 2017

    Also have a look at