Forward-Problem Simulation for ECT/ERT/EIT

Forward-problem simulation is the first step in any EIT/ERT/ECT study: given the sensor geometry and a medium distribution, compute what the electrodes will measure. This article compares three routes — commercial FEM packages (COMSOL, ANSYS, Maxwell), open-source and scripted tools (MATLAB/EIDORS, GNU Octave, Python), and the online IPTomo cloud platform — covering where each shines, the cost of getting started, and their limits, with a selection guide. It also states the cloud platform's current limitations honestly: regular circular sensors only, and limited compute capacity.

Follow us on WeChat

Follow us on WeChat

Scan with WeChat to follow for product updates and technical articles.

TL;DR

“Convenient” means different things to different people, so here is the conclusion by scenario:

Your situationRecommended route
You want a forward-problem result as soon as possible (teaching, proposal review, quick sanity check)The cloud computing platform — open a browser and go, nothing to install
Regular circular sensor, and you need to sweep many parameter combinationsCloud platform or Python (pyEIT) — batch-friendly
Unusual sensor structure: non-circular cross-sections, multi-plane arrays, composite liners, guard electrodesCOMSOL / ANSYS / Maxwell — maximum geometric freedom
You need the forward problem embedded in your own reconstruction or optimization pipelineMATLAB + EIDORS, or the Python ecosystem
No commercial license and no coding team (yet)GNU Octave + EIDORS (free), or the cloud platform

Read on for the reasoning.

What the forward problem actually computes

The forward problem in tomography means: given the sensor geometry, electrode layout, excitation pattern and internal medium distribution, compute the signals the electrodes will measure — boundary voltages or conductances for EIT/ERT, inter-electrode capacitances for ECT.

  • EIT/ERT is governed by the quasi-static current equation ∇·(σ∇u) = 0 with the Complete Electrode Model (CEM) boundary conditions — contact impedance and finite electrode size must be included, otherwise simulation and measurement will not agree;
  • ECT is governed by the electrostatic equation ∇·(ε∇φ) = 0, solved once per driven plate to yield the capacitance matrix.

The forward problem is the foundation of the whole pipeline: sensitivity matrices are computed from it, reconstruction algorithms are validated against it, and sensor designs are compared with it. See What Is Tomography?, The Sensitivity Matrix and Soft-Field Nature and Ill-Posedness for the surrounding framework.

Four criteria matter when judging a forward-problem tool: geometric and electrode modeling capability (can it represent your sensor?), quality of the CEM implementation, batch and scripting capability (parameter sweeps, dataset generation), and integration with the inverse-problem toolchain.

Route 1: commercial FEM software (COMSOL / ANSYS / Maxwell)

COMSOL Multiphysics

COMSOL’s AC/DC module covers electric currents (EIT/ERT forward problems) and electrostatics (ECT), and is the most common choice in academic work:

  • Parametric geometry plus complete physics interfaces — circular or non-circular cross-sections, lined pipe walls and guard electrodes are all modelable;
  • Post-processing and visualization are excellent for publication figures;
  • MATLAB LiveLink and batch scanning exist, but scripting has a real learning curve;
  • Licenses are expensive, and the iterate-modify-recompute loop is slower than scripted tools.

ANSYS

The ANSYS portfolio dominates industrial simulation. For EIT/ERT the low-frequency EM modules apply; for ECT, the classic route is Maxwell’s electrostatic solver extracting the capacitance matrix — a long-standing workflow for ECT sensor design (plate angle, axial length, guard screens, radial electrodes):

  • Strong engineering-grade modeling and robust solvers for complex 3D structures;
  • Parameter sweeps go through Workbench parameterization or scripting (ACT/PyAnsys), with a steep learning curve;
  • Licensing costs are high and academic availability is lower than COMSOL.

Where Maxwell fits

Maxwell is part of the ANSYS family (ANSYS Maxwell), focused on low-frequency electromagnetics (electrostatic, magnetostatic, eddy current, transient). It deserves its own line because “extract the capacitance matrix in Maxwell” is close to a default path in the ECT community, inherited by much of the sensor-design literature.

