Andrew,

I added your patch to trunk. Send along the gmsh script and I'll put a
test case too.

Cheers

On Nov 20, 2007 2:09 PM, Daniel Wheeler <[EMAIL PROTECTED]> wrote:
>
> Andrew,
>
> Can you attach the gmsh script for creating the ".msh" file. I can
> then embed it as
> part of the test. It's better than having to include the ".msh" file
> as part of fipy and also
> it test the output from gmsh as that change with different versions.
>
> Thanks
>
> On Nov 16, 2007 3:52 PM, asreeve <[EMAIL PROTECTED]> wrote:
>
> > Python script is now attached.
> >
> >
> > On Fri, 16 Nov 2007, asreeve wrote:
> >
> > > I ended up modifying the GmshImporter2D to allow it to import quads. I've
> > > attached a script containing the changes along with a gmsh mesh file to 
> > > test
> > > it. There are still some changes I'd like to make to this to allow this to
> > > handle a grid with different types of elements (mix of triangles, quads).
> > >
> > > Andy
> > > ----------------------
> > >
> > > On Fri, 16 Nov 2007, ASReeve wrote:
> > >
> > >>
> > >> Hello,
> > >>
> > >> I'm hoping to import a 2-D set of quadrilaterals I've generated
> > >> following gmsh formatting and extruding them to create an unstructured
> > >> 3-D mesh. The GmshImporter2D routine does not appear to be able to
> > >> handle 'squares' (element type '3' in gmsh) and an error is raised
> > >> when I try to import my gmsh file. Is there a simple work around for
> > >> this or do I need to modify the code to allow me to import quads so I
> > >> can extrude them?
> > >>
> > >> The file I'm trying to import can be read by gmsh (indicating the
> > >> format is correct) and follows, just in case you wish to try this out
> > >> yourself.
> > >>
> > >> Andy
> > >>
> > >
>
>
>
> --
> Daniel Wheeler
>
>



-- 
Daniel Wheeler

Reply via email to