Go back to .. Jose Maria Perez-Macias / Biomedical Projects

COMSOL Simulation of Action Potential Propagation (FitzHugh-Nagumo Model)

Jose Maria Perez-Macias

Bioelectromagnetism & Finite Element Modeling (Fall 2016) — BioMediTech & Department of Electronics and Communications Engineering, Tampere University of Technology (TUT), Finland

Educational Summary: This page presents an educational computational study simulating how biological action potentials propagate along an unmyelinated nerve axon. Using COMSOL Multiphysics 5.2a, the nerve dynamics are implemented via the FitzHugh-Nagumo (FHN) reaction-diffusion partial differential equation (PDE) coupled to an electrostatic extracellular medium. This document details the mathematical formulation, FEM geometry, tetrahedral mesh design, stimulus pulse experiments, and animated video recordings.

Note on model files: Rather than distributing proprietary, commercial 70+ MB .mph binary files (which require paid COMSOL licenses to inspect), this page provides the complete mathematical physics, boundary conditions, parameter tables, and mesh designs so students and researchers can reproduce the model in any FEM framework (COMSOL, FEniCS, OpenCMISS, or FreeFEM).

1. Introduction: Electrophysiology & The "All-or-Nothing" Principle

Neurons communicate via electrical impulses termed action potentials. In biological nerve fibers, these impulses are generated by voltage-gated ionic channels (principally sodium $\text{Na}^+$ and potassium $\text{K}^+$) embedded across the cell membrane. The foundational biophysical description was formulated by Alan Hodgkin and Andrew Huxley in 1952 using four nonlinear differential equations describing individual ionic conductances.

While Hodgkin-Huxley (HH) provides high biological fidelity, its four coupled nonlinear equations can be computationally demanding for large-scale 3D finite element field simulations. In 1961, Richard FitzHugh introduced a simplified two-variable phase-plane reduction of the HH model, isolating the mathematical essence of excitability:

In 1962, J. Nagumo, S. Arimoto, and S. Yoshizawa realized this mathematical model physically as an active pulse transmission electrical transmission line incorporating tunnel diodes (which possess the required N-shaped negative differential resistance characteristic).

Circuit diagram of the tunnel-diode nerve equivalent
Figure 1: Equivalent circuit diagram of the active nerve transmission line using tunnel diodes (Nagumo et al., 1962).

Key Electrophysiological Phenomena Demonstrated

2. Governing Mathematical Physics (Reaction-Diffusion PDEs)

In COMSOL Multiphysics, the axon interior and membrane dynamics are solved using the Coefficient Form PDE module, while the surrounding fluid is solved using the Electrostatics module.

Axon Membrane Dynamics (FitzHugh-Nagumo PDEs)

The spatial-temporal evolution of the membrane excitation potential $u_1(\mathbf{x}, t)$ and the recovery variable $u_2(\mathbf{x}, t)$ along the axon domain is governed by:

$$\frac{\partial u_1}{\partial t} - \nabla \cdot (D \nabla u_1) = u_1 (u_1 - \alpha)(1 - u_1) - u_2 + I_{\text{stim}}(t)$$
$$\frac{\partial u_2}{\partial t} = \epsilon (\beta u_1 - \gamma u_2 - \delta)$$

Where:

Extracellular Medium (Electrostatics)

The volume surrounding the axon is modeled as an isotropic conductive medium governed by Poisson’s equation for electrostatics:

$$-\nabla \cdot (\epsilon_0 \epsilon_r \nabla V) = \rho$$

Where $\epsilon_0$ is the vacuum permittivity, $\epsilon_r = 80$ is the relative permittivity of the extracellular fluid (water/saline tissue), and space charge density $\rho = 0$.

Simulation Parameters & Initial Conditions

Parameters were derived from classical electrophysiological literature and dimensionless scaled units:

