Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Nice'n'easy temperature mapping with interpolation ... I wish!

Status
Not open for further replies.

absorbentgnome

Materials
Oct 11, 2005
3
Hello everyone,

I have written a axis-symmetric average temperature FD model of a work roll in C#. Also I have written a python script which builds an axis-symmetric FE model of a work roll in ABAQUS. The analysis is static, so that temperatures from the FD model are put into the FE model to obtain the thermal stress.

Currently, the temperatures are defined individually using the node number and temperature using a statement such as:

mdb.models['AxissymmetricRollModel'].Temperature(name='T1', createStepName='ApplyLoad', region=regionToolset.Region(nodes=n1[0:1]), distribution=UNIFORM, crossSectionDistribution=CONSTANT_THROUGH_THICKNESS, magnitudes=(25, ))

Although this works, it requires my script to know exactly where the nodes are in the mesh, and in inefficient in terms of memory consumption and results in quite large script files if there are many nodes. If the node arrangement changes then the code fails.

As far as I understand I can use a .fil or .odb file to get these temperatures into the model. I cannot get CAE to generate an example .fil file so I can write a program to generate a suitable one. I am unsure how to generate a suitable .odb file.

I know ABAQUS can take an .odb file or .fil file which contains the coordinates and temperature definitions AND interpolate them nicely.

But I can't work out how to do it. The scripting manuals are light on examples and detail.

If there is a statement such as the above one which takes coordinates and temperatures then that would be great!

Any ideas?

I could use UTEMP. However I would want to read in the temperatures from a file into a suitable array then send the data to ABAQUS when UTEMP is called. Is this possible give the subroutine structure? I do not know very much about FORTRAN.

Thanks in advance,
Dan.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor