"ITRI-NTU 3D-FDTD" 修訂間的差異

出自 DDCC TCAD TOOL Manual
前往: 導覽搜尋
(Input file: parameters assigned command)
(Input file 1: commands and parameters)
 
(未顯示同一使用者於中間所作的 78 次修訂)
行 1: 行 1:
3D-FDTD is named from three dimensional finite difference time domain method. This program models computational electrodynamics which is refer to the book ''Computational Electrodynamics: The Finite-Difference Time-Domain Method, Third Edition, by Allen Taflove''.
+
3D-FDTD is called from three dimensional finite difference time domain method. This program models computational electrodynamics which is refer to the book ''Computational Electrodynamics: The Finite-Difference Time-Domain Method, Third Edition, by Allen Taflove''.
   
   
== Input file: parameters assigned command ==
+
== Input file 1: commands and parameters ==
<font size=3 color=red>'''Be careful:'''</font> the function [[$NumberofObject]] '''MUST''' appear before the function [[$MaterialStructure]] and [[$MaterialParameter]]. The other sequences are not important.
+
<font size=3 color=red>'''Be careful:'''</font> Although most sequences of functions are not important, the function [[$NumberofObject]] '''MUST''' appear before the function [[$MaterialStructure]] and [[$MaterialParameter]].
   
 
=== Files setting ===
  +
[[$SParameterDirectory]]<br>
  +
  +
[[$OutputDirectory]]<br>
  +
 
[[$OutputName]]<br>
  +
  +
[[$OutputMaxReflection]]<br>
  +
  +
  +
=== Unit setting ===
  +
[[$UnitConvert]]<br>
  +
  +
  +
=== Time setting ===
 
[[$TimeStep]]<br>
 
[[$TimeStep]]<br>
   
 
[[$OutputStep]]<br>
 
[[$OutputStep]]<br>
   
  +
[[$StopCriteria]]<br>
  +
  +
  +
=== Space setting ===
 
[[$SpaceRegion]]<br>
 
[[$SpaceRegion]]<br>
   
 
[[$CellNumber]]<br>
 
[[$CellNumber]]<br>
  +
  +
[[$Deltaxyz]]<br>
   
 
[[$BCsetting]]<br>
 
[[$BCsetting]]<br>
行 17: 行 38:
 
[[$PMLlayer]]<br>
 
[[$PMLlayer]]<br>
   
  +
  +
=== Source setting ===
 
[[$SourceType]]<br>
 
[[$SourceType]]<br>
  +
  +
[[$SourceAmp]]<br>
   
 
[[$SourcePosition]]<br>
 
[[$SourcePosition]]<br>
   
  +
[[$SourceFrequency]]<br>
  +
  +
  +
=== Material setting ===
 
[[$NumberofObject]]<br>
 
[[$NumberofObject]]<br>
   
行 27: 行 56:
 
[[$MaterialParameter]]<br>
 
[[$MaterialParameter]]<br>
   
== Input file 2: parameters assigned command ==
 
   
[[$totallayer]]<br>
 
  +
=== Near-to-Far-Field setting ===
  +
[[$NTFFposition]]<br>
  +
  +
[[$NTFFparameter]]<br>
  +
  +
  +
=== Generation setting ===
  +
[[$DFTallField]]<br>
  +
  +
[[$CalGeneration]]<br>
  +
  +
  +
=== Gmsh setting ===
  +
[[$UseGmsh]]<br>
  +
  +
[[$GmshTag]]<br>
  +
  +
