I am trying to explore the surface charge distribution on the electrodes of uniform electric fields and I am struggling with Elmer FEM.
The goal is to find the surface charge density as a function of x and y on the electrodes. I want the data in a dataset of x, y, and surface charge.
My current geometry consists of two infinitesimally thin electrodes and a surrounding cylinder from Gmsh saved as .msh. They are converted to Elmers mesh format using ElmerGrid and then I have the .sif file adapted from the GUI tutorial Capacitance of Two Balls. The simulations are ran and using Paraview I can see the potential however ElmerSolver doesn't seem to calculate the surface charges, even if I have "Calculate Surface Charge = True", as "surface charge" doesn't appear in ParaView.
Toggling the other toggle-able values appears to affect what variables are available in the dropdown in ParaView.
Mesh generation:
Code: Select all
gmsh square-mesh-generation.geo
Code: Select all
ElmerGrid 14 2 squareMesh.msh -autoclean
Code: Select all
ElmerSolver case.sif