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.
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.