For more information about Gmsh, see [http://gmsh.info/doc/texinfo/gmsh.html#MSH-file-format-version-2-_0028Legacy_0029 <i> Gmsh website</i>]. <br><br><br>
  +
 
== Input file 2: commands and parameters ==
  +
'''Note:''' You can run the FDTD program '''WITHOUT''' the input file 2. However, if using this, you should really know the meaning of each function and parameter; otherwise, the program may not execute correctly as you change any default parameter.
  +
  +
  +
[[$SaveType]]
  +
  +
[[$CourantFactor]]
  +
  +
[[$Backgroundparameter]]
  +
  +
[[$CPML_m]]
  +
  +
[[$CPML_max_kapa]]
  +
  +
[[$CPML_ma]]
  +
  +
[[$CPML_max_a]]
  +
  +
[[$CPML_ratio_maxsigma]]
  +
  +
[[$IncCPMLpar]]
  +
  +
[[$Output1Dincident]]<br>
   
== The format of setting files ==
 
   
 
== The format of output files ==
 
== The format of output files ==
  +
These pages present text format. <br>
  +
''XX'' means it could be ''Ex'', ''Ey'', ''Ez'', ''Hx'', ''Hy'', or ''Hz''. <br>
  +
And ''n'' represents the time step. <br>
  +
''ii'' is ii-th file. <br>
  +
  +
=== Setting results ===
  +
[[*.gn]]
  +
  +
[[*.ind]]
  +
  +
[[*.XX.ps]]
  +
  +
[[*.fld.par]]
  +
  +
[[*.pml.par]]
  +
  +
[[*.typ.par]]
  +
  +
[[*.so.time]]
  +
  +
[[*.so.freq]]
  +
  +
[[*.ntff.par]]
  +
  +
[[*.dft.par]]
  +
  +
=== Results at certain time step (n)===
  +
  +
[[*.step-n.XX.dat]]
  +
  +
[[*.step-n.inc.dat]]
  +
  +
[[*.step-n.XX.dft]]
  +
  +
[[*.refl]]
  +
  +
=== Results after time-stepping ===
  +
  +
[[*.rcs]]
  +
  +
[[*.gen]]
  +
  +
[[*.f-ii.ggen]]
   
== The meaning of the parameters in the source code ==
+
== The meaning of the parameters in source codes ==

於 2021年1月28日 (四) 15:33 的最新修訂

3D-FDTD is called from three dimensional finite difference time domain method. This program models computational electrodynamics which is refer to the book Computational Electrodynamics: The Finite-Difference Time-Domain Method, Third Edition, by Allen Taflove.


Input file 1: commands and parameters

Be careful: Although most sequences of functions are not important, the function $NumberofObject MUST appear before the function $MaterialStructure and $MaterialParameter.

Files setting

$SParameterDirectory

$OutputDirectory

$OutputName

$OutputMaxReflection


Unit setting

$UnitConvert


Time setting

$TimeStep

$OutputStep

$StopCriteria


Space setting

$SpaceRegion

$CellNumber

$Deltaxyz

$BCsetting

$PMLlayer


Source setting

$SourceType

$SourceAmp

$SourcePosition

$SourceFrequency


Material setting

$NumberofObject

$MaterialStructure

$MaterialParameter


Near-to-Far-Field setting

$NTFFposition

$NTFFparameter


Generation setting

$DFTallField

$CalGeneration


Gmsh setting

$UseGmsh

$GmshTag

For more information about Gmsh, see Gmsh website.


Input file 2: commands and parameters

Note: You can run the FDTD program WITHOUT the input file 2. However, if using this, you should really know the meaning of each function and parameter; otherwise, the program may not execute correctly as you change any default parameter.


$SaveType

$CourantFactor

$Backgroundparameter

$CPML_m

$CPML_max_kapa

$CPML_ma

$CPML_max_a

$CPML_ratio_maxsigma

$IncCPMLpar

$Output1Dincident


The format of output files

These pages present text format.
XX means it could be Ex, Ey, Ez, Hx, Hy, or Hz.
And n represents the time step.
ii is ii-th file.

Setting results

*.gn

*.ind

*.XX.ps

*.fld.par

*.pml.par

*.typ.par

*.so.time

*.so.freq

*.ntff.par

*.dft.par

Results at certain time step (n)

*.step-n.XX.dat

*.step-n.inc.dat

*.step-n.XX.dft

*.refl

Results after time-stepping

*.rcs

*.gen

*.f-ii.ggen

The meaning of the parameters in source codes