「$CellNumber」:修訂間差異

出自DDCC TCAD TOOL Manual
跳至導覽 跳至搜尋
Mike留言 | 貢獻
無編輯摘要
Mike留言 | 貢獻
 
(未顯示同一使用者於中間所作的 9 次修訂)
第1行: 第1行:
=='''Format'''==
=='''Format'''==
  $TimeStep
  $CellNumber
   ''int''                <font color=green>// where ''int'' is an integer.</font>
   ''N<sub>x</sub>''
  ''N<sub>y</sub>''
  ''N<sub>z</sub>''                <font color=green>// where ''N<sub>x</sub>'', ''N<sub>y</sub>'', ''N<sub>z</sub>'' are integers.</font>


<font size=3>This value tells the program what the total of time steps is.</font>
<font size=3>This defines the number of nodes in ''x'', ''y'', and ''z'' directions without the layer of PML. That is, the total number of nodes in simulation may '''NOT''' be <math>\begin{smallmatrix}{N_x \times N_y\times N_z}\end{smallmatrix}</math>.</font><br><br>


<font size=3 color=red>'''NOTE 1'''<font color=black>: The priority of this function is below the function -- [[$Deltaxyz]], ''i.e.'', the program abandons [[$CellNumber]] while using [[$Deltaxyz]].</font><br>
'''NOTE 2'''<font color=black>: Since the position of the last point would not be beyond the boundary we set in [[$SpaceRegion]], the mesh size may be different with what we think on intuition. For instance, if Nx=101 and x is from 0~100e-9 (m), so dx = 100e-9/(101-1'''+0.5''') ~9.95e-10 (m). (due to the equivalent array size in 6 field.)
</font></font>


=='''Example'''==
=='''Example'''==
  $TimeStep
  $CellNumber
   500
   201
  201
  201
 
Thus, without PML, there is 201 nodes in ''x'' direction, so as the number of nodes are in ''y'' and ''z'' direction.


Then the program is going to run 500 time steps.
== '''Related commands''' ==
: [[$SpaceRegion]], [[$CellNumber]], [[$Deltaxyz]]

於 2018年10月12日 (五) 02:17 的最新修訂

Format

$CellNumber
 Nx
 Ny
 Nz                // where Nx, Ny, Nz are integers.

This defines the number of nodes in x, y, and z directions without the layer of PML. That is, the total number of nodes in simulation may NOT be Nx×Ny×Nz.

NOTE 1: The priority of this function is below the function -- $Deltaxyz, i.e., the program abandons $CellNumber while using $Deltaxyz.
NOTE 2: Since the position of the last point would not be beyond the boundary we set in $SpaceRegion, the mesh size may be different with what we think on intuition. For instance, if Nx=101 and x is from 0~100e-9 (m), so dx = 100e-9/(101-1+0.5) ~9.95e-10 (m). (due to the equivalent array size in 6 field.)

Example

$CellNumber
 201
 201
 201

Thus, without PML, there is 201 nodes in x direction, so as the number of nodes are in y and z direction.

Related commands

$SpaceRegion, $CellNumber, $Deltaxyz