1 Univ. of Nottingham, April 2016
Time domain
simulation and the
FDTD method Prof. Salvador González García
Dr. Luis Díaz Angulo Miguel Ruiz Cabello
Electromagnetic Group of the UGR (Spain)
2 Univ. of Nottingham, April 2016
OUTLINE
PART I: TUTORIAL ON FDTD
PART II: SEMBA & OPEN-SEMBA: YET ANOTHER SOLVER FOR EMC ANALYSIS
3 Univ. of Nottingham, April 2016
PART I: TUTORIAL Deterministic methods in EMC FDTD fundamentals DGTD: an affordable alternative to FDTD Dispersion, dissipation, stability,
convergence Requirements for a practical tool: PMLs,
sources, materials & sub-cell models Computer implementation Applications Towards affordable sensitivity analyses
4 Univ. of Nottingham, April 2016
Low Frequency Band (<100 λ) o Time Domain: Differential (FDTD, FIT, TLM),
Variational (DGTD, FVTD, FETD), hybrid (FE-FDTD), Integral TDIE (EFIE, MFIE –PWTD-)
o Frequency Domain: Variational (FEFD), Integral (EFIE, MFIE, MPIE) MoM w/o MLFMA
3D FULL-WAVE
High Frequency Band (> 100 λ) o Frequency Domain: PO, GTD, UTD, PW
NUMERICAL METHODS IN EMC
CIRCUITAL: LUMPED AND MTLN
5 Univ. of Nottingham, April 2016
Differential (FD): for maturity, scalability, ease of meshing, PARALLELIZABILITY …
Variational (DG, FV): for higher order accuracy and hp-adaptivity
FDTD, DGTD, FVTD
Differential & Explicit: for HPC, Marching-on-in-time: LF, RK4…
SPACE
TIME
6 Univ. of Nottingham, April 2016
EXPLICIT SCHEMES IN TD: ADVANTAGES
• Local Marching-on-in-time algorithm: updating the unknowns only require past unknowns at neighbour cells
• Simple formulation (no matrix inversions). • Physics (materials, currents...) naturally
treated: dielectric, magnetic, frequency dependent, nonlinear, anisotropic,…
• A single run can cover the whole frequency band
• Straightforwardly parallelizable
7 Univ. of Nottingham, April 2016
• Overall order dominated by time integration: eg: 2nd-order for Leap-frog.
• Conditionally stable: Maximum time-step bounded by space-step (unconditionally stable alternatives exist: implicit!)
• May last to converge for LF (can be combined with prediction techniques: Prony, permittivity scaling ...)
• Large CPU: brute-force sensitivity analysis
EXPLICIT SCHEMES IN TD: DRAWBACKS
8 Univ. of Nottingham, April 2016
THOUSANDS OF PAPERS. DOZENS OF
BOOKS
9 Univ. of Nottingham, April 2016
,
, 0
D E B H
D B
10 Univ. of Nottingham, April 2016
FDTD: FINITE DIFFERENCE TIME DOMAIN METHOD
Direct discretization of Maxwell curl equations by 2nd-order finite diferences for all derivatives, in a non co-located staggered space-time mesh
11 Univ. of Nottingham, April 2016
FINITE DIFFERENCE/AVERAGES
( / 2,...) ( / 2,...)( ,...)u
f u u f u uD f uu
Continuum Discrete
( ,...)f u( / 2,...) ( / 2,...)
( ,...)2
uf u u f u uP f u
( ,...)u f u
12 Univ. of Nottingham, April 2016
E.g.: For a single-component
13 Univ. of Nottingham, April 2016
DISCONTINUOUS GALERKIN TIME DOMAIN
Maxwell curl E-H equations in variational form tested/expanded (Galerkin) in HIGH-ORDER hierarchal basis on 1st/2nd-order tetrahedrons
0 0r rε εt t
E HH , E
The field is allowed to be DISCONTINUOUS at the boundary, but its flux is CONTINUOUS
Explicit marching-in-time
DGTD, FVTD
14 Univ. of Nottingham, April 2016
NODAL AND VECTOR DGTD Testing & expanding (Galerkin) in vector
1
( ) , e.g.Whitney'sedgesN
i i i j k k ji
E r E W W
Curl-conforming
SIMILAR BEHAVIOR: RIEMANN-LIKE FLUXES ATTENUATE SPURIOUS (BADLY RESOLVED)
SOLUTIONS REPORTED IN NODAL CONTINUOUS FEM
or (nodal) functions: Lagrange polynomials
15 Univ. of Nottingham, April 2016
16 Univ. of Nottingham, April 2016
17 Univ. of Nottingham, April 2016
STABILITY & CAUSALITY: COURANT-FRIEDRICHS-LEWY
4D numerical causal hypercone (Minkowski’s) must COMPRISE the analytical one (based in Lax convergence-stabilty equivalence theorem).
Practical corollary: E and H field components must be ALWAYS inter-dependent in the numerical scheme. E.g. if a E component uses some H, the latter must also use it.
18 Univ. of Nottingham, April 2016
11/2
2 3 2 3 2 3 2 3 '( , , , )
n nn
t x y z TO t x y z Rt
t T R K
11/2 1/2
n nn n
TR Kt
Yee FDTD
Analytical
CONSISTENCY: GLOBAL 2ND-ORDER
Yee FDTD
Analytical 1/2 1/2
0n n
t TR
Consistency truncation error must converge to 0 for increments tending to 0
19 Univ. of Nottingham, April 2016
DISPERSION & STABILITY: VON NEUMANN ANALYSIS
Plane waves are propagated by lossless source-free Maxwell’s equations in propagate in TEM modes
With an analytical dispersion relationship
( )
0( , , , )
, , , ( , , )
j t r
x y z
x y z t e
r x y z
20 Univ. of Nottingham, April 2016
Von-Neumann stability requires a non-increasing exponential, and hence imposes an UPPER LIMIT for the time-step determined by the spatial discretization steps.
2 2 2
2 2 2
1 1 1sin
2
1 1 1Im 0 1 Im 0
t c tx y z
s CFLN c tx y z
For a Cauchy problem with given wavenumber
STABILITY IMPLIES NON-DISSIPATION
DISPERSION & STABILITY: VON NEUMANN ANALYSIS
21 Univ. of Nottingham, April 2016
EXAMPLE: A 1D MATLAB CODE DISPERSION 0.7
c tx
22 Univ. of Nottingham, April 2016
DISPERSION & DISSIPATION
DISPERSION: DOMINATED BY TIME INTEGRATION ORDER (LF2 or RK4)
DISSIPATION: Inherent to penalized fluxes. Worsened by RK4 GOOD TO DAMP SPURIOUS FEM MODES (REPORTED IN NODAL CONTINUOUS FEM)
FDTD: 2nd ORDER. ~10º / λ AT 10 PPW ! DGTD: hth ORDER
23 Univ. of Nottingham, April 2016
ANISOTROPY IN DISPERSION FDTD DGTD
24 Univ. of Nottingham, April 2016
FDTD vs DGTD: PROs & CONs
DGTD method has a comparable computational cost to FDTD for practical applications, but preserving most of the advantages of finite element methods
25 Univ. of Nottingham, April 2016
26 Univ. of Nottingham, April 2016
HOW TO CHOOSE THE SAMPLING?
1/ tanQ
10 & 10(automatic in time if fulfilled in space)
Min
Ts y
Rule of the thumb for the number of cells per wavelength (PPW) in FDTD:
27 Univ. of Nottingham, April 2016
SOURCES: TOTAL/SCATTERED FIELD ZONING
28 Univ. of Nottingham, April 2016
TAFLOVE’S LINEARITY INTERPRETATION
REVERBERATING CHAMBER STOCHASTIC SOURCES
29 Univ. of Nottingham, April 2016
A fictious shell is added to the 3D FDTD domain with “impedance” matched free-space for ALL FREQUENCIES and for ALL ANGLES OF INCIDENCE
PERFECTLY MATCHED LAYER ABSORBING BOUNDARY CONDITIONS
30 Univ. of Nottingham, April 2016
STRETECHED PML INSTEAD OF SPLIT BERENGER PMLs
CAN ALSO ABSORB EVANESCENT WAVES BY TUNING:
31 Univ. of Nottingham, April 2016
MODAL ABSORPTION IN WAVEGUIDES WITH PML
32 Univ. of Nottingham, April 2016
DISPERSIVE MATERIALS VECTOR FITTING: poles/residues (complex conjugate pairs)
1
( ) ( ) ( ) ( ) ( ) ( ) ( )N
t kk
H j E H t E t E t P t
1
VECTOR FITTING
( )
Re 0 (Stable)
Nk
k k
k
Rj p
p
'( ')
'( ) ( ) ( ') '
( ) ( ) ( )
kt t p t t
k k k k t
t k k k k t
P t R E t R p e E t dt
P t p P t R E t
Into discrete TD, either: • Piecewise Linear Recursive Convolution • Auxiliary Differential Equation
PLRC ADE
33 Univ. of Nottingham, April 2016
ANISOTROPIC MATERIALS
34 Univ. of Nottingham, April 2016
MULTIPHYSICS: SEMICONDUCTOR MODELING
35 Univ. of Nottingham, April 2016
36 Univ. of Nottingham, April 2016
STAIRCASE MESHING
37 Univ. of Nottingham, April 2016
STAIRCASE ALTERNATIVES
S. Dey and R. Mittra, “A locally conformal finite-difference time-domain (FDTD) algorithm for modeling three-dimensional perfectly conducting objects,” IEEE Microwave Guided Wave Lett., vol. 7, pp.273–275, Sept. 1997.
38 Univ. of Nottingham, April 2016
Bistatic RCS of a NASA almond at 1 GHz. Comparison results between staircase, conformal relaxed and MoM/DGTD.
L2 error norm with respect to MoM/DGTD versus the number of Points Per Wavelength (PPW)
CONFORMAL FDTD
39 Univ. of Nottingham, April 2016
Carbon-fibber composites, laminates & sandwiches
Protective metallic meshes
Micro / nanocomposites
349.7
1345.1
669.6
2119.4
Carbon fibber
MWCNTs Graphene
nanoplatelets MWCNTs
DISPERSIVE SURFACES / METASURFACES
40 Univ. of Nottingham, April 2016
ANISOTROPIC DISPERSIVE THIN-PANELS
2-SIDED SURFACE IMPEDANCE BOUNDARY CON-DITIONS (IBC) (LOSSY MULTILAYERS)
0
10
1
( ) ( )( )
( ) ( )
cosh sinh( )
sinh cosh
my yd
iiz zd
i i i ii
i i i i i
H H
d dd d
1
,i ii i i i i ij
j j
0 0( ) ( )
( )( ) - ( )
y z
yd zd
HZ
H
41 Univ. of Nottingham, April 2016
VECTOR FITTING
STABILITY Boundedness
,
,
( ) analytic 0
( )( ) 1lim 0 & ( ) '
'
i rr i Cauchy
Z
ZZ Z P d
lim Z(t) Re 0ktp
CAUSALITY Response AFTER excitation
1
( ) RealsN
k
k k
RZ Zj p
KRAMER-KRONIG
*1
*
Re
(t)=Fourier
2 cos Imk
k kk
k k
p tk k
R RZj p j p
e R p t
PASSIVITY NO Energy generation
( )=eig ( ) ( ) 0 HZ Z
42 Univ. of Nottingham, April 2016
SUBGRIDDING BOUNDARY CONDITIONS (SGBC)
ALTERNATIVE TO SIBC
43 Univ. of Nottingham, April 2016
Effective Parameters
~2dB
Cell size=10 mm.
~4dB ~2dB
CONFORMAL THIN-PANELS
44 Univ. of Nottingham, April 2016
APPLICATIONS: INTA’s SIVA
ADM FDM GDM Expert impression
CP1 0.2038 0.5315 0.6243 Excellent CP3 0.2659 0.6137 0.742 Excellent CP7 0.2642 0.5336 0.6685 Excellent
FSV
R. Jauregui, M. Pous and F. Silva, "Use of reference limits in the Feature Selective Validation (FSV) method," Electromagnetic Compatibility (EMC Europe), 2014 International Symposium on, Gothenburg, 2014, pp. 1031-1036.
45 Univ. of Nottingham, April 2016
DISPERSIVE METASURFACES GRAPHENE
46 Univ. of Nottingham, April 2016
DISPERSIVE PERIODIC
METASURFACES: LUNEBURG LENS
47 Univ. of Nottingham, April 2016
48 Univ. of Nottingham, April 2016
, 0I V V IL RI LC E Ct t
, 0E HJ E curl H curl Et t
• The return path is provided by the solution of Maxwell equations at the adjacent space, in terms
of the displacement current flowing around a
section transversal to the path
• The assumption of transmission line propagation is no longer restricted to common-mode TL solutions, and they obtain both antenna-mode differential (radiation), and common-mode TL solutions
HYBRID MTLN – 3D FDTD SOLVER
TWO-WAY FIELD-TO-TL
49 Univ. of Nottingham, April 2016
1/2 1/2
1/2 1 , 1/2 2 , 1 3 ,
n n n n nk I k k I k k k I k kI b I b V V b E
1
1 ,
2 1
2 ,
1
3 ,
( / 2) ( / 2)
( / 2)
( / 2)
I k
I k
I k
b L R t L R ttb c L R t LC
b t L R t
1 1/2
1 , 2 ,
1
wNn n nk V k k V k q
q
V b V b I
, ,0, ,
(x, y, z)ln
2
u j mV
u j m
dxdydzaL
x y z
CONFORMAL CABLE SOLVER
50 Univ. of Nottingham, April 2016
• OK: Field-to-TL is especially suited for complex bundles • KO: Disregards the re-radiation effects of cables flowing
along cables. Depends on E/H coupling predominancy
FIELD-TO-TL CABLE SOLVER ONE-WAY FIELD-TO-TL:
CO-SIMULATION (NO GEOMETRY)
F. Rachidi, "A Review of Field-to-Transmission Line Coupling Models With Special Emphasis to Lightning-Induced Voltages on Overhead Lines," in IEEE Transactions on Electromagnetic Compatibility, vol. 54, no. 4, pp. 898-911, Aug. 2012.
Courtesy of Dassault
51 Univ. of Nottingham, April 2016
52 Univ. of Nottingham, April 2016
53 Univ. of Nottingham, April 2016
54 Univ. of Nottingham, April 2016
• OPEN-MP: Several cores intra-node. Directives to distribute DO-ENDDO loops
• MPI: Problem sliced among several nodes. Specific code to communicate data. Good scalability.
PRACTICAL APPROACH: SPLIT ALONG 1D DIRECTION TO
MAINTAIN MEMORY LOCALITY
> 20 Mcells/second/core
55 Univ. of Nottingham, April 2016
56 Univ. of Nottingham, April 2016
LARGE CPU FOR LF AND HIGH-Q
LARGE CPU REQUIREMENTS FOR • HIGH-Q ENCLOSURES & LOW FREQUENCY PROBLEMS
57 Univ. of Nottingham, April 2016
SENSITIVITY
58 Univ. of Nottingham, April 2016
NEXT STEP: STATISTICAL FDTD
FDTD CAN PROPAGATE EXPECTED VALUE & VARIANCE
59 Univ. of Nottingham, April 2016
OpenSEMBA Intro
Outline
Outline
1 SEMBA
2 Pre and post-processing
3 MeshersZMesherConformal Mesher
4 SolversUGRFDTDCUDG3D
OpenSEMBA Intro
SEMBA
SEMBA(Broadband Electromagnetic
Simulator)
OpenSEMBA Intro
SEMBA
Overview
SEMBA
SEMBA is a collection of integrated tools for TD CEM that canwork coordinately.
It includes DGTD and FDTD solvers.
Uses common structures originally created for DGTD to storeinformation that is used by the meshers and FDTD solvers.Now released as an OpenSource project (OpenSEMBA)
It has been developed essentially in the framework of theseprojects:
High Intensity Radiated Field Synthetic Environment(European FP7, ‘08-’13, 44 partners: BAEs, ALA, ONERA,EADS, THALES, etc).
A-UGRFDTD: Advanced UGRFDTD EM computer simulationtool (Airbus Mil., ‘12-’15).
OpenSEMBA Intro
SEMBA
Overview
Preprocessing PostprocessingMeshers
Paraview
GiD/Semba
Solvers
Conformal
ZMesher
DGTD
GiD/Semba
SEMBA Framework
FDTD
Collection of integrated tools. Darker colors are developments carried onwithin the UGR.
OpenSEMBA Intro
SEMBA
Overview
SEMBA and Cutoo
OpenSEMBA Intro
Pre/Post-processing
Pre and post-processing
OpenSEMBA Intro
Pre/Post-processing
Pre-processing
Pre-processing
The preprocessing is made with an extension of GiD having thefollowing features:
1 Direct use of CAD data: import, repair, collapse,...
2 Geometric modeling facilities.
3 Allows to choose among several meshers and solvers.
4 Easy and user friendly interface.
5 Physical models: materials, thin layers, wires.
6 Electromagnetic sources: plane-wave, dipoles, voltagegenerators.
7 Probes: time/frequency domain, bulk currents, differentgeometries.
OpenSEMBA Intro
Pre/Post-processing
Pre-processing
Pre-processing
CAD preprocessing with GiD-Semba Material assignment withGiD-Semba
OpenSEMBA Intro
Pre/Post-processing
Post-processing
Post-processing
Post-processing can be done with GiD and/or Paraview.
1 Visualization of fields andcurrents at differenttime-steps.
2 Can generate timeanimations to showevolution of fields andcurrents.
3 Results are also given inplain-text for additionalpreprocessing with customprograms.
OpenSEMBA Intro
Pre/Post-processing
Post-processing
Post-processing
GiD-Semba postprocessing view Paraview post-processing view
OpenSEMBA Intro
Meshers
Meshers
Meshers
OpenSEMBA Intro
Meshers
Meshers
Meshers are important
Good meshers can dramatically reduce engineering timeneed for preprocessing.
Simulation results will be as good as your mesh is.
Features of our solutions
Mind the Physics of the problem: preserves ohmicconnections, model sub-cell features, ...
Mesh complex wirings, preserving connectivities.
Can work with uncleaned CADs.
Extremely large meshes, billions of cells with a PC.
Fastest: Closest competitor is one order of magnitude slower.
Minimal memory requirements, under 1 GB of RAM fortypical meshes.
OpenSEMBA Intro
Meshers
ZMesher
ZMesher
Generates structuredregular and Cartesianmeshes.
Mimics the geometryproblem even for sub-cellfeatures.
Deeply tested in severalarchitectures, operatingsystems and compilers.
Licensed for distributionwithin GiD, to appear innext version. Antenna geometry is preserved
despite having a subcell geometry
OpenSEMBA Intro
Meshers
ZMesher
UAV mesh with 14.5 MCells. Obtained with a desktop computer in lessthan 5 minutes.
OpenSEMBA Intro
Meshers
ZMesher
Wire handling example. The connectivity among structures is preserved.
OpenSEMBA Intro
Meshers
Conformal Mesher
Conformal mesher
Mesh adapts betterto geometry,improved accuracy.
Geometricadaptation can begraded to optimizethe computationaltime-step by thesolver.
Captures geometricalsub-cell details. UAV motor detail
OpenSEMBA Intro
Meshers
Conformal Mesher
Isometric view of EV55 airplane. Conformal mesher offers betteradaptation to curved objects. Morphed Evektor EV55 Used under theHIRF-SE EU FP7 project.
OpenSEMBA Intro
Meshers
Conformal Mesher
Rear view of EV55 airplane conformal mesh. Different layers highlightedwith colors.
OpenSEMBA Intro
Meshers
Conformal Mesher
EV-55 meshed with ConformalMesher, internal view of the cockpit.
OpenSEMBA Intro
Meshers
Conformal Mesher
Example of the solution adopted by the Conformal Mesher to deal withsub-cell geometric details.
OpenSEMBA Intro
Solvers
SOLVERS
OpenSEMBA Intro
Solvers
Summary of solvers capabilities
UGRFDTD LFDG CUDG3DSpace discretizationAlgorithm Finite Differences Discontinuous GalerkinNum. Fluxes - Centered, Upwind, PenalizedElement types Rectilinear, conformal Linear or quadratic tet.Type of basis - Vector Nodalp-adaptivity - Yes NoTime integrationAlgorithm LF2 LF2, LSERK4 LF2, LSERK4, VerletLTS - Dosopoulos, Optimized ass. Montseny, CPLTSPhysical modelsEM Sources Any Any AnyAnisotropic mat. Yes Yes NoPMLs Cartesian (CPML) Conformal (ADE) Cartesian (ADE)Other absorbing BC. Mur 1st and 2nd Order Silver-Mueller ABCDispersive mat. Any (CCPR) Simply conductive Any (CCPR)Thin layers Yes No YesThin wires Yes No NoThin slots Yes No NoOtherLanguage Fortran (Intel) Fortran (Intel) C++ (gnu)OS Windows, Linux Windows, Linux LinuxParallelization MPI/OMP MPI/OMP MPI/OMP w. balanceOperator deduplication Intrinsic No YesGUI GiD-Semba, Cutoo GiD GiD-Semba
OpenSEMBA Intro
Solvers
UGRFDTD
UGRFDTD
OpenSEMBA Intro
Solvers
UGRFDTD
UGRFDTD features
UGRFDTD is a general-purpose time-domain simulator, speciallysuited to deal with HIRF, Lightning, NEMP... electrically-largeEMC problems involving complex structures, complex materialsand cables.
1 Multi-CPU (MPI) and multicore (OpenMP) capabilities.
2 Very large problems (billions of cells).
3 Improved accuracy with conformal meshing.
4 Materials with frequency dependent permittivity and/orpermeability, with an arbitrary number of complex-conjugatepole-residue pairs.
5 Bulk anisotropic materials, lossless and lossy dielectrics.
6 Cable bundles and harnesses.
7 Graphene, carbon nanotubes.
8 Multilayered composites, FSS, lossy surfaces, skin-depth, ...
OpenSEMBA Intro
Solvers
UGRFDTD
Validations: HIRF on several aircrafts
Validated at aircraft level with experimental data under HIRF-SE byINTA, Airbus, Dassault.
OpenSEMBA Intro
Solvers
CUDG3D
CUDG3D
OpenSEMBA Intro
Solvers
CUDG3D
Our DGTD solver, CUDG3D is now part of the OpenSEMBAproject. OpenSEMBA is an opensource set of tools forelectromagnetic simulations. It includes the following:
CUDG3D: A full wave electromagnetic solver based onthe Discontinuous Galerkin in Time Domain (DGTD)technique.
SEMBA-GiD. A GiD based Graphical User Interface (GUI).
libopensemba. A set of tools for storing, importing, exportingelectromagnetic data. Including mesh manipulationcapabilities.
This is all the minimum necessary to do simulations using a DGTDscheme.
Coding standard
OpenSEMBA is implemented in the C++ language using an OOPparadigm. Includes unit tests for many pieces of code.
OpenSEMBA Intro
Solvers
CUDG3D
Code repository is in GitHub:
https://github.com/OpenSEMBA/OpenSEMBA
Screenshot of the project in GitHub, an opensource code repository thatfacilitates collaboration.
OpenSEMBA Intro
Solvers
CUDG3D
CUDG3D is an open-source Discontinuous Galerkin Time DomainSolver specifically developed to solve Maxwell curl equations.
World unique DGTD Open-Source code for Maxwell’sequations (to the best of our knowledge) with close tocommercial features.
The code is being re-factored and is currently notoperational. We expect to have a renewed, fully operational,version by September 2016.
This re-factorization aims to make contributions and codeexpansion more easy in the future.
OpenSEMBA Intro
Solvers
CUDG3D
CUDG3D features
Spatial discretization
Supports centered, upwind, and partially-penalized numericalfluxes.
Linear or quadratic tetrahedrons.
Scalar nodal basis, tested to work up to order 3.
Does not support p-adaptivity.
Time Integration
Supported time integrators: LF2, LSERK4, Verlet.
Local Time Stepping: Montseny’s and CPLTS.
OpenSEMBA Intro
Solvers
CUDG3D
Physical models
Electromagnetic sources: dipoles and planewaves.
Cartesian non-homogeneous PMLs and SMA Boundaryconditions.
Dispersive materials (CCPR).
Thin layers (SIBC, CCPR).
Implementation details
MPI and OpenMP parallelization. Includes load balance forMPI.
Includes operator de-duplication (extremely important forwhen using semi-structured meshes).
OpenSEMBA Intro
Solvers
Conclusions
Conclusions
More information available in webpage:
www.sembahome.org
Video tutorials are available in the SEMBA channel in YouTube.
60 Univ. of Nottingham, April 2016