Meshing Advice
The default triangular (2D) or tetrahedral (3D) mesh is normally suitable for solving the equations describing conservation of charge and mass for an general electrochemical problem.
Electrochemical models involving mass transport generally benefit from a finer mesh at the electrode surfaces, and at singularities such as the boundary between an electrode surface and an insulating surface. This may be accomplished by adding additional Size mesh nodes for these boundaries only. Also, consider refining the “element growth rate”, and/or using boundary layer meshing in 3D.
Sometimes, a regular Mapped mesh can be more appropriate in a rectangular (2D) domain; such domains are common in cutaway schematic studies of batteries and fuel cells. Similarly the Swept mesh is often appropriate for very thin layers in a 3D model.
For fluid domains, the default physics-controlled mesh should be used, with boundary layers as required.
For some problems with a stationary flow velocity field and time-dependent convection of electrochemically reacting species, it may improve convergence to set up a refined mesh without boundary layers for the species transport study step.
Meshing in the COMSOL Multiphysics Reference Manual