"ITRI-NTU 3D-FDTD" 修訂間的差異
(→The format of setting files) |
(→Input file 1: commands and parameters) |
||
(未顯示同一使用者於中間所作的 74 次修訂) | |||
行 1: | 行 1: | ||
− | 3D-FDTD is |
+ | 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: |
+ | == Input file 1: commands and parameters == |
<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]]. |
<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> |
[[$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> |
||
行 19: | 行 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> |
||
行 29: | 行 56: | ||
[[$MaterialParameter]]<br> |
[[$MaterialParameter]]<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> |
||
+ | |||
⚫ | |||
+ | '''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]] |
[[$SaveType]] |
||
[[$CourantFactor]] |
[[$CourantFactor]] |
||
+ | |||
⚫ | |||
[[$CPML_m]] |
[[$CPML_m]] |
||
行 45: | 行 96: | ||
[[$CPML_ratio_maxsigma]] |
[[$CPML_ratio_maxsigma]] |
||
⚫ | |||
+ | [[$IncCPMLpar]] |
||
+ | |||
+ | [[$Output1Dincident]]<br> |
||
− | == The format of output 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 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
Unit setting
Time setting
Space setting
Source setting
Material setting
Near-to-Far-Field setting
Generation setting
Gmsh setting
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.
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.