Products and versions covered
Table of Contents
Problem:
Is it possible to define a non-uniform temperature distribution for the initial temperature in a transient heat transfer analysis?
- Specify different uniform temperatures for different parts.
- Use the temperature result from a steady or transient heat transfer analysis as the
.
Causes:
The Nastran Inventor interface (Nastran In-CAD) only allows the user to specify a constant initial temperature for the entire model in a transient heat transfer analysis.
Solution:
The general process is to create the transient heat transfer analysis and replace the uniform initial temperature with the desired initial temperature profile.
- Apply an initial temperature load to the model (“Loads > Initial Condition > Temperature”).
- Generate the Nastran (.nas) file. (Right-click the model tree and select “Generate Nastran File.”)
- Edit the Nastran file to change the initial temperature from a constant value (specified by the TEMPD card) to the desired values (specified by the TEMP card for each node).
- This method requires access to the Nastran Editor utility.
Use temperatures from other heat transfer analysis
- In Inventor Nastran (or Nastran In-CAD), confirm that “System > Default Settings > General > Prompt for solution with warnings” is enabled.
- Run the first transient or steady-state heat transfer analysis to obtain the initial temperature distribution needed for the final transient heat transfer analysis.
- Duplicate the analysis and change the analysis type to Linear Static.
- Right-click a blank area of the model tree and select “Generate Nastran File.
- Click the “Save Nastran File” button on the toolbar and save it with a recognizable name.
- Duplicate the original heat transfer analysis. Change the analysis type to Transient Heat Transfer.
- Change the loads and other inputs to create the second transient heat transfer analysis. Include a dummy load of “Initial Condition > Temperature.”
- Right-click on a blank area of the model tree and select “Generate Nastran File.”
- Click the “Save Nastran File” button and save it with a recognizable name.
- Start the Nastran Editor utility.
- Open the Nastran file for the static stress analysis created in step 6.
- Look for the TEMP commands. These provide the temperature at each node.
- Select all TEMP lines and copy them (Ctrl+C).
- Open the Nastran file for the transient heat transfer analysis created in step 10 in the Editor utility.
- Display the “View > Field Marker (Narrow)” option to show the columns.
- Find the TEMPD command which provides the fictitious initial temperature applied to the model.
- Paste the TEMP commands copied from the stress analysis.
- Select all TEMP commands in the transient heat transfer analysis.
- Use “Edit > Replace” (Ctrl+H). Replace the original number in the second column of the TEMP commands (probably “1000”) with the original number in the second column of the TEMPD command (probably “20”).
Important notes :- Include a space before and after the “Search” text, such as ” -1000- ” (where “-” indicates a space character). You don’t want to randomly search for “1000” in temperatures or node numbers and change them.
- In this example, “Replace with” would be ” —20- “.
Column 1: TEMP command
Column 2: ID number (originally 1000, changed to 20)
Column 3: Node number
Column 4: Temperature value
- Click “Replace All” to replace the ID numbers. Make sure the pillar alignment has not changed.
- Add a “$” to the beginning of the TEMPD command to change it to a comment.
- Run the scan. (“Scan > Run”)
- Review the results in the editor or return to the Inventor Nastran interface (Nastran In-CAD).
- In the Inventor Nastran environment, activate the transient heat transfer analysis that was created for non-uniform temperature.
- Click the “Load Results” button on the ribbon. Do not use the right-click > Load button in the Browser Results branch.
Be aware of how your thoughts and ideas relate to each other
- Click “Results > Outline” on the ribbon to view the results as normal.
Alternative through third-party application
For large models, the time required to create the linear static analysis (steps 3 to 6) can be considerable. An alternative is to use a third-party application, such as FNO Reader (attached to the forum post ) to generate the temperature results from the initial heat transfer analysis. The temperature output can be converted into the format required for input into the Nastran file. General steps would be as follows:
- Run the first transient or steady-state heat transfer analysis to obtain the initial temperature distribution needed for the final transient heat transfer analysis.
- Duplicate the original heat transfer analysis. Change the analysis type to Transient Heat Transfer.
- Change the loads and other inputs to create the final transient heat transfer analysis. Include a dummy load of “Initial Condition > Temperature.”
- Right-click on a blank area of the model tree and select “Generate Nastran File.”
- Click the “Save Nastran File” button on the toolbar and save it with a recognizable name.
- Launch the Nastran Editor utility and open the transient heat transfer analysis file saved in the previous step.
- Locate the TEMPD line and write down the number in the second column (probably “20”).
- Add a “$” to the beginning of the TEMPD command to change it to a comment.
- Extract the temperature results from the original heat transfer analysis to be used as the initial temperature for the final transient heat transfer analysis using a third-party application.
- Change the output format to comma separated commands of the format “TEMP, ID, node number, temperature” where
- “TEMP” is the command.
- “ID” is the number in the second column of the TEMPD card (probably number 20) in the Nastran file of the transient heat transfer analysis.
- “node number” is the node number.
- “temperature” is the temperature calculated from the analysis performed in step 1.
- Save the commands as a comma-separated file (CSV file).
- Open the CSV file with Notepad.
- Select and copy the text.
Paste the text from the Nastran file into the Nastran editor. The commands should look like this:
- Run the scan. (“Scan > Run”)
- Review the results in the editor or return to the Inventor Nastran interface (Nastran In-CAD).
Use different temperatures for each piece
The process of replacing the initial temperature (TEMPD) with the desired temperature for each part (TEMP) is similar to the previous steps. The difference is how the TEMP commands are created.
- Option 1 involves performing a steady-state heat transfer analysis first to generate the temperatures for each part. The previous steps can be followed.
- Option 2 is to manually create the TEMP commands for all nodes.
Figure : Example Nastran file showing element connectivity for different idealizations.
Column 1: Element connectivity command (“A” in the image).
Column 3: Property ID (“B” in the image) corresponds to the idealization ID in Inventor Nastran. ID=2 is for Idealization 2 and ID=3 is for Idealization 3.
Remaining columns: Node numbers (“C” in the image) that define each element.
All node numbers for all elements with ID=2 should be merged together and duplicates should be removed. From that node list, TEMP commands would be created with the temperature of the elements at ID=2. The same goes for all other ID numbers that exist in the analysis.