"ITRI-NTU 3D-FDTD" 修訂間的差異
(→Input file 1: commands and parameters) |
|||
(未顯示同一使用者於中間所作的 82 次修訂) | |||
行 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]]. |
||
⚫ | |||
+ | === Files setting === |
||
+ | [[$SParameterDirectory]]<br> |
||
+ | [[$OutputDirectory]]<br> |
||
− | == Input file 2: parameters assigned command == |
||
⚫ | |||
− | [[$ |
+ | [[$OutputMaxReflection]]<br> |
+ | |||
+ | |||
+ | === Unit setting === |
||
+ | [[$UnitConvert]]<br> |
||
+ | |||
+ | |||
+ | === Time setting === |
||
+ | [[$TimeStep]]<br> |
||
+ | |||
+ | [[$OutputStep]]<br> |
||
+ | |||
+ | [[$StopCriteria]]<br> |
||
+ | |||
+ | |||
+ | === Space setting === |
||
+ | [[$SpaceRegion]]<br> |
||
+ | |||
+ | [[$CellNumber]]<br> |
||
+ | |||
+ | [[$Deltaxyz]]<br> |
||
+ | |||
+ | [[$BCsetting]]<br> |
||
+ | |||
+ | [[$PMLlayer]]<br> |
||
+ | |||
+ | |||
+ | === Source setting === |
||
+ | [[$SourceType]]<br> |
||
+ | |||
+ | [[$SourceAmp]]<br> |
||
+ | |||
+ | [[$SourcePosition]]<br> |
||
+ | |||
+ | [[$SourceFrequency]]<br> |
||
+ | |||
+ | |||
+ | === Material setting === |
||
+ | [[$NumberofObject]]<br> |
||
+ | |||
+ | [[$MaterialStructure]]<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> |
||
+ | |||
+ | == 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 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 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.