[deal.II] Re: Error in GridIn::read_abaqus for a mesh with two blocks

2016-10-25 Thread Jean-Paul Pelteret
Awesome! I'm glad that worked for you. I'll update the wiki again and make a note that it works with newer versions of Cubit. If you're up for the challenge, there's the elusive bug in the read_abaqus function that still needs to be found ;-) J-P On Tuesday, October 25, 2016 at 9:16:44 PM UTC+

[deal.II] Re: Error in GridIn::read_abaqus for a mesh with two blocks

2016-10-25 Thread Jean-Paul Pelteret
Hi Oded, Thanks for your comment. I've always found it strange that this script (thank you to whoever first developed it) left the output format as .inp. I think it must have been a common suffix for the format, and the fact that it clashes with the ABAQUS file format is just unfortunate. Anyw

[deal.II] Re: Error in GridIn::read_abaqus for a mesh with two blocks

2016-10-24 Thread Oded Yaakobi
Hi Jean-Paul, The last journal file that you sent me run successfully. I was able to read the file that it generated using GridIn::read_ucd. By the way, it would be more clear if the suffix of the generated file will be "ucd" and not "inp" which is the suffix that is affiliated with abaqus file

[deal.II] Re: Error in GridIn::read_abaqus for a mesh with two blocks

2016-10-24 Thread Jean-Paul Pelteret
Hi Oded, Hmm... I didn't have much luck with the script either. That was unexpected! I've dug up an older version from many year ago and attached it. Please give it a go! I know that this one doesn't output material IDs, but I'll try to see if I can refactor it so that it does. Regards, J-P O

[deal.II] Re: Error in GridIn::read_abaqus for a mesh with two blocks

2016-10-24 Thread Oded Yaakobi
Hi Jean-Paul, I tried to run the python script that you noted, but got various error messages. Were you able to run it successfully on my mesh? Best, Oded On Monday, October 24, 2016 at 11:05:36 AM UTC-4, Jean-Paul Pelteret wrote: > > Dear Oded, > > The error message from the development versi

[deal.II] Re: Error in GridIn::read_abaqus for a mesh with two blocks

2016-10-24 Thread Jean-Paul Pelteret
Dear Oded, The error message from the development version is more useful. Unfortunately there's a bug somewhere in the routine that appears from time-to-time on more complex meshes that I have not been able to track as of yet. This is clearly one of those times... For now you could consider us

[deal.II] Re: Error in GridIn::read_abaqus for a mesh with two blocks

2016-10-21 Thread Oded Yaakobi
Hi Jean-Paul, I wanted to verify that the issue that I encountered is not related to the fact that I am using a version of dealii which is not the most updated one, so I installed the current version of dealii from git. I run two versions of my code with ‘apply_all_indicators_to_manifolds

[deal.II] Re: Error in GridIn::read_abaqus for a mesh with two blocks

2016-10-21 Thread Jean-Paul Pelteret
Hi Oded, I wasn't able to read in the .cub file (clearly its not backwards compatible). I did manage to import the .inp file and nothing looks amiss. Could you try to set the apply_all_indicators_to_manifolds

[deal.II] Re: Error in GridIn::read_abaqus for a mesh with two blocks

2016-10-21 Thread Jean-Paul Pelteret
Hi Oded, Two things: 1. The documentation originally stated that "Files generated using Cubit 11.x, 12.x and 13.x are valid", but I see that its now been updated to include 14.x and 15.x. I personally don't know whether this works with newer versions of Cubit, but hopefully it has indeed been t