Parameter Symbol Value Description
Excitation Threshold $\alpha$ $0.1\text{ V}$ Minimum potential required to trigger self-sustaining depolarization
Timescale Separation $\epsilon$ $0.01$ Ratio between fast voltage changes and slow recovery kinetics
Phase-Plane Slope $\beta$ $0.75$ Coupling coefficient of excitation to recovery
Recovery Damping $\gamma$ $1.0$ Linear decay rate of the recovery variable
Resting Offset $\delta$ $0.0\text{ V}$ Resting baseline shift parameter
Diffusion Coefficient $D$ $1.0$ Axial diffusion / electrotonic conduction coefficient
Relative Permittivity $\epsilon_r$ $80$ Extracellular fluid dielectric property (saline/water)
Elevated Initial Potential $V_0$ $1.0\text{ V}$ Initial depolarization at proximal zone ($z < d$)
Elevated Relaxation Value $\nu_0$ $0.025\text{ V}$ Initial recovery state at proximal zone ($z < d$)
Active Initial Shift Zone $d$ $8.0\text{ m}$ Spatial length of initial excitation zone required to exceed threshold

3. 3D Model Geometry & Finite Element Mesh

The 3D domain was constructed in COMSOL Multiphysics 5.2a. Biological axons vary from $1\,\mu\text{m}$ (central nervous system) to $10\text{--}25\,\mu\text{m}$ (peripheral nerves), spanning lengths thousands of times their diameter. To maintain clean numerical conditioning during PDE integration, spatial dimensions were scaled ($1\cdot 10^{-6}:1\text{ m}$):

3D geometry of axon cylinder inside extracellular domain
Figure 2: 3D geometry of the cylindrical axon embedded within the rectangular extracellular saline domain box.
Full 3D finite element mesh in COMSOL
Figure 3: Physics-controlled tetrahedral finite element mesh across the entire computational domain.
Refined mesh along the axon cylinder
Figure 4: Detailed view of the discretized mesh elements along the interior cylinder boundary.

Boundary Conditions

4. Simulation Experiments & Animated Results

Experiment 1: Autonomous Wavefront Propagation from Initial Conditions

In the first experiment, the axon was initialized without an active external current, but with an elevated proximal zone:

$$u_1(\mathbf{x}, 0) = \begin{cases} V_0 = 1.0\text{ V}, & z < d \\ 0, & z \ge d \end{cases}, \qquad u_2(\mathbf{x}, 0) = \begin{cases} \nu_0 = 0.025\text{ V}, & z < d \\ 0, & z \ge d \end{cases}$$

The spatial threshold distance $d = 8\text{ m}$ was found to be sufficient to surpass the critical activation barrier. A self-sustaining depolarization wave formed and traveled autonomously down the entire $135\text{ m}$ axon length over $t = 1\text{--}500\text{ s}$ (in $1\text{ s}$ time steps).

COMSOL 3D potential heatmap along axon during propagation
Figure 5: 3D finite element simulation in COMSOL Multiphysics showing the active depolarization wavefront and extracellular electric potential distribution.

Voltage probes were placed at $10\text{ m}$ (proximal) and $120\text{ m}$ (distal). As shown below, the action potential waveform retains its stereotyped shape and amplitude as it propagates, arriving at the distal probe ($120\text{ m}$) at approximately $t \approx 220\text{ s}$.

Action potential voltage trace at 10m probe
Figure 6a: Excitation variable $u_1(t)$ at the $10\text{ m}$ probe (rapid activation within initial 20 seconds).
Action potential voltage trace at 120m probe
Figure 6b: Excitation variable $u_1(t)$ at the $120\text{ m}$ probe, demonstrating arrival of the intact pulse at $t \approx 220\text{ s}$.

Experiment 2: Periodic Pulse Train Stimulation ($A \cdot \text{rect}(t) + 0.1$)

To model realistic sensory stimulation, an analytical periodic pulse train was applied at the proximal boundary:

$$I_{\text{stim}}(t) = A \cdot \text{rect}_1(t) + 0.1$$

Where $A$ is the pulse amplitude, $W$ is the rectangular pulse width, and $T$ is the stimulus period.

