Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations IDS on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to import/include parts, meshes,... from different cae files? 4

Status
Not open for further replies.

bojanv

Mechanical
Nov 29, 2006
27
Hello everyone :)

I would like to know, what is the best way to combine or import parts, meshes, constraints,... from different cae files. Is the import of an orphan mesh through inp import the only way?

3 of us are working on a larger assembly, and it would be nice, that we could directly combine together different cae files into one, without orphan meshes.

Thanks a lot :)

B.
 
Replies continue below

Recommended for you

Have you tried
ABAQUS/CAE ->Menu ->Model-> Copy objects ???
 
hey xerf,

Thanks for reply. Yes, I have tried this option, of course, but this works only between several models in the opened cae file. What I would like is to be able to copy some features (parts, meshes,..) from one cae file to another. But since there can be only one cae file opened when working with Abaqus/CAE, I dont know how to do it.

Any more ideas, perhaps? I would be glad :)

br, B.
 
Apart from using *INCLUDE in the input file, I can't think of any other way...
 
There is another way... assuming you know your way around jnl files (i.e. ABAQUS journal file which records, in Python, the commands used to create a particular database)

You can replay (FIle - Run Script) the jnl file of the source database inside the target database. You'll end up replicating the source database, but since it is now a separate model within the target database you can simply use the "Model - Copy Objects" to get parts/meshes/materials/sections from one model to the other.

Not perfect, but it may save the day!

PS: You'll have to look carefully at the model names and other commands in the jnl that could mess things up. That's why I said you need to know your way around the jnl. BUt it's really not that hard...
 
brep, a star for you!

Your idea it is quite good. I tested it.

What you have to do is to look in the .jnl file and notice the names of the models.

If the model is created in the .jnl file, i.e. you find

mdb.Model(name='Model-name'),

then you have to be sure there is no any other model in the CAE with the same name.

If there is no model creation command in the .jnl file then you can either insert it in the .jnl file or you can create an empty model in CAE with the same name as the one in .jnl file.

Then you can replay the .jnl file and use Copy Objects.
 
yes, indeed :)

brep, another star from me too
your advice was really good, i tried it and it works as it should. and besides that, it also gave me some new ideas about scripting and automatization in abaqus.

real thanks again :))
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor