Multiphysics workstation
Solve the electrical potential and current through a uniform conducting slab. The ready example returns 50 mA and 2.5 V at the center. Swap the end-face potentials to reverse the current.
01 · Inspect the console
Loading metric GLB…
Click the left monitor to solve, the yellow keypad to cycle mesh resolution, or the red switch to swap the potentials. Drag to orbit; scroll or pinch to zoom. The form mirrors these actions.
02 · Configure the slab and solve
Ready for the first solve.
03 · Read potential and current
Run the solver to read current and potential.
| Cells X × Y | Current error (A) | Maximum potential error (V) | Relative residual |
|---|
Scope and physical model
This is an original software workstation, not a model, license or reproduction of COMSOL, FEBio or NEURON. The console has a design-size 1.65 × 0.73 m desktop, an instrument tower and two displays. The specimen is drawn at the ready example’s 40 × 20 × 10 mm, while its visual fixture stays put when numerical dimensions change.
Steady, homogeneous Ohmic conduction only. The solver pairs E = −∇φ and J = σE with ∇·J = 0, fixed potentials at the X ends, zero outward flux along Y and constant depth. It uses a two-dimensional finite-volume stencil solved by conjugate gradients. The analytic check is I = σA(φleft − φright)/L. The exact linear solution is representable on all tested grids, so rounding-level agreement is expected rather than decreasing discretization error. See MIT, Electromagnetic Fields and Energy, chapter 7.
Validated inputs: dimensions 5–120 mm, conductivity 0.01–10 S/m, electrode values ±20 V, and 8, 16, 32 or 64 X subdivisions. JSON reports configuration, meter coordinates, potential (V), Ex (V/m), Jx (A/m²), total current (A), mesh study and revisions. CSV contains field samples and revisions. All outputs are simulated, not instrument measurements or a tissue solver. Example result.
Verification and files
| Case | Expected | Actual | Status |
|---|---|---|---|
| register | currentA: 0.05; centerV: 2.5; electricXVm: 125; currentDensityAm2: 250 | currentA: 0.05; centerV: 2.5; electricXVm: 125; currentDensityAm2: 250 | Pass |
| refinement | maxCurrentErrorA: 0; maxPotentialErrorV: 0 | maxCurrentErrorA: 2.914335e-16; maxPotentialErrorV: 1.110223e-14 | Pass |
| reverse | currentA: -0.05 | currentA: -0.05 | Pass |
| equal | currentA: 0; centerV: 5 | currentA: 0; centerV: 5 | Pass |
| invalid-domain | Use positive slab dimensions 5–120 mm. | Use positive slab dimensions 5–120 mm. | Pass |
Predeclared cases and tolerances · Verification data · Metric GLB · Editable geometry + generator + mesh writer · Interaction targets. 1,588 triangles and 29 draw primitives. Optional WebXR; physical headset untested.