Rectangular pulse train activation function
Figure 7: Analytical rectangular pulse train activation function $I_{\text{stim}}(t) = A \cdot \text{rect}_1(t) + 0.1$.

Video Animations of the Simulation

The animated dynamics from both experiments were recorded and uploaded to YouTube:

1. Autonomous Action Potential Propagation

Animated time-evolution showing the initial condition wave traveling autonomously down the 3D axon cylinder.

Watch on YouTube →

2. Pulse Train Re-stimulation

Animated response under periodic train stimulation, showing repetitive wavefront generation and refractory limits.

Watch on YouTube →

Experiment 3: Parameter Sweeps (Threshold, Width, and Frequency Limits)

Systematic parameter sweeps were conducted to evaluate how pulse period ($T$), pulse width ($W$), and amplitude ($A$) govern signal transmission:

Sub-Threshold ($A = 0.1\text{ V}$) vs. Supra-Threshold ($A = 2.0\text{ V}$)

When the injected amplitude is below the excitation threshold ($A = 0.1\text{ V}$, with $T = 40\text{ s}, W = 2\text{ s}$), only the initial condition pulse travels; subsequent stimulus pulses fail to initiate depolarization and are completely eliminated. In contrast, at $A = 2.0\text{ V}$, every stimulus pulse overcomes the threshold barrier and propagates all the way to the $120\text{ m}$ probe:

Subthreshold stimulus at 10m probe
Sub-threshold ($A=0.1\text{ V}$) at $10\text{ m}$: Stimulus pulses fail to evoke full depolarization spikes.
Subthreshold stimulus at 120m probe
Sub-threshold ($A=0.1\text{ V}$) at $120\text{ m}$: Zero pulses reach the distal end of the axon.
Suprathreshold stimulus at 10m probe
Supra-threshold ($A=2.0\text{ V}$) at $10\text{ m}$: Repetitive full-amplitude action potentials triggered.
Suprathreshold stimulus at 120m probe
Supra-threshold ($A=2.0\text{ V}$) at $120\text{ m}$: Continuous train of propagated spikes arrives intact.

Refractory Period & Maximum Firing Frequency

When testing stimulus periods from $T = 10\text{ s}$ down to very rapid frequencies, the neuron failed to fire on every cycle. If a stimulus pulse arrives while the recovery variable $u_2$ is still elevated (the relative/absolute refractory period), the sodium-analog excitability is depressed, preventing pulse generation. In biological neurons, this restricts maximum firing rates to approximately $200\text{--}300\text{ Hz}$.

Axon Diameter & Conduction Velocity Discussion

In physical nerve fibers, conduction velocity scales with axon caliber ($v \propto \sqrt{d}$ for unmyelinated fibers). Additional tests varying cylinder diameter (from $0.2\text{ m}$ to $3.0\text{ m}$) showed minimal variations in arrival time at the distal probe ($\sim 200\text{--}220\text{ s}$). This is because the standard FitzHugh-Nagumo reaction-diffusion formulation models the membrane potential field phenomenologically; it does not fully capture the radial internal cable resistance and 3D axial core-conductor electrodynamics without an explicitly resolved thin dielectric membrane boundary layer.

5. Key Takeaways for Computational Electrophysiology

6. Academic References

  1. Hodgkin, A. L., & Huxley, A. F. (1952). A quantitative description of membrane current and its application to conduction and excitation in nerve. The Journal of Physiology, 117(4), 500–544.
  2. FitzHugh, R. (1961). Impulses and physiological states in theoretical models of nerve membrane. Biophysical Journal, 1(6), 445–466.
  3. Nagumo, J., Arimoto, S., & Yoshizawa, S. (1962). An active pulse transmission line simulating nerve axon. Proceedings of the IRE, 50(10), 2061–2070.
  4. Perez-Macias, J. M. (2016). Axon simulation using FitzHugh-Nagumo approximation. TUT Course Report, Bioelectromagnetism and FEM, BioMediTech & Dept. of Electronics and Communications Engineering, Tampere University of Technology.