The presented article contains a 3D mesh generation routine optimized with the Metropolis algorithm. The procedure enables to produce meshes of a prescribed volume V0 of elements. The finite volume meshes are used with the Finite Element approach. The FEM analysis enables to deal with a set of coupled nonlinear differential equations that describes the electrodiffusional problem. Mesh quality and accuracy of FEM solutions are also examined. High quality of FEM type space – dependent approximation and correctness of discrete approximation in time are ensured by finding solutions to the 3D Laplace problem and to the 3D diffusion equation, respectively. Their comparison with analytical solutions confirms accuracy of obtained approximations.
One from the most important physical processes is electrodiffusion. It describes both diffusional motion of mass and charge flow due to applied electric field. The electric potential distribution is govern by the Poisson equation and total transport of particles is given in terms of the continuity equation. The significance of this equation is broadly described in existing physical, chemical and biological literature and lots of scientific articles, particularly, those which concern properties of nano and micro transport.
Mathematically, equations of electrodiffusion constitute a set of coupled nonlinear equations where the Laplace operator[3, 4, 5] appears together with the first order partial time derivative. The Laplace operator is the basic operator met in many physical situations. Thus the first step to deal with the electrodiffusional problem is to approximate the solution of the Laplace equation with help of the Finite Element Method. Practically, it means that an appropriate mesh should be designed for a prescribed 3D domain. The mesh must fit well to the physical conditions like e. g. symmetry of the problem.
Therefore, different mesh shapes could be desired (spherical, cylindrical, conical or cubic) up to problem. After having accurate basic spatial solutions on appropriate meshes, the problem should be extended to the time – dependent case of the diffusion equation by finding discrete approximation in time. It could be done by means of truncated Taylor series or other single – step procedures like the Crank – Nicolson scheme[6, 7] or the Gurtin's approach to finite element approximation in terms of variational principle. From now, further extension of above – presented computations involving non – linear terms could be easily implemented and numerically solved using the Newton's method.