Hi

I just used the mesh conversion utility to convert an Abaqus format file to
the required format. The output was:

==
Reading in ABAQUS .inp FILE: index_proximal_VMesh-1_input
Writing out AVS .ucd FILE:   test_out.ucd
Output successful!
   Number of nodes: 13431
   Number of cells: 11685
   Number of boundary faces: 0
=


Then I've tried to read it and just write it straight out, like so:
==

Triangulation<3> triangulation;

GridIn<3> grid_in;

grid_in.attach_triangulation(triangulation);

std::ifstream input_file("test_out.ucd");

grid_in.read_ucd(input_file);

std::ofstream out ("test.eps");

GridOut grid_out;

grid_out.write_eps (triangulation, out);
==


But I get the following error:

----------------------------------------------------
Exception on processing:
--------------------------------------------------------
An error occurred in line <53> of file
</Users/tedkord/deal.II/deal.II/source/grid/grid_in.cc> in function
    void dealii::GridIn<dim, spacedim>::read_ucd(std::istream&) [with int
dim = 3, int spacedim = 3, std::istream = std::basic_istream<char>]
The violated condition was:
    in
The name and call sequence of the exception was:
    ExcIO()
Additional Information:
(none)
--------------------------------------------------------

Aborting!
----------------------------------------------------


==
I'm not familiar with the Abaqus format but is this because Number of
boundary faces = 0.
If it is, is there a way around it?

Ted
_______________________________________________
dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii

Reply via email to