What commercial FEM shares: highest geometric freedom and widely trusted credibility, but high cost and awkward batch/algorithm integration — it answers “can I build this model”, less well “can I run it fast and wire it into my code”.

Route 2: open-source and scripted tools (MATLAB / Octave / Python)

MATLAB + EIDORS

EIDORS (Electrical Impedance and Diffuse Optical Tomography Reconstruction Software) is the de facto standard toolbox in the community: FEM forward solver with CEM, the usual reconstruction algorithms (LBP, Tikhonov, GREIT, nonlinear solvers), and 2D/3D meshing tools, with rich documentation and examples.

  • Strengths: seamless connection to inverse-problem research, many worked examples, easy paper reproduction;
  • Cost: needs a MATLAB license — although most of EIDORS runs under GNU Octave (free, open source, largely MATLAB-compatible), which is the realistic zero-cost start;
  • Limits: geometry comes from mesh files, so complex custom sensors need external CAD/meshing tools.

The Python ecosystem

The Python route centers on pyEIT (a complete EIT toolbox: CEM forward problem, LBP/JAC/GREIT reconstruction), or on general FEM frameworks (e.g. FEniCS) where you assemble the EIT/ERT/ECT forward problem yourself:

  • Strengths: free; parameter sweeps, synthetic dataset generation and ML pipelines are natural; active community;
  • Cost: programming skills required; mature generic ECT libraries are scarcer than EIT ones — electrostatics with guard electrodes often means implementing or adapting code yourself;
  • Best for teams that need to call the forward problem as a function, repeatedly.

What open-source tools share: zero marginal cost and the strongest scripting capability, at the price of setup effort, a programming threshold, and less intuitive geometric modeling than commercial FEM.

Route 3: the IPTomo cloud computing platform (online forward simulation)

Our cloud computing platform puts EIT/ERT/ECT forward simulation in the browser (direct entry: cloud.iptomo.com):

  • No install, no license: open the page, pick a modality (EIT/ERT/ECT), set electrode count and medium parameters, submit;
  • Parametric regular circular sensor models are built in — change electrode count, pipe diameter or medium properties and recompute directly, faster for sweeps than desktop tools;
  • Results include boundary measurement vectors and field distributions — useful for teaching, method validation at the proposal stage, building intuition about sensitivity, and cross-checking results against desktop software.

Current limitations (stated honestly)

The platform is at an early stage; please note two hard limits before use:

  1. Regular, common circular sensor models only. Custom sensor geometries are not yet supported — non-circular cross-sections, multi-plane arrays, special liners and screening structures still require commercial FEM or your own code. For those needs please contact us and our engineers will help evaluate an offline, tailored simulation route.
  2. Limited server capacity. The platform runs on a small server and can only offer a limited number and limited scale of forward-problem computations. It is not intended for large-scale batch sweeps, ultra-fine meshes or high-frequency production use. Live quotas are shown on the platform pages; for heavier workloads we recommend local open-source tools or commercial FEM.

We prefer to state the boundary clearly: the cloud platform suits fast, light, regular-sensor forward computation — it does not pretend to replace a professional simulation environment.

Selection summary

DimensionCommercial FEM (COMSOL/ANSYS/Maxwell)Open source (EIDORS/Python/Octave)Cloud platform
Entry barrierMedium-high (GUI workflows)High (coding required)Low (browser)
CostExpensive licensesFreeFree to use
Geometric freedomHighestMedium (mesh files)Regular circular sensors
Batch / algorithm integrationWeakerStrongestLimited runs
Typical useCustom sensor design, publication figuresAlgorithm research, dataset generationTeaching, quick validation

In practice the three routes combine well: cloud or EIDORS for method validation, commercial FEM for sensor structure design, and a Python pipeline for batch data generation. Tools are means — whichever route reliably answers “what will my sensor measure” is the right one.

Further reading

Want to dig deeper?

Send your specific application to our sales engineers and we can offer more concrete technical advice and option comparisons.