Re-structuring package layout
0
testing/__init__.py
普通文件
166
testing/analytical_solutions.py
普通文件
@@ -0,0 +1,166 @@
|
||||
# Copyright (C) 2015-2022: The University of Edinburgh, United Kingdom
|
||||
# Authors: Craig Warren, Antonis Giannopoulos, and John Hartley
|
||||
#
|
||||
# This file is part of gprMax.
|
||||
#
|
||||
# gprMax is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# gprMax is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with gprMax. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
import numpy as np
|
||||
|
||||
import gprMax.config as config
|
||||
from gprMax.waveforms import Waveform
|
||||
|
||||
|
||||
def hertzian_dipole_fs(iterations, dt, dxdydz, rx):
|
||||
"""Analytical solution of a z-directed Hertzian dipole in free space with a
|
||||
Gaussian current waveform (http://dx.doi.org/10.1016/0021-9991(83)90103-1).
|
||||
|
||||
Args:
|
||||
iterations: int for number of time steps.
|
||||
dt: float for time step (seconds).
|
||||
dxdydz: tuple of floats for spatial resolution (metres).
|
||||
rx: tuple of floats for coordinates of receiver position relative to
|
||||
transmitter position (metres).
|
||||
|
||||
Returns:
|
||||
fields: float array containing electric and magnetic field components.
|
||||
"""
|
||||
|
||||
# Waveform
|
||||
w = Waveform()
|
||||
w.type = 'gaussianprime'
|
||||
w.amp = 1
|
||||
w.freq = 1e9
|
||||
|
||||
# Waveform integral
|
||||
wint = Waveform()
|
||||
wint.type = 'gaussian'
|
||||
wint.amp = w.amp
|
||||
wint.freq = w.freq
|
||||
|
||||
# Waveform first derivative
|
||||
wdot = Waveform()
|
||||
wdot.type = 'gaussiandoubleprime'
|
||||
wdot.amp = w.amp
|
||||
wdot.freq = w.freq
|
||||
|
||||
# Time
|
||||
time = np.linspace(0, 1, iterations)
|
||||
time *= (iterations * dt)
|
||||
|
||||
# Spatial resolution
|
||||
dx = dxdydz[0]
|
||||
dy = dxdydz[1]
|
||||
dz = dxdydz[2]
|
||||
|
||||
# Length of Hertzian dipole
|
||||
dl = dz
|
||||
|
||||
# Coordinates of Rx relative to Tx
|
||||
x = rx[0]
|
||||
y = rx[1]
|
||||
z = rx[2]
|
||||
|
||||
# Coordinates of Rx for Ex FDTD component
|
||||
Ex_x = x + 0.5 * dx
|
||||
Ex_y = y
|
||||
Ex_z = z - 0.5 * dz
|
||||
Er_x = np.sqrt((Ex_x**2 + Ex_y**2 + Ex_z**2))
|
||||
tau_Ex = Er_x / config.sim_config.em_consts['c']
|
||||
|
||||
# Coordinates of Rx for Ey FDTD component
|
||||
Ey_x = x
|
||||
Ey_y = y + 0.5 * dy
|
||||
Ey_z = z - 0.5 * dz
|
||||
Er_y = np.sqrt((Ey_x**2 + Ey_y**2 + Ey_z**2))
|
||||
tau_Ey = Er_y / config.sim_config.em_consts['c']
|
||||
|
||||
# Coordinates of Rx for Ez FDTD component
|
||||
Ez_x = x
|
||||
Ez_y = y
|
||||
Ez_z = z
|
||||
Er_z = np.sqrt((Ez_x**2 + Ez_y**2 + Ez_z**2))
|
||||
tau_Ez = Er_z / config.sim_config.em_consts['c']
|
||||
|
||||
# Coordinates of Rx for Hx FDTD component
|
||||
Hx_x = x
|
||||
Hx_y = y + 0.5 * dy
|
||||
Hx_z = z
|
||||
Hr_x = np.sqrt((Hx_x**2 + Hx_y**2 + Hx_z**2))
|
||||
tau_Hx = Hr_x / config.sim_config.em_consts['c']
|
||||
|
||||
# Coordinates of Rx for Hy FDTD component
|
||||
Hy_x = x + 0.5 * dx
|
||||
Hy_y = y
|
||||
Hy_z = z
|
||||
Hr_y = np.sqrt((Hy_x**2 + Hy_y**2 + Hy_z**2))
|
||||
tau_Hy = Hr_y / config.sim_config.em_consts['c']
|
||||
|
||||
# Initialise fields
|
||||
fields = np.zeros((iterations, 6))
|
||||
|
||||
# Calculate fields
|
||||
for timestep in range(iterations):
|
||||
|
||||
# Calculate values for waveform, I * dl (current multiplied by dipole
|
||||
# length) to match gprMax behaviour
|
||||
fint_Ex = wint.calculate_value((timestep * dt) - tau_Ex, dt) * dl
|
||||
f_Ex = w.calculate_value((timestep * dt) - tau_Ex, dt) * dl
|
||||
fdot_Ex = wdot.calculate_value((timestep * dt) - tau_Ex, dt) * dl
|
||||
|
||||
fint_Ey = wint.calculate_value((timestep * dt) - tau_Ey, dt) * dl
|
||||
f_Ey = w.calculate_value((timestep * dt) - tau_Ey, dt) * dl
|
||||
fdot_Ey = wdot.calculate_value((timestep * dt) - tau_Ey, dt) * dl
|
||||
|
||||
fint_Ez = wint.calculate_value((timestep * dt) - tau_Ez, dt) * dl
|
||||
f_Ez = w.calculate_value((timestep * dt) - tau_Ez, dt) * dl
|
||||
fdot_Ez = wdot.calculate_value((timestep * dt) - tau_Ez, dt) * dl
|
||||
|
||||
f_Hx = w.calculate_value((timestep * dt) - tau_Hx, dt) * dl
|
||||
fdot_Hx = wdot.calculate_value((timestep * dt) - tau_Hx, dt) * dl
|
||||
|
||||
f_Hy = w.calculate_value((timestep * dt) - tau_Hy, dt) * dl
|
||||
fdot_Hy = wdot.calculate_value((timestep * dt) - tau_Hy, dt) * dl
|
||||
|
||||
# Ex
|
||||
fields[timestep, 0] = (((Ex_x * Ex_z) / (4 * np.pi * config.sim_config.em_consts['e0'] * Er_x**5)) *
|
||||
(3 * (fint_Ex + (tau_Ex * f_Ex)) + (tau_Ex**2 * fdot_Ex)))
|
||||
|
||||
# Ey
|
||||
try:
|
||||
tmp = Ey_y / Ey_x
|
||||
except ZeroDivisionError:
|
||||
tmp = 0
|
||||
fields[timestep, 1] = (tmp * ((Ey_x * Ey_z) / (4 * np.pi * config.sim_config.em_consts['e0'] * Er_y**5)) *
|
||||
(3 * (fint_Ey + (tau_Ey * f_Ey)) + (tau_Ey**2 * fdot_Ey)))
|
||||
|
||||
# Ez
|
||||
fields[timestep, 2] = ((1 / (4 * np.pi * config.sim_config.em_consts['e0'] * Er_z**5)) *
|
||||
((2 * Ez_z**2 - (Ez_x**2 + Ez_y**2)) * (fint_Ez + (tau_Ez * f_Ez)) -
|
||||
(Ez_x**2 + Ez_y**2) * tau_Ez**2 * fdot_Ez))
|
||||
|
||||
# Hx
|
||||
fields[timestep, 3] = - (Hx_y / (4 * np.pi * Hr_x**3)) * (f_Hx + (tau_Hx * fdot_Hx))
|
||||
|
||||
# Hy
|
||||
try:
|
||||
tmp = Hy_x / Hy_y
|
||||
except ZeroDivisionError:
|
||||
tmp = 0
|
||||
fields[timestep, 4] = - tmp * (- (Hy_y / (4 * np.pi * Hr_y**3)) * (f_Hy + (tau_Hy * fdot_Hy)))
|
||||
|
||||
# Hz
|
||||
fields[timestep, 5] = 0
|
||||
|
||||
return fields
|
@@ -0,0 +1,7 @@
|
||||
#domain: 0.1 0.1 0.1
|
||||
#dx_dy_dz: 0.001 0.001 0.001
|
||||
#time_window: 3e-9
|
||||
|
||||
#waveform: gaussiandotnorm 1 900e6 MySource
|
||||
#hertzian_dipole: x 0.05 0.05 0.05 MySource
|
||||
#rx: 0.05 0.05 0.05
|
@@ -0,0 +1,7 @@
|
||||
#domain: 0.15 0.15 0.15
|
||||
#dx_dy_dz: 0.001 0.001 0.001
|
||||
#time_window: 3e-9
|
||||
|
||||
#waveform: gaussiandotnorm 1 900e6 MySource
|
||||
#hertzian_dipole: x 0.05 0.05 0.05 MySource
|
||||
#rx: 0.05 0.05 0.05
|
@@ -0,0 +1,7 @@
|
||||
#domain: 0.2 0.2 0.2
|
||||
#dx_dy_dz: 0.001 0.001 0.001
|
||||
#time_window: 3e-9
|
||||
|
||||
#waveform: gaussiandotnorm 1 900e6 MySource
|
||||
#hertzian_dipole: x 0.05 0.05 0.05 MySource
|
||||
#rx: 0.05 0.05 0.05
|
@@ -0,0 +1,7 @@
|
||||
#domain: 0.3 0.3 0.3
|
||||
#dx_dy_dz: 0.001 0.001 0.001
|
||||
#time_window: 3e-9
|
||||
|
||||
#waveform: gaussiandotnorm 1 900e6 MySource
|
||||
#hertzian_dipole: x 0.05 0.05 0.05 MySource
|
||||
#rx: 0.05 0.05 0.05
|
@@ -0,0 +1,7 @@
|
||||
#domain: 0.4 0.4 0.4
|
||||
#dx_dy_dz: 0.001 0.001 0.001
|
||||
#time_window: 3e-9
|
||||
|
||||
#waveform: gaussiandotnorm 1 900e6 MySource
|
||||
#hertzian_dipole: x 0.05 0.05 0.05 MySource
|
||||
#rx: 0.05 0.05 0.05
|
@@ -0,0 +1,7 @@
|
||||
#domain: 0.45 0.45 0.45
|
||||
#dx_dy_dz: 0.001 0.001 0.001
|
||||
#time_window: 3e-9
|
||||
|
||||
#waveform: gaussiandotnorm 1 900e6 MySource
|
||||
#hertzian_dipole: x 0.05 0.05 0.05 MySource
|
||||
#rx: 0.05 0.05 0.05
|
@@ -0,0 +1,7 @@
|
||||
#domain: 0.5 0.5 0.5
|
||||
#dx_dy_dz: 0.001 0.001 0.001
|
||||
#time_window: 3e-9
|
||||
|
||||
#waveform: gaussiandotnorm 1 900e6 MySource
|
||||
#hertzian_dipole: x 0.05 0.05 0.05 MySource
|
||||
#rx: 0.05 0.05 0.05
|
@@ -0,0 +1,7 @@
|
||||
#domain: 0.6 0.6 0.6
|
||||
#dx_dy_dz: 0.001 0.001 0.001
|
||||
#time_window: 3e-9
|
||||
|
||||
#waveform: gaussiandotnorm 1 900e6 MySource
|
||||
#hertzian_dipole: x 0.05 0.05 0.05 MySource
|
||||
#rx: 0.05 0.05 0.05
|
@@ -0,0 +1,7 @@
|
||||
#domain: 0.7 0.7 0.7
|
||||
#dx_dy_dz: 0.001 0.001 0.001
|
||||
#time_window: 3e-9
|
||||
|
||||
#waveform: gaussiandotnorm 1 900e6 MySource
|
||||
#hertzian_dipole: x 0.05 0.05 0.05 MySource
|
||||
#rx: 0.05 0.05 0.05
|
@@ -0,0 +1,7 @@
|
||||
#domain: 0.8 0.8 0.8
|
||||
#dx_dy_dz: 0.001 0.001 0.001
|
||||
#time_window: 3e-9
|
||||
|
||||
#waveform: gaussiandotnorm 1 900e6 MySource
|
||||
#hertzian_dipole: x 0.05 0.05 0.05 MySource
|
||||
#rx: 0.05 0.05 0.05
|
之后 宽度: | 高度: | 大小: 198 KiB |
之后 宽度: | 高度: | 大小: 217 KiB |
之后 宽度: | 高度: | 大小: 201 KiB |
之后 宽度: | 高度: | 大小: 165 KiB |
之后 宽度: | 高度: | 大小: 157 KiB |
之后 宽度: | 高度: | 大小: 165 KiB |
之后 宽度: | 高度: | 大小: 214 KiB |
之后 宽度: | 高度: | 大小: 156 KiB |
之后 宽度: | 高度: | 大小: 152 KiB |
之后 宽度: | 高度: | 大小: 315 KiB |
之后 宽度: | 高度: | 大小: 315 KiB |
之后 宽度: | 高度: | 大小: 161 KiB |
之后 宽度: | 高度: | 大小: 150 KiB |
之后 宽度: | 高度: | 大小: 153 KiB |
@@ -0,0 +1,10 @@
|
||||
#title: GSSI 1.5GHz 'like' antenna in free-space
|
||||
#domain: 0.250 0.187 0.183
|
||||
#dx_dy_dz: 0.001 0.001 0.001
|
||||
#time_window: 8E-9
|
||||
|
||||
#python:
|
||||
from user_libs.GPRAntennaModels import antenna_like_GSSI_1500
|
||||
antenna_like_GSSI_1500(0.125, 0.094, 0.100)
|
||||
#end_python:
|
||||
|
@@ -0,0 +1,82 @@
|
||||
#title: GSSI 1.5GHz 'like' antenna in free-space
|
||||
#domain: 0.250 0.187 0.183
|
||||
#dx_dy_dz: 0.001 0.001 0.001
|
||||
#time_window: 8E-9
|
||||
#material: 1.7 0.59 1.0 0.0 absorber
|
||||
#material: 3.0 0.0 1.0 0.0 pcb
|
||||
#material: 2.35 0.0 1.0 0.0 hdpe
|
||||
#box: 0.039999999999999994 0.04 0.10400000000000001 0.21000000000000002 0.148 0.14700000000000002 hdpe
|
||||
#box: 0.041999999999999996 0.042 0.10400000000000001 0.20800000000000002 0.146 0.14500000000000002 free_space
|
||||
#box: 0.065 0.042 0.10400000000000001 0.18500000000000003 0.146 0.131 pec
|
||||
#box: 0.067 0.044000000000000004 0.10400000000000001 0.124 0.144 0.128 pcb
|
||||
#box: 0.07 0.04700000000000001 0.10400000000000001 0.121 0.141 0.129 absorber
|
||||
#box: 0.126 0.044000000000000004 0.10400000000000001 0.183 0.144 0.128 pcb
|
||||
#box: 0.129 0.04700000000000001 0.10400000000000001 0.18 0.141 0.129 absorber
|
||||
#box: 0.07 0.04700000000000001 0.10400000000000001 0.121 0.141 0.10600000000000001 pcb
|
||||
#box: 0.129 0.04700000000000001 0.10400000000000001 0.18 0.141 0.10600000000000001 pcb
|
||||
#plate: 0.08499999999999999 0.079 0.10400000000000001 0.105 0.08 0.10400000000000001 pec
|
||||
#plate: 0.08499999999999999 0.10700000000000001 0.10400000000000001 0.105 0.10800000000000001 0.10400000000000001 pec
|
||||
#plate: 0.144 0.079 0.10400000000000001 0.16399999999999998 0.08 0.10400000000000001 pec
|
||||
#plate: 0.144 0.10700000000000001 0.10400000000000001 0.16399999999999998 0.10800000000000001 0.10400000000000001 pec
|
||||
#plate: 0.086 0.08 0.10400000000000001 0.104 0.081 0.10400000000000001 pec
|
||||
#plate: 0.086 0.10600000000000001 0.10400000000000001 0.104 0.10700000000000001 0.10400000000000001 pec
|
||||
#plate: 0.145 0.08 0.10400000000000001 0.16299999999999998 0.081 0.10400000000000001 pec
|
||||
#plate: 0.145 0.10600000000000001 0.10400000000000001 0.16299999999999998 0.10700000000000001 0.10400000000000001 pec
|
||||
#plate: 0.087 0.081 0.10400000000000001 0.103 0.082 0.10400000000000001 pec
|
||||
#plate: 0.087 0.10500000000000001 0.10400000000000001 0.103 0.10600000000000001 0.10400000000000001 pec
|
||||
#plate: 0.146 0.081 0.10400000000000001 0.16199999999999998 0.082 0.10400000000000001 pec
|
||||
#plate: 0.146 0.10500000000000001 0.10400000000000001 0.16199999999999998 0.10600000000000001 0.10400000000000001 pec
|
||||
#plate: 0.087 0.082 0.10400000000000001 0.103 0.083 0.10400000000000001 pec
|
||||
#plate: 0.087 0.10400000000000001 0.10400000000000001 0.103 0.10500000000000001 0.10400000000000001 pec
|
||||
#plate: 0.146 0.082 0.10400000000000001 0.16199999999999998 0.083 0.10400000000000001 pec
|
||||
#plate: 0.146 0.10400000000000001 0.10400000000000001 0.16199999999999998 0.10500000000000001 0.10400000000000001 pec
|
||||
#plate: 0.088 0.083 0.10400000000000001 0.102 0.084 0.10400000000000001 pec
|
||||
#plate: 0.088 0.10300000000000001 0.10400000000000001 0.102 0.10400000000000001 0.10400000000000001 pec
|
||||
#plate: 0.147 0.083 0.10400000000000001 0.16099999999999998 0.084 0.10400000000000001 pec
|
||||
#plate: 0.147 0.10300000000000001 0.10400000000000001 0.16099999999999998 0.10400000000000001 0.10400000000000001 pec
|
||||
#plate: 0.089 0.084 0.10400000000000001 0.10099999999999999 0.085 0.10400000000000001 pec
|
||||
#plate: 0.089 0.10200000000000001 0.10400000000000001 0.10099999999999999 0.10300000000000001 0.10400000000000001 pec
|
||||
#plate: 0.148 0.084 0.10400000000000001 0.15999999999999998 0.085 0.10400000000000001 pec
|
||||
#plate: 0.148 0.10200000000000001 0.10400000000000001 0.15999999999999998 0.10300000000000001 0.10400000000000001 pec
|
||||
#plate: 0.089 0.085 0.10400000000000001 0.10099999999999999 0.08600000000000001 0.10400000000000001 pec
|
||||
#plate: 0.089 0.101 0.10400000000000001 0.10099999999999999 0.10200000000000001 0.10400000000000001 pec
|
||||
#plate: 0.148 0.085 0.10400000000000001 0.15999999999999998 0.08600000000000001 0.10400000000000001 pec
|
||||
#plate: 0.148 0.101 0.10400000000000001 0.15999999999999998 0.10200000000000001 0.10400000000000001 pec
|
||||
#plate: 0.09 0.08600000000000001 0.10400000000000001 0.09999999999999999 0.08700000000000001 0.10400000000000001 pec
|
||||
#plate: 0.09 0.1 0.10400000000000001 0.09999999999999999 0.101 0.10400000000000001 pec
|
||||
#plate: 0.149 0.08600000000000001 0.10400000000000001 0.15899999999999997 0.08700000000000001 0.10400000000000001 pec
|
||||
#plate: 0.149 0.1 0.10400000000000001 0.15899999999999997 0.101 0.10400000000000001 pec
|
||||
#plate: 0.091 0.087 0.10400000000000001 0.09899999999999999 0.088 0.10400000000000001 pec
|
||||
#plate: 0.091 0.099 0.10400000000000001 0.09899999999999999 0.1 0.10400000000000001 pec
|
||||
#plate: 0.15 0.087 0.10400000000000001 0.15799999999999997 0.088 0.10400000000000001 pec
|
||||
#plate: 0.15 0.099 0.10400000000000001 0.15799999999999997 0.1 0.10400000000000001 pec
|
||||
#plate: 0.092 0.088 0.10400000000000001 0.09799999999999999 0.089 0.10400000000000001 pec
|
||||
#plate: 0.092 0.098 0.10400000000000001 0.09799999999999999 0.099 0.10400000000000001 pec
|
||||
#plate: 0.151 0.088 0.10400000000000001 0.15699999999999997 0.089 0.10400000000000001 pec
|
||||
#plate: 0.151 0.098 0.10400000000000001 0.15699999999999997 0.099 0.10400000000000001 pec
|
||||
#plate: 0.092 0.089 0.10400000000000001 0.09799999999999999 0.09 0.10400000000000001 pec
|
||||
#plate: 0.092 0.09700000000000002 0.10400000000000001 0.09799999999999999 0.09800000000000002 0.10400000000000001 pec
|
||||
#plate: 0.151 0.089 0.10400000000000001 0.15699999999999997 0.09 0.10400000000000001 pec
|
||||
#plate: 0.151 0.09700000000000002 0.10400000000000001 0.15699999999999997 0.09800000000000002 0.10400000000000001 pec
|
||||
#plate: 0.093 0.09 0.10400000000000001 0.097 0.091 0.10400000000000001 pec
|
||||
#plate: 0.093 0.09600000000000002 0.10400000000000001 0.097 0.09700000000000002 0.10400000000000001 pec
|
||||
#plate: 0.152 0.09 0.10400000000000001 0.15599999999999997 0.091 0.10400000000000001 pec
|
||||
#plate: 0.152 0.09600000000000002 0.10400000000000001 0.15599999999999997 0.09700000000000002 0.10400000000000001 pec
|
||||
#plate: 0.094 0.091 0.10400000000000001 0.096 0.092 0.10400000000000001 pec
|
||||
#plate: 0.094 0.09500000000000001 0.10400000000000001 0.096 0.09600000000000002 0.10400000000000001 pec
|
||||
#plate: 0.153 0.091 0.10400000000000001 0.15499999999999997 0.092 0.10400000000000001 pec
|
||||
#plate: 0.153 0.09500000000000001 0.10400000000000001 0.15499999999999997 0.09600000000000002 0.10400000000000001 pec
|
||||
#plate: 0.08399999999999999 0.10800000000000001 0.10400000000000001 0.10599999999999998 0.12300000000000001 0.10400000000000001 pec
|
||||
#plate: 0.143 0.10800000000000001 0.10400000000000001 0.16499999999999998 0.12300000000000001 0.10400000000000001 pec
|
||||
#edge: 0.095 0.092 0.10400000000000001 0.095 0.093 0.10400000000000001 pec
|
||||
#edge: 0.095 0.094 0.10400000000000001 0.095 0.095 0.10400000000000001 pec
|
||||
#edge: 0.154 0.092 0.10400000000000001 0.154 0.093 0.10400000000000001 pec
|
||||
#edge: 0.154 0.094 0.10400000000000001 0.154 0.095 0.10400000000000001 pec
|
||||
#plate: 0.08399999999999999 0.064 0.10400000000000001 0.10599999999999998 0.079 0.10400000000000001 pec
|
||||
#plate: 0.143 0.064 0.10400000000000001 0.16499999999999998 0.079 0.10400000000000001 pec
|
||||
#box: 0.039999999999999994 0.04 0.1 0.21000000000000002 0.148 0.10400000000000001 hdpe
|
||||
#geometry_view: 0.03899999999999999 0.039 0.099 0.21100000000000002 0.149 0.14800000000000002 0.001 0.001 0.001 antenna_like_GSSI_1500 n
|
||||
#geometry_view: 0.039999999999999994 0.04 0.1 0.21000000000000002 0.148 0.11 0.001 0.001 0.001 antenna_like_GSSI_1500_pcb f
|
||||
#waveform: gaussian 1.0 1500000000.0 myGaussian
|
||||
#voltage_source: y 0.154 0.093 0.10400000000000001 50 myGaussian
|
||||
#rx: 0.095 0.093 0.10400000000000001
|
@@ -0,0 +1,10 @@
|
||||
#title: MALA 1.2GHz 'like' antenna in free-space
|
||||
#domain: 0.264 0.189 0.220
|
||||
#dx_dy_dz: 0.001 0.001 0.001
|
||||
#time_window: 6e-9
|
||||
|
||||
#python:
|
||||
from user_libs.GPRAntennaModels import antenna_like_MALA_1200
|
||||
antenna_like_MALA_1200(0.132, 0.095, 0.100)
|
||||
#end_python:
|
||||
|
@@ -0,0 +1,77 @@
|
||||
#title: MALA 1.2GHz 'like' antenna in free-space
|
||||
#domain: 0.264 0.189 0.220
|
||||
#dx_dy_dz: 0.001 0.001 0.001
|
||||
#time_window: 6e-9
|
||||
#material: 6.49 0.252 1.0 0.0 absorber
|
||||
#material: 3.0 0.0 1.0 0.0 pcb
|
||||
#material: 2.35 0.0 1.0 0.0 hdpe
|
||||
#material: 2.26 0.0 1.0 0.0 polypropylene
|
||||
#material: 3.0 4.255 1.0 0.0 txreslower
|
||||
#material: 3.0 3.191 1.0 0.0 txresupper
|
||||
#material: 3.0 13.333 1.0 0.0 rxreslower
|
||||
#material: 3.0 10.000 1.0 0.0 rxresupper
|
||||
#box: 0.04000000000000001 0.0405 0.10600000000000001 0.224 0.1495 0.14600000000000002 pec
|
||||
#box: 0.06000000000000001 0.0425 0.10600000000000001 0.14 0.1475 0.10800000000000001 free_space
|
||||
#box: 0.14 0.0425 0.10600000000000001 0.222 0.1475 0.10800000000000001 free_space
|
||||
#box: 0.06000000000000001 0.0425 0.10600000000000001 0.14 0.1475 0.14400000000000002 absorber
|
||||
#box: 0.14 0.0425 0.10600000000000001 0.222 0.1475 0.14400000000000002 absorber
|
||||
#cylinder: 0.095 0.1415 0.10600000000000001 0.095 0.1415 0.14400000000000002 0.008 pec
|
||||
#cylinder: 0.095 0.0485 0.10600000000000001 0.095 0.0485 0.14400000000000002 0.008 pec
|
||||
#cylinder: 0.187 0.1415 0.10600000000000001 0.187 0.1415 0.14400000000000002 0.008 pec
|
||||
#cylinder: 0.187 0.0485 0.10600000000000001 0.187 0.0485 0.14400000000000002 0.008 pec
|
||||
#cylinder: 0.095 0.1415 0.10600000000000001 0.095 0.1415 0.14400000000000002 0.007 free_space
|
||||
#cylinder: 0.095 0.0485 0.10600000000000001 0.095 0.0485 0.14400000000000002 0.007 free_space
|
||||
#cylinder: 0.187 0.1415 0.10600000000000001 0.187 0.1415 0.14400000000000002 0.007 free_space
|
||||
#cylinder: 0.187 0.0485 0.10600000000000001 0.187 0.0485 0.14400000000000002 0.007 free_space
|
||||
#box: 0.094 0.1335 0.10600000000000001 0.096 0.13549999999999998 0.14400000000000002 free_space
|
||||
#box: 0.094 0.0545 0.10600000000000001 0.096 0.0565 0.14400000000000002 free_space
|
||||
#box: 0.186 0.1335 0.10600000000000001 0.188 0.13549999999999998 0.14400000000000002 free_space
|
||||
#box: 0.186 0.0545 0.10600000000000001 0.188 0.0565 0.14400000000000002 free_space
|
||||
#box: 0.06000000000000001 0.058499999999999996 0.10600000000000001 0.222 0.1315 0.10800000000000001 pcb
|
||||
#box: 0.07200000000000001 0.0625 0.10600000000000001 0.134 0.1245 0.14300000000000002 pec
|
||||
#box: 0.07300000000000001 0.0635 0.10600000000000001 0.133 0.1235 0.14300000000000002 absorber
|
||||
#box: 0.14800000000000002 0.0625 0.10600000000000001 0.21000000000000002 0.1245 0.14300000000000002 pec
|
||||
#box: 0.14900000000000002 0.0635 0.10600000000000001 0.20900000000000002 0.1235 0.14300000000000002 free_space
|
||||
#box: 0.134 0.1185 0.14100000000000001 0.14800000000000002 0.1245 0.14300000000000002 pec
|
||||
#box: 0.134 0.0625 0.14100000000000001 0.14800000000000002 0.0685 0.14300000000000002 pec
|
||||
#box: 0.07300000000000001 0.0635 0.10600000000000001 0.133 0.1235 0.10800000000000001 pcb
|
||||
#box: 0.14900000000000002 0.0635 0.10600000000000001 0.20900000000000002 0.1235 0.10800000000000001 pcb
|
||||
#triangle: 0.10300000000000001 0.0915 0.10600000000000001 0.07700000000000001 0.0665 0.10600000000000001 0.129 0.0665 0.10600000000000001 0 pec
|
||||
#edge: 0.10300000000000001 0.0915 0.10600000000000001 0.10300000000000001 0.0925 0.10600000000000001 pec
|
||||
#triangle: 0.10300000000000001 0.0945 0.10600000000000001 0.07700000000000001 0.1195 0.10600000000000001 0.129 0.1195 0.10600000000000001 0 pec
|
||||
#edge: 0.10300000000000001 0.0935 0.10600000000000001 0.10300000000000001 0.0945 0.10600000000000001 pec
|
||||
#triangle: 0.179 0.0915 0.10600000000000001 0.153 0.0665 0.10600000000000001 0.205 0.0665 0.10600000000000001 0 pec
|
||||
#edge: 0.179 0.0915 0.10600000000000001 0.179 0.0925 0.10600000000000001 pec
|
||||
#triangle: 0.179 0.0945 0.10600000000000001 0.153 0.1195 0.10600000000000001 0.205 0.1195 0.10600000000000001 0 pec
|
||||
#edge: 0.179 0.0935 0.10600000000000001 0.179 0.0945 0.10600000000000001 pec
|
||||
#edge: 0.08000000000000002 0.0635 0.10600000000000001 0.08000000000000002 0.0665 0.10600000000000001 txreslower
|
||||
#edge: 0.08100000000000002 0.0635 0.10600000000000001 0.08100000000000002 0.0665 0.10600000000000001 txreslower
|
||||
#edge: 0.10300000000000001 0.0635 0.10600000000000001 0.10300000000000001 0.0665 0.10600000000000001 txreslower
|
||||
#edge: 0.10400000000000001 0.0635 0.10600000000000001 0.10400000000000001 0.0665 0.10600000000000001 txreslower
|
||||
#edge: 0.125 0.0635 0.10600000000000001 0.125 0.0665 0.10600000000000001 txreslower
|
||||
#edge: 0.126 0.0635 0.10600000000000001 0.126 0.0665 0.10600000000000001 txreslower
|
||||
#edge: 0.08000000000000002 0.1195 0.10600000000000001 0.08000000000000002 0.1235 0.10600000000000001 txresupper
|
||||
#edge: 0.08100000000000002 0.1195 0.10600000000000001 0.08100000000000002 0.1235 0.10600000000000001 txresupper
|
||||
#edge: 0.10300000000000001 0.1195 0.10600000000000001 0.10300000000000001 0.1235 0.10600000000000001 txresupper
|
||||
#edge: 0.10400000000000001 0.1195 0.10600000000000001 0.10400000000000001 0.1235 0.10600000000000001 txresupper
|
||||
#edge: 0.125 0.1195 0.10600000000000001 0.125 0.1235 0.10600000000000001 txresupper
|
||||
#edge: 0.126 0.1195 0.10600000000000001 0.126 0.1235 0.10600000000000001 txresupper
|
||||
#edge: 0.15600000000000003 0.0635 0.10600000000000001 0.15600000000000003 0.0665 0.10600000000000001 rxreslower
|
||||
#edge: 0.15700000000000003 0.0635 0.10600000000000001 0.15700000000000003 0.0665 0.10600000000000001 rxreslower
|
||||
#edge: 0.179 0.0635 0.10600000000000001 0.179 0.0665 0.10600000000000001 rxreslower
|
||||
#edge: 0.18 0.0635 0.10600000000000001 0.18 0.0665 0.10600000000000001 rxreslower
|
||||
#edge: 0.201 0.0635 0.10600000000000001 0.201 0.0665 0.10600000000000001 rxreslower
|
||||
#edge: 0.202 0.0635 0.10600000000000001 0.202 0.0665 0.10600000000000001 rxreslower
|
||||
#edge: 0.15600000000000003 0.1195 0.10600000000000001 0.15600000000000003 0.1235 0.10600000000000001 rxresupper
|
||||
#edge: 0.15700000000000003 0.1195 0.10600000000000001 0.15700000000000003 0.1235 0.10600000000000001 rxresupper
|
||||
#edge: 0.179 0.1195 0.10600000000000001 0.179 0.1235 0.10600000000000001 rxresupper
|
||||
#edge: 0.18 0.1195 0.10600000000000001 0.18 0.1235 0.10600000000000001 rxresupper
|
||||
#edge: 0.201 0.1195 0.10600000000000001 0.201 0.1235 0.10600000000000001 rxresupper
|
||||
#edge: 0.202 0.1195 0.10600000000000001 0.202 0.1235 0.10600000000000001 rxresupper
|
||||
#box: 0.04000000000000001 0.0405 0.1 0.224 0.1495 0.10300000000000001 polypropylene
|
||||
#box: 0.04000000000000001 0.0405 0.10300000000000001 0.224 0.1495 0.10600000000000001 hdpe
|
||||
#geometry_view: 0.03900000000000001 0.0395 0.099 0.225 0.1505 0.14700000000000002 0.001 0.001 0.001 antenna_like_MALA_1200 n
|
||||
#geometry_view: 0.04000000000000001 0.0405 0.1 0.224 0.1495 0.11 0.001 0.001 0.001 antenna_like_MALA_1200_pcb f
|
||||
#waveform: gaussian 1.0 978000000.0 myGaussian
|
||||
#voltage_source: y 0.10300000000000001 0.0925 0.10600000000000001 1000 myGaussian
|
||||
#rx: 0.179 0.0925 0.10600000000000001
|
@@ -0,0 +1,8 @@
|
||||
#title: 2D test Ex, Hy, Hz components
|
||||
#domain: 0.001 0.100 0.100
|
||||
#dx_dy_dz: 0.001 0.001 0.001
|
||||
#time_window: 3e-9
|
||||
|
||||
#waveform: gaussiandot 1 1e9 myWave
|
||||
#hertzian_dipole: x 0 0.050 0.050 myWave
|
||||
#rx: 0 0.070 0.070
|
之后 宽度: | 高度: | 大小: 170 KiB |
之后 宽度: | 高度: | 大小: 136 KiB |
@@ -0,0 +1,8 @@
|
||||
#title: 2D test Ey, Hx, Hz components
|
||||
#domain: 0.100 0.001 0.100
|
||||
#dx_dy_dz: 0.001 0.001 0.001
|
||||
#time_window: 3e-9
|
||||
|
||||
#waveform: gaussiandot 1 1e9 myWave
|
||||
#hertzian_dipole: y 0.050 0 0.050 myWave
|
||||
#rx: 0.070 0 0.070
|
之后 宽度: | 高度: | 大小: 170 KiB |
之后 宽度: | 高度: | 大小: 134 KiB |
@@ -0,0 +1,8 @@
|
||||
#title: 2D test Ez, Hx, Hy components
|
||||
#domain: 0.100 0.100 0.001
|
||||
#dx_dy_dz: 0.001 0.001 0.001
|
||||
#time_window: 3e-9
|
||||
|
||||
#waveform: gaussiandot 1 1e9 myWave
|
||||
#hertzian_dipole: z 0.050 0.050 0 myWave
|
||||
#rx: 0.070 0.070 0
|
之后 宽度: | 高度: | 大小: 170 KiB |
之后 宽度: | 高度: | 大小: 136 KiB |
@@ -0,0 +1,13 @@
|
||||
#title: A-scan from a metal cylinder buried in a dielectric half-space
|
||||
#domain: 0.240 0.210 0.002
|
||||
#dx_dy_dz: 0.002 0.002 0.002
|
||||
#time_window: 3e-9
|
||||
|
||||
#material: 6 0 1 0 half_space
|
||||
|
||||
#waveform: ricker 1 1.5e9 my_ricker
|
||||
#hertzian_dipole: z 0.100 0.170 0 my_ricker
|
||||
#rx: 0.140 0.170 0
|
||||
|
||||
#box: 0 0 0 0.240 0.170 0.002 half_space
|
||||
#cylinder: 0.120 0.080 0 0.120 0.080 0.002 0.010 pec
|
之后 宽度: | 高度: | 大小: 193 KiB |
之后 宽度: | 高度: | 大小: 148 KiB |
@@ -0,0 +1,12 @@
|
||||
#title: Hertzian dipole in water
|
||||
#domain: 0.100 0.100 0.100
|
||||
#dx_dy_dz: 0.001 0.001 0.001
|
||||
#time_window: 3e-9
|
||||
|
||||
#waveform: gaussiandot 1 1e9 myWave
|
||||
#hertzian_dipole: z 0.050 0.050 0.050 myWave
|
||||
#rx: 0.070 0.070 0.070
|
||||
|
||||
#material: 4.9 0 1 0 myWater
|
||||
#add_dispersion_debye: 1 75.2 9.231e-12 myWater
|
||||
#box: 0 0 0 0.100 0.100 0.100 myWater
|
之后 宽度: | 高度: | 大小: 207 KiB |
之后 宽度: | 高度: | 大小: 164 KiB |
@@ -0,0 +1,8 @@
|
||||
#title: Hertzian dipole in free-space
|
||||
#domain: 0.100 0.100 0.100
|
||||
#dx_dy_dz: 0.001 0.001 0.001
|
||||
#time_window: 3e-9
|
||||
|
||||
#waveform: gaussiandot 1 1e9 myWave
|
||||
#hertzian_dipole: z 0.050 0.050 0.050 myWave
|
||||
#rx: 0.070 0.070 0.070
|
之后 宽度: | 高度: | 大小: 193 KiB |
之后 宽度: | 高度: | 大小: 220 KiB |
@@ -0,0 +1,8 @@
|
||||
#title: Hertzian dipole in free-space
|
||||
#domain: 0.100 0.100 0.100
|
||||
#dx_dy_dz: 0.001 0.001 0.001
|
||||
#time_window: 3e-9
|
||||
|
||||
#waveform: gaussiandot 1 1e9 myWave
|
||||
#hertzian_dipole: z 0.050 0.050 0.050 myWave
|
||||
#rx: 0.070 0.070 0.070
|
之后 宽度: | 高度: | 大小: 204 KiB |
之后 宽度: | 高度: | 大小: 175 KiB |