On 10/28/22 21:00, Technical Forex wrote:
> I read in the uvn file generated by salome mesh with gridin. But it gives me
> the following error . Attachment please find the unv file. I couldn't find
> what caused the error.
>
> terminate called after throwing an instance of
> 'dealii::StandardExceptions::ExcIO'
> what():
> --------------------------------------------------------
> An error occurred in line <864> of file
> </home/ztdep/Downloads/dealii-9.4.0/source/grid/grid_in.cc> in function
> void dealii::GridIn<dim, spacedim>::read_unv(std::istream&) [with int dim
> = 2; int spacedim = 2; std::istream = std::basic_istream<char>]
> The violated condition was:
> in.fail() == false
UNV is a terrible file format. It is, in essence, a memory dump of a program
that was written many decades ago. It is a disaster to parse because there are
so many things that can appear in these files.
Can you let SALOME export the mesh in any other format?