FEM EquationElectrostatic

    From FreeCAD Documentation

    FEM EquationElectrostatic.svg FEM EquationElectrostatic

    Menu location
    Solve → Electromagnetic Equations → Electrostatic equation
    Default shortcut
    Introduced in version
    See also
    FEM Electricforce equation, FEM Example Capacitance Two Balls

    This equation perform electrostatic analyses using Gauss' law.

    For info about the math of the equation, see the Elmer models manual, section Electrostatics.


    1. After adding an Elmer solver as described here, select it in the tree view.
    2. Now either use the toolbar button FEM EquationElectrostatic.svg or the menu Solve → Electromagnetic Equations → Electrostatic equation.
    3. Change the equation's solver settings or the general solver settings if necessary.

    Solver Settings

    For the general solver settings, see the Elmer solver settings.

    The electrostatic equation provides these special settings:

    • DataCalculate Capacitance Matrix: Calculates the capacitance matrix. The matrix contains the the point charges of the mesh knots.
    • DataCalculate Electric Energy: Calculates the electric potential energy.
    • DataCalculate Electric Field: Calculates the electric field.
    • DataCalculate Electric Flux: Calculates the electric flux.
    • DataCalculate Surface Charge: Calculates the surface charge.
    • DataCapacitance Matrix Filename: File in which the capacitance matrix is being saved. It is only used if DataCalculate Capacitance Matrix is set to true.
    • DataConstant Weights: If constant weighting for results is used.
    • DataPotential Difference: Potential difference in Volt for which the capacitance is calculated. It is only used if DataCalculate Capacitance Matrix is set to false. Therefore in fact this setting specifies the voltage between the electrodes of a simple capacitor. Note that the given voltage has to be consistent with the potentials defined in the boundary conditions.

    Constraint Information

    The electrostatic equation takes the following constraints into account if they are set:


    Except for calculations in 2D, for FEM ConstraintElectrostaticPotential.svg electrostatic potential constraints it is important that they act on a face or body. Constraints for 3D set to lines or vertices are not recognized by the Elmer solver.


    The available results depend on the solver settings. If none of the DataCalculate * settings was set to true, only the electric force density and the electric potential are calculated. Otherwise also the corresponding results will be available.

    The possible results are:

    • Electric energy density in
    • Electric field in
    • Electric flux in
    • Electric force density in
    • Potential in
    • Potential loads in