111Equation Chapter 1 Section 1 CompuCell3d reference Manual Version 4


Forward Euler method for solving PDE's in CompuCell3D



Download 0.81 Mb.
Page24/26
Date26.04.2018
Size0.81 Mb.
#46927
1   ...   18   19   20   21   22   23   24   25   26

Forward Euler method for solving PDE's in CompuCell3D.



Remark: we present more complete derivations of explicit finite difference scheme for diffusion solver in “Introduction to Hexagonal Lattices in CompuCell3D”.
In CompuCell3D most of the solvers uses explicit schemes (Forward Euler method) to obtain PDE solutions. Thus for the diffusion equation we have:


In a discretetized form we may write:

where to save space we used shorthand notation:




and similarly for other coordinates.

After rearranging terms we get the following expression:



where the sum over index 'i' goes over neighbors of point (x,y,z) and the neighbors will have the following concentrations:,,…, .





    1. Download 0.81 Mb.

      Share with your friends:
1   ...   18   19   20   21   22   23   24   25   26




The database is protected by copyright ©ininet.org 2024
send message

    Main page