×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Apply temperature on a specific coordinate in abaqus with python script

Apply temperature on a specific coordinate in abaqus with python script

Apply temperature on a specific coordinate in abaqus with python script

(OP)
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.

RE: Apply temperature on a specific coordinate in abaqus with python script

Have you tried the mapping that /CAE offers?

RE: Apply temperature on a specific coordinate in abaqus with python script

(OP)
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.

RE: Apply temperature on a specific coordinate in abaqus with python script

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

RE: Apply temperature on a specific coordinate in abaqus with python script

(OP)
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.

RE: Apply temperature on a specific coordinate in abaqus with python script

Sorry, it sounded to me as you would like to have an example.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources