Repository navigation
Expand file tree
/
Copy pathabout.shtml
More file actions
executable file
·75 lines (54 loc) · 11.2 KB
/
Copy pathabout.shtml
File metadata and controls
executable file
·75 lines (54 loc) · 11.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
---
title: "gprMax: About the software"
description: "What gprMax is, how it is built, and the full feature set of version 4: FDTD electromagnetic simulation on CPUs and GPUs, for GPR, antennas, scattering, bioelectromagnetics and more."
body_id: about
---
<h1>About the software</h1>
{% include sidebar.html %}
<figure class="right"><img src="{{ '/images/landmine_waves.png' | relative_url }}" alt="GPR wave propagation in a landmine environment" width="360" height="220" /><figcaption>GPR wave propagation in a landmine environment</figcaption></figure>
<p>gprMax is open-source software that solves Maxwell’s equations using the <a href="https://en.wikipedia.org/wiki/Finite-difference_time-domain_method">finite-difference time-domain (FDTD)</a> method. It uses Yee’s algorithm, with central-difference expressions for the spatial and temporal derivatives that are second-order accurate, and supports both two- and three-dimensional models.</p>
<p>The software began in research on the forward problem of <a href="https://en.wikipedia.org/wiki/Ground-penetrating_radar">ground-penetrating radar (GPR)</a> in the 1990s, and GPR is what gives gprMax its name. After nearly three decades of development, version 4 is a <strong>general-purpose research platform for time-domain computational electromagnetics</strong>. GPR remains a core application — assessing bridges and roads, locating buried utilities, mapping glaciers, finding anti-personnel landmines — alongside <strong>antenna and microwave modelling</strong>, <strong>electromagnetic scattering and radar cross section</strong>, <strong>bioelectromagnetics and dosimetry</strong>, and <strong>radiometry</strong>. See what researchers are <a href="{{ '/' | relative_url }}">doing with it</a>, across <a href="{{ '/publications.shtml' | relative_url }}">more than 1,600 publications</a>.</p>
<p>gprMax is principally written in <a href="https://www.python.org">Python</a> 3 with performance-critical parts in <a href="http://cython.org">Cython</a>. It is driven from the command line rather than through a general-purpose GUI, which keeps it scriptable and means it runs equally well on a laptop or in high-performance computing (HPC) environments. Models can be written as simple text input files, parameterised with Python blocks, or built entirely programmatically with the full <a href="{{ site.docs_version_url }}/input_api.html">Python API</a>; the <a href="{{ site.docs_version_url }}/inc_Marimo.html">Marimo toolbox</a> adds interactive dashboards for building introductory models, monitoring simulations, and inspecting A-scan and B-scan output.</p>
<p>Simulations can be accelerated on a range of hardware: the CPU solver is parallelised with <a href="http://www.openmp.org">OpenMP</a>; <a href="https://www.khronos.org/api/opencl">OpenCL</a> supports both CPUs and GPUs; and there are GPU solvers for <a href="https://developer.nvidia.com/cuda-zone">NVIDIA CUDA</a> and <a href="https://developer.apple.com/metal/">Apple Metal</a> on macOS with M-series chips. <a href="https://en.wikipedia.org/wiki/Message_Passing_Interface">MPI</a> support enables larger-scale, multi-node simulations on HPC systems, either by <a href="{{ site.docs_version_url }}/accelerators.html#domain-decomposition">domain decomposition</a> of a single large model or as a <a href="{{ site.docs_version_url }}/accelerators.html#task-farm">task farm</a> across many models. The CPU, CUDA, and OpenCL solvers all offer <a href="{{ site.docs_version_url }}/accelerators.html#solver-precision">single- or double-precision</a> field storage; Metal is single precision. Not every feature runs on every solver — the User Guide states the supported combinations for each.</p>
<h2>Features</h2>
<p>gprMax has a comprehensive set of features for general electromagnetic simulation as well as for
GPR modelling. Items marked <span class="tag-new">New</span> arrived with v4.0.0. Everything below is
described in detail, with examples, in our <a href="https://docs.gprmax.com">User Guide</a>.</p>
<h3>Sources, boundaries & guided structures</h3>
<figure class="right"><img src="{{ '/images/ant_geo_detail2.png' | relative_url }}" alt="Detailed geometry of a GPR antenna" width="352" height="250" /><figcaption>Detailed geometry of a GPR antenna</figcaption></figure>
<ul>
<li>A <a href="{{ site.docs_version_url }}/features.html#excitation-options">wide range of local sources</a>: Hertzian and magnetic dipoles, hard and resistive voltage sources, and transmission-line feeds — joined in v4 by coaxial <a href="{{ site.docs_version_url }}/output.html#magnetic-frill-source-s11-and-impedance-output">magnetic-frill</a> and <a href="{{ site.docs_version_url }}/output.html#rational-network-port-output">rational lumped-network</a> feeds <span class="tag-new">New</span></li>
<li>Plane-wave excitation through a total-field/scattered-field interface, using the discrete plane-wave formulation for very low numerical leakage <span class="tag-new">New</span></li>
<li><a href="{{ site.docs_version_url }}/eigenmode_port.html">Eigenmode sources & ports</a> for guided structures — modal waveguide excitation in 2D and 3D, with multimode S-parameters <span class="tag-new">New</span></li>
<li><a href="{{ site.docs_version_url }}/features.html#symmetry-boundaries">PEC and PMC symmetry boundaries</a> — solve half or a quarter of a symmetric 3D problem at a fraction of the cost, on every solver <span class="tag-new">New</span></li>
<li><a href="{{ site.docs_version_url }}/impedance_surfaces.html">Surface-impedance boundaries</a> — model a thick conductor without meshing its skin depth: the frequency-dependent surface impedance is fitted as a rational (Foster) network, with presets for common metals <span class="tag-new">New</span></li>
<li>A built-in <a href="{{ site.docs_version_url }}/inc_GPRAntennaModels.html">library of antenna models</a> that behave like commercial GPR antennas: GSSI 1.5 GHz, 400 MHz and 2 GHz palm, and MALA 1.2 GHz</li>
<li>Advanced <a href="{{ site.docs_version_url }}/features.html#perfectly-matched-layer-pml-absorbing-boundary-conditions">higher-order and multipole PML absorbing boundaries</a>, with every parameter customisable</li>
</ul>
<h3>Outputs & analysis</h3>
<figure class="right"><img src="{{ '/images/ant_3Dpatt2.png' | relative_url }}" alt="3D radiation pattern of a GPR antenna" width="310" height="325" /><figcaption>3D antenna radiation pattern</figcaption></figure>
<ul>
<li><a href="{{ site.docs_version_url }}/features.html#near-to-far-field-transformations">Near-to-far-field transformations</a> — Kirchhoff surface-integral (KSIR) and equivalent-current formulations, each in the time or frequency domain, including antennas over planar layered ground; KSIR also reconstructs fields at finite distances. These supply radiation patterns, antenna gain and directivity, and radar cross section (RCS) <span class="tag-new">New</span></li>
<li><a href="{{ site.docs_version_url }}/output.html#absorbed-power-density-and-specific-absorption-rate">Specific absorption rate (SAR) and absorbed power density</a> outputs for bioelectromagnetics and dosimetry, with <a href="{{ site.docs_version_url }}/output.html#radiometric-absorption-weighting">radiometric absorption weighting</a> for radiometry <span class="tag-new">New</span></li>
<li>S11 and input impedance from voltage, transmission-line, magnetic-frill and rational-network sources, and full <a href="{{ site.docs_version_url }}/output.html#eigenmode-port-and-s-parameter-output">multi-port S-parameters</a> from eigenmode ports; field snapshots and geometry views</li>
</ul>
<h3>Materials & geometry</h3>
<ul>
<li><a href="{{ site.docs_version_url }}/features.html#dispersive-materials">Dispersive materials</a> (multi-pole Debye, Lorentz, or Drude) and <a href="{{ site.docs_version_url }}/features.html#anisotropic-materials">anisotropy</a></li>
<li><a href="{{ site.docs_version_url }}/features.html#dielectric-smoothing">Dielectric smoothing</a> at material interfaces — v4 adds a flux-continuous magnetic average and optional averaging of dispersive materials <span class="tag-new">New</span></li>
<li>Versioned <a href="{{ site.docs_version_url }}/material_databases.html">material databases</a> — reusable electromagnetic properties without copying pole lists into every model <span class="tag-new">New</span></li>
<li>Modelling of <a href="{{ site.docs_version_url }}/features.html#realistic-soils-heterogeneous-objects-and-rough-surfaces">soils with realistic dielectric and geometric properties</a>, heterogeneous objects, and rough surfaces</li>
<li>Tagged geometry import from <a href="{{ site.docs_version_url }}/inc_STLtoVoxel.html">STL</a> and <a href="{{ site.docs_version_url }}/inc_STEPtoVoxel.html">STEP</a> CAD files, and from <a href="{{ site.docs_version_url }}/inc_GeometryImport.html">labelled medical image volumes and scientific meshes</a> <span class="tag-new">New</span></li>
<li>Ready-made geometries: the <a href="{{ site.docs_version_url }}/inc_AustinMan.html">AustinMan & AustinWoman human phantoms</a>, joined in v4 by <a href="{{ site.docs_version_url }}/inc_LandmineModels.html">PMA-1, PMN and TS-50 landmine models</a> <span class="tag-new">New</span></li>
<li><a href="{{ site.docs_version_url }}/features.html#subgridding">Subgridding</a> — fine geometry inside a coarser model, on the CPU and CUDA solvers <span class="tag-new">New</span></li>
</ul>
<h3>Workflow & scripting</h3>
<ul>
<li>A full <a href="{{ site.docs_version_url }}/input_api.html">Python API</a> for building parameterised models and simulations programmatically <span class="tag-new">New</span></li>
<li><a href="{{ site.docs_version_url }}/features.html#two-dimensional-tm-and-te-modes">2D TM and TE modes</a> as well as full 3D — TE is new in v4 <span class="tag-new">New</span></li>
<li><a href="{{ site.docs_version_url }}/studies.html">Reusable studies</a> — point-source acquisitions, terminal drives, voltage- and modal-port S matrices, and plane-wave sweeps over one built geometry <span class="tag-new">New</span></li>
<li>An <a href="{{ site.docs_version_url }}/inc_Optimisation.html">optimisation toolbox</a> that connects a model’s geometry and material parameters to an external optimiser <span class="tag-new">New</span></li>
<li>Toolboxes shipped under <code>gprMax.toolboxes</code>: <a href="{{ site.docs_version_url }}/inc_AntennaPatterns.html">antenna patterns</a> and <a href="{{ site.docs_version_url }}/inc_Materials.html">reusable material definitions</a>, joined in v4 by <a href="{{ site.docs_version_url }}/inc_DebyeFit.html">DebyeFit</a> (multi-pole Debye fitting, including the CRIM mixing model), <a href="{{ site.docs_version_url }}/inc_FMCW.html">FMCW</a> and <a href="{{ site.docs_version_url }}/inc_SFCW.html">SFCW</a> radar, <a href="{{ site.docs_version_url }}/inc_ImpulseResponse.html">impulse-response synthesis</a>, and <a href="{{ site.docs_version_url }}/inc_Marimo.html">Marimo</a> dashboards — several of them begun as <a href="https://github.com/gprMax/GSoC">Google Summer of Code</a> projects <span class="tag-new">New</span></li>
<li>Open, robust file formats: HDF5 outputs, and VTKHDF geometry and snapshot files for ParaView 5.12 or newer</li>
</ul>
<div class="clear-right"></div>