In this paper we describe a set of C++ classes, implemented using the interfaces defined in the NAO (Numerical Analysis Objects) class library (6,8), for creating and manipulating variable coefficient finite difference operators and nonlinear equations involving them. We will show how these operator classes are used to define the equations governing the flow of compressible fluid in porous media, and how the equations are solved, Finally, we will show preliminary results of a time-dependent simulation.
展开▼