> I think you will find, as I did, that most people will regard DX as a > visualization tool, rather than a data manipulation tool. Why don't you > just write a post-processing routine to add an additional set of data > points on the boundarys of the grid cells with values equal to the cell > centered value
> > Or if you don't like that idea, use the values in neighboring cells, > calculate a slope for your "volume averaged data?" and store say the mean > of the projected values (from left and right) at the grid cell corners, or > nodes. > > These are just ideas which I would try first, second, third, etc. even 100 > before re-writing my numerical integration scheme. > This is a good idea for simple geometries, but in cases of domain decomposition using cartesian, boundary fitted and/or cylindrical grids including a lot of blanked regions this won't be that easy any more. I thought this post module can do this work from me as a fast solution. I am not thinking of rewriting the code (this would be a nightmare project). I thought (as you) of writing a postprocessing routine which will transform the cell centered data to the gridpoints. I this case an interpolation scheme like lagrange interpolation is needed in a 3D case. Your idea was to add the boundary values to the set of cell centered data, which will add a lot of gridlines iin all directions (using structured grids). This is not practical as I allready have large grid sizes to deal with. > > Tom > > On Mon, 30 Oct 2000, Alexander Berreth wrote: > > > >When doing this, I will have to tell dx the midpoints of each cell. This will > >result in > >a slightly smaller picture, as the bondaries are cut off. But especially in > >my > >case I need to have the exact boundary of my domain, because I have multiple > >domains and blanked regions. The only possibility I see now is to make > >an lagrange transformation in my code to compute the values on the gridpoints > >out of the cell centered data, but this is expected to be a lot of work. > >I thought, there might be a module or something in DX wich will do this > >transformation, > >as we have the possibility to import cell centered (connection dep.) data. > > > >If someone has an idea how to solve this problem with DX it would be > >great.... > > > >Alex > > > >
