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


Assign temperature values to mesh nodes

Assign temperature values to mesh nodes

Assign temperature values to mesh nodes

Hello everybody.

I apologize in advance if this has been asked posted already but I couldn't find anything when I searched about it.

I imported a mesh from another software (Autodesk Moldflow) into ANSYS and now I want to import also the temperature values for each node of the mesh (I have the xml file with the temperature values for each node) and assign them to the one in ANSYS so I can simulate the thermal expansion of the model.

Is there a way to do this?
And if so what should be the xml format?

Thank you a lot for your time and your help.

(By the way I don't know if it is obvious but I am a total beginner to ANSYS :)

RE: Assign temperature values to mesh nodes

You can use "External Data" module for this. You can choose which delimiter to use (comma, tab, ...).
For example:

1 100
2 101

After you have to connect External Data to "Setup" block of your thermal analysis.

RE: Assign temperature values to mesh nodes

Have a look at the BF command in ANSYS APDL. I'm not familiar with Autodesk Moldflow, but if you have nodal temperatures, you can apply them to your ANSYS model with the BF command.


Christopher K. Hubley
Mechanical Engineer
GE Aviation
Cincinnati, Ohio

RE: Assign temperature values to mesh nodes

Thank you L_K and flash3780 for your replies.

@L_K What format should the file for the external data be? I tried with a txt file with the 2 columns like your example but apparenlty this is not the right way to do it.

@flash3780 Do you know how to do it for many values. I have the exported xml file which has the values like this:
<NAME> Moldflow Simulation Results XML Writer</NAME>
<Version> 1.00</Version>
<Dataset Name="Temperature, mold (averaged)" ID="5820">
<DataType> NDDT(Node data)</DataType>
<DeptVar Name="Temperature, mold (averaged)" Unit="K"/>
<NumberOfComponents> 1</NumberOfComponents>
<NumberOfIndpVariables> 0</NumberOfIndpVariables>
<NumberOfBlocks> 1</NumberOfBlocks>
<Block Index="1">
<NumberOfDependentVariables> 93981</NumberOfDependentVariables>
<NodeData ID="13229">
<DeptValues> 3.0861e+002</DeptValues>
<NodeData ID="13265">
<DeptValues> 3.0889e+002</DeptValues>

RE: Assign temperature values to mesh nodes

Maybe this tutorial will help https://www.youtube.com/watch?v=If145RMiLkY

It is very possible that this technique is not applicable to your analysis yes.

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!


Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close