To run the model, open R_circuit.pro or RLC_circuit.pro with Gmsh and click
on the "Run" button in the left panel.
Features addressed in this tutorial
Coupling of finite elements and electric circuits
Definition of lumped circuit elements (voltage and current sources,
resistors, inductors and capacitors)
Creation of netlists combining lumped elements and global finite element
quantities (currents and voltages)
Model R_circuit.pro shows how to implement a circuit with discrete elements in
a static finite element simulation. Lumped resistors, voltage- and
current-sources are used to connect four separate cubes with a certain
conductivity, where an electrokinetic finite element formulation is solved.
Model RLC_circuit shows how to implement a circuit with discrete resistors,
capacitors, inductors, voltage- and current-sources in a transient finite
element simulation. The lumped elements are connected to three cubic-shaped
resistors modelled with finite elements.