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!

Assign temperature values to mesh nodes

Status
Not open for further replies.

tzipris

Mechanical
May 16, 2017
2
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 :)
 
Replies continue below

Recommended for you

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.


 
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.

BF, NODE, TEMP, VALUE

//signed//
Christopher K. Hubley
Mechanical Engineer
GE Aviation
Cincinnati, Ohio
--
 
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:
<HEADER>
<NAME> Moldflow Simulation Results XML Writer</NAME>
<Version> 1.00</Version>
</HEADER>
<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>
<Blocks>
<NumberOfBlocks> 1</NumberOfBlocks>
<Block Index="1">
<NumberOfDependentVariables> 93981</NumberOfDependentVariables>
<Data>
<NodeData ID="13229">
<DeptValues> 3.0861e+002</DeptValues>
</NodeData>
...
...
...
<NodeData ID="13265">
<DeptValues> 3.0889e+002</DeptValues>
</NodeData>
</Data>
</Block>
</Blocks>
</Dataset>
</MoldflowXMLDocument>



 
Status
Not open for further replies.

Part and Inventory Search

Sponsor