Karen,
> --------------------------------------------------------
> An error occurred in line <1794> of file <source/grid/grid_in.cc> in
> function
> void dealii::GridIn<dim, spacedim>::read_tecplot(std::istream&)
> [with int dim = 3, int spacedim = 3]
> The violated condition was:
> false
> The name and call sequence of the exception was:
> ExcNotImplemented()
What this is trying to tell you is that we haven't implemented Tecplot
support for 3d meshes yet.
> title = "tet!"
> variables = "x", "y", "z"
> zone n=4, e=1, et=TETRAHEDRON
> 1.0 1.0 1.0
> 1.0 -1.0 -1.0
> -1.0 1.0 -1.0
> -1.0 -1.0 1.0
>
> 2 4 1 3
That, too, will be a problem: deal.II only supports hexahedra in 3d, not
tetrahedra.
> Did I do something wrong with the GridIn class? I also noticed that the
> GridIn class is able to read in many different types of data formats,
> but am not sure the "default" format means or what format "read_ucd"
> takes exactly.... I couldn't seem to find any example code that deals
> with importation of meshes. If they actually exist on the site, could
> you guys direct me to it? Otherwise, could you show me a simple example
> how this is done?
step-5 reads in meshes from a file. If you know what format your file is
in, you can use the GridIn::read_{ucd,xda,msh,...} functions instead of
letting the generic read() function figure out the format.
W.
--
-------------------------------------------------------------------------
Wolfgang Bangerth email: [email protected]
www: http://www.math.tamu.edu/~bangerth/
_______________________________________________
dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii