Hi Markus I never thought it was a problem with the library, I was just displeased that the geometry's coordinate system was changed during the STL conversion. I have, fortunately, managed to re-orientate the mesh using ICEMCFD.
Incidentally, how would the subdivided rectangle using the GridGenerator class work? Many thanks. Ted On 28 November 2010 17:16, Markus Bürg <[email protected]> wrote: > Hello Ted, > > if the output of the mesh generator is not correct, then this is a problem > in the mesh generator and not in the library, isn't it? If the points are > equally distributed in some sense, you could use the GridGenerator class of > deal.II to create a subdivided rectangle. > > Best Regards, > Markus > > > > Am 28.11.10 10:47, schrieb Ted Kord: > > Hello Markus > > The material ids can be collapsed into one value. So, the raw geometry > can be represented as: x y z material. Then, a completely random example -- > for a 3x2x2 -- would look like: > > 0 0 0 1 > > 1 0 0 1 > > 2 0 0 1 > > 3 0 0 2 > > 0 1 0 2 > > 1 1 0 2 > > 2 1 0 2 > > 3 1 0 3 > > 0 2 0 3 > > 1 2 0 3 > > 2 2 0 1 > > 3 2 0 2 > > 0 0 1 2 > > 1 0 1 1 > > 2 0 1 1 > > 3 0 1 3 > > 0 1 1 3 > > 1 1 1 4 > > 2 1 1 4 > > 3 1 1 4 > > 0 2 1 4 > > 1 2 1 1 > > 2 2 1 3 > > 3 2 1 3 > > 0 0 2 2 > > 1 0 2 2 > > 2 0 2 4 > > 3 0 2 4 > > 0 1 2 1 > > 1 1 2 1 > > 2 1 2 1 > > 3 1 2 2 > > 0 2 2 2 > > 1 2 2 2 > > 2 2 2 2 > > 3 2 2 3 > > > When I generate an STL file from the actual data (not the one above), it > seems like the coordinate system's changed. So, although I get a nice mesh > using the STL file as input to a mesh generator, it's unusable without a lot > of mathematical gymnastics. > > > Many thanks, > > > Ted > > > > On 28 November 2010 06:59, Markus Bürg <[email protected]> wrote: > >> Hello Ted, >> >> unfortunately I do not know a proper way but using an external mesh >> generator for creating such big grids. Anyway, could you explain the link >> between grid orientation and materials a bit more? Perhabs we can find a >> workaround for that. >> >> Best Regards, >> Markus >> >> >> >> Am 27.11.10 22:47, schrieb Ted Kord: >> >> Hi >> >> I have a geometry represented as a list of coordinates and material ids >> like so: (x y z material1 material2 material3). The max. dimensions are: >> 500x370x450 for a total of 83 250 000 points. I'll probably have to read in >> a reduced/coarse version and then refine as required. >> >> I'd like to explicitly read this into a triangulation. Is there a way to >> do this? >> >> I've tried mesh generation but, a) the input file is large, about 3 GB >> and b) the coordinates and the geometry's orientation become transformed, >> and consequently destroy the mapping between coordinates and materials. >> >> Many thanks, >> >> Ted >> >> >> >> >> _______________________________________________ >> dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii >> >> >> _______________________________________________ >> dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii >> >> > > _______________________________________________ > dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii > >
_______________________________________________ dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii
