> > Is it possible to use DMDAs in the context of a cell-centered > > finite volume method? For example, a 2D grid with 9-by-9 grid > > points would have 8-by-8 unknowns, located in the cell > > centers. After reading the documentation, I got the impression > > that the unknowns must be situated at the grid points, or am I > > mistaken? > > > > Just make an 8x8 grid. Geometric refinement and coarsening is a little more > delicate. I have used the hack of saying that the grid is periodic so that > refinement is to 2n instead of 2n-1. You might want to use Q0 interpolation > in this case.
Thanks Jed, but how would I store the grid point coordinates? The grid could be non-uniform (stretching, deforming) so I still need a 9-by-9 DM to store the grid point coordinates, right? dr. ir. Christiaan Klaij CFD Researcher Research & Development E mailto:C.Klaij at marin.nl T +31 317 49 33 44 MARIN 2, Haagsteeg, P.O. Box 28, 6700 AA Wageningen, The Netherlands T +31 317 49 39 11, F +31 317 49 32 45, I www.marin.nl
