Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Apply temperature on a specific coordinate in abaqus with python script

Status
Not open for further replies.

mmoein

Aerospace
Jul 16, 2017
3
I do have a file contains temperature value for a specific coordinates. The format of file is as follows:

X Y Z Temp

The goal is to read this information from a file and apply it then abaqus does its magic. I have been given a python script that builds the model ( I suspect this script generated automatically and the guys used the GUI to build and passed me the auto generated script by abaqus). In this file the use methods such as edges.findAt, faces.findAt and vertices.findAt to select the desired location and apply the temperature. Now, I am looking for a way to tell abaqus put this value as a temperature at this location and so on. It seems it is possible since when I look at the inp file I see such pattern. Even, if you could give me one example that read load, temperature or anything from a file and apply it at specific location it could be really helpful. In a very simple term, I give you (0,0,1) with a temperature of 20C, how do you code this (forget about python)

The file I have been working with can be found at this link. It contains two file, heat_aba.py and input.txt. My problem is concerned with the liens 58-102, to be substituted with a routine in python to read temperatures from input.txt and initialize the model in abaqus. The coordinates in the input.txt is a node coordinates.
 
Replies continue below

Recommended for you

Is it possible for you, Mustaine2, to elaborate more on your solution? Actually, I am not such an expert in Abaqus. I do appreciate if you could pass me some links that you may find it relevant. The only restriction I have is that the task should be done independence of any GUI operations in abaqus. However, please inform me on any solution you may guess.
 
I'm not going to do your job or your homework. Try it on a small example, read the manual, check the python code in the replay file and apply it to your problem.

Abaqus/CAE Manual 58. The Analytical Field toolset
 
I don't understand which part of my post imply that I would want you to do my work. Your post before last was not clear which part of abaqus functionalities you were referring. You make it clear on the last post and thank you for that.
 
Sorry, it sounded to me as you would like to have an example.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor