Hi there Arun, I have made a mesh with multiple material ids in Cubit. It is fairly clumsy in that it basically assigns each new part a new material id. I basically made a mesh that consisted of about 3 rectangles joined together, and as each rectangle is added Cubit give it the next available integer as a part number. When the journal file is played, the Cubit part numbers become the material id.
Since I wanted all parts to be either material id 0 or 2 I simply opened the file in a text editor and pasted all into an OpenOffice spreadsheet. I am working in two dimensions and the material ids are the numbers in the second column for the objects marked quad. (You need to scroll past the node locations at the beginning.) In the spreadsheet program it is easy to substitute the material ids from Cubit with the desired material ids. So essentially: In Cubit make parts you want to have separate material ids separately and then edit them to get exactly what you want. Hope this helps, Michael On Tue, May 4, 2010 at 1:16 AM, arun jaganathan <[email protected]> wrote: > Hi, > > I am new to deal. I managed to import Cubit grid into deal using the python > code. > > I would like to convert Cubit mesh with multiple materials into UCD but the > python code provided in the wiki page do not include transfer of multiple > material ids from Cubit to UCD yet. > > Documentation talks about a program written by Jean-Paul Pelteret to convert > Cubit ABAQUS files into UCD which can handle multiple material ids. Can > anyone give me link to that program ? > > Thanks ! > > Arun. > > > > _______________________________________________ > dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii > > _______________________________________________ dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii
