4.3     Automatic Meshing

QuickWave enables the mechanism for automatic mesh generation, which is called Automatic Meshing Intelligent Generation Option (AMIGO). AMIGO serves one main purpose, which is optimising the meshing so as to provide requested wavelength resolution in all media, while avoiding unnecessarily small cells. The three main parameters set for AMIGO are:

When calculating the required cell size (to assure given cells per wavelength ratio) in the particular scenario area, AMIGO performs the calculations for the upper frequency of the given range and takes into account the parameters of the medium filling this area. The parameters that are taken for the calculations are: relative permittivity (er), relative permeability (μr), conductivity (s), and magnetic loss (sM).

What should be mentioned at this point is that the software displays information about three other parameters, which depend on the above user's choices. They are:

 

There are subtle relationships between amax, amin, and lmin that when obeyed assure correct AMIGO functioning. In general, the smallest cell size should not be smaller than half of the maximum cell allowed for the upper frequency in the medium of the shortest wavelength, and not smaller than lmin set by the user (this explains the default value of lmin described above). If amin obeys these conditions, it is displayed in green. Otherwise it is displayed in red suggesting that some details of the geometry or mesh snapping planes explicitly enforced by the user make the cell size smaller. The user is encouraged to press the button Inspect to investigate the cause of generating such a small cell. The obtained window shows the mesh snapping planes generated by the software. They are classified into four groups of priorities (Master, Hard, Soft and Weak). The meaning of those priorities is described later in this Section.

 

Additionally, AMIGO automatically enforces mesh snapping planes of electric type. In most applications, the electric type of mesh snapping planes are most preferable because they provide the best conditions for accurate analysis of the most critical parts - edges of metal elements in the structure -  since snapping the metal edges to the mesh enables the singularity corrections algorithms. Thus AMIGO tries to generate mesh snapping planes of the electric type along edges of geometrical elements and passing through their vertices. However, in many practical projects such a process (if unrestrained) would result in generation of many small FDTD cells. This would cause a radical drop in the smallest cell size amin, and as a consequence - in the basic time step dt. This in turn would cause a drastic increase of computing time. To avoid such an effect, AMIGO sets priorities to the mesh snapping planes and, in case of conflicts, eliminates those less important in order to try and keep the cell size above the declared value of lmin. There are four priorities of mesh snapping planes.

 

From the AMIGO viewpoint, all the geometrical elements of the considered structure can be classified into four groups:

The properties of each element can be changed manually in the Element Change dialogue.

 

 

AMIGO shows also useful information about: details of structure definition that cannot be modelled within requested mesh constraints, time step forced by the current mesh (indirectly), the minimum number of FDTD iterations needed to obtain well converged results, and expected duration of the analysis. The minimum number of FDTD iterations is determined by the frequency resolution df and the smallest cell size amin. From the Fourier transform properties, resolution df requires simulation time T=1 /(2 df). On the other hand, T=N*dt where N is the number of FDTD iterations and dt is the time step of the FDTD leap frog algorithm. The software automatically chooses dt so that it is proportional to the smallest cell size (amin) to obey the Courant stability criterion. AMIGO shows also the corresponding requested physical time T expressed in [ns] and as the number of wave travels across the structure (assuming that the structure is filled with air).

It is worth noting at this point that the value of df /5 will be used as a default frequency step for all active post-processings. AMIGO also allows setting automatic stop criteria, which suspends the simulation after calculated minimum number of FDTD iterations needed to obtain the required frequency resolution.

 

The AMIGO algorithm can be enabled for X and/or Y and/or Z axes. If any of the axes is excluded from the AMIGO option, the manual mesh settings apply to meshing along that axis.

 

AMIGO can be used in all projects but it is especially highly recommended for optimisation tasks because it automatically generates meshing close to optimal one and avoids creating small FDTD cells.