Some tricks for a fast Simulation in CST MWS

15 downloads 0 Views 1MB Size Report
[Some tricks for a fast Simulation in CST MWS]. 1. How we can decrease the running time of the simulation? Increasing the simulation running speed.
[Some tricks for a fast Simulation in CST MWS]

[email protected]

How we can decrease the running time of the simulation? Increasing the simulation running speed

Decreasing the precision

So this is a tradeoff between time and precision! Example: Photonic Crystal Suppose we have a periodic structure as shown below:

Fig. 1.

1. A periodic structure has at least a periodicity about 10 or more, but for the first attempt we should try to check our model which can work or no? So at the beginning is better that we test the model with the lowest precision and details to manage our time and PC/Laptop memory.

Fig. 2.

Port Definition: 2. For each mode in the port setting, the simulation would performed for all the frequency steps, so avoid the multi mode analyzing at the first try: Fig. 3. each number of modes will multiply the calculations by its values.

1

[Some tricks for a fast Simulation in CST MWS]

[email protected]

3. Mesh setting is the most important tool for controlling the (i) Convergence, (ii) correctness and (iii) run time performance of the calculations.



Fig. 4. All the important items for mesh setting.

Default Mesh setting

New Setting (After Updating)

Previewing the wire mesh of the model

Fig. 5. a comparison between mesh results summaries of default and our custom setting.

I

2

[email protected]

[Some tricks for a fast Simulation in CST MWS]

If you want to decrease more and more the mesh number you can decrease the “steps per wavelength”:

(a)

(b) Fig. 6 As shown in (b) the number of the Tetrahedrons when the “step per Wavelength” is changed from “4” to “3” decrease from 66238 to 31277.

4. Another setting for accelerating the simulation is decreasing the frequency steps of the S-Parameters calculation in !F-Analysis:

Fig. 7

3

[Some tricks for a fast Simulation in CST MWS]

[email protected]

Fig. 8

5. Last operation for decreasing the run time of simulation is disabling the “Adaptive mesh refinement”:

Fig. 9

Results: With the default setting the simulation has been performed in about 20 hours!(3.6GB)

With the our setting for fast simulation, that has been performed just for 10 minutes!!!(322MB)

(b)

(a)

Fig. 10 S-parameters results for the default and our customized mesh & Freq. setting. As shown the result based on the time and memory performance is not reasonable to use the default setting for our initial studies.

4

Suggest Documents