Expressions > Inputs to expressions
Specify a thermal plugin function
This example shows how to compile and specify your thermal plugin function in the expression of the heat transfer coefficient defined in the Thermal Stream load.
Code your plugin function in C++.For more information, see Thermal Solver API Manual .
Compile the source code for your plugin function to generate a DLL file.For compiler support, see Supported compilers.
Set the UGII_CAE_PLUGIN_DIR environment variable to specify the path to your plugin function DLL.
Start Simcenter 3D or NX.
Choose File→Utilities→Customer Defaults.
In the Customer Defaults dialog box, select Simulation→Pre/Post→Expression Extensions.
On the Plugin tab, select the Use Custom Plugin check box.
In the Custom Plugin box, type the file name including the .dll extension for the compiled DLL file that contains your plugin function.The software uses UGII_CAE_PLUGIN_DIR to complete the full path to the DLL file. Relative path is also supported.
Click OK.
Close and restart the software.
Open or create the Simulation file and start Pre/Post.
Choose Home tab→Loads and Conditions group→Load Type→Thermal Stream .
Select the appropriate type and model region.
In the Heat Transfer group, in the Heat Transfer Coefficient row, click and select Function.
In the Insert Function dialog box, in the Enter Keywords to Search for a Function box, type the name of your function and click Find.If you cannot find your function, your plugin function was not correctly compiled or you did not correctly set the path to your DLL in the Customer Defaults dialog box. Make sure to restart your software after you modify customer defaults.
Select your function.
Click OK on the Insert Function dialog box.
If necessary, in the Function Arguments dialog box, enter the required and optional arguments for your function.If your function does not take any arguments this dialog box does not open.
Click OK on the Function Arguments dialog box.
Define other load properties and options.
Click OK on the Thermal Stream dialog box.
How do I
Change rename and variable prefix settings
Find units and unit designations
Learn more
Inputs to expressions
Restrictions on auto-generated expressions
Fields in expressions
Units in expressions
Migrating expressions that include angular measures
Inconsistent units warnings
Look up more details
Mathematical functions in expressions
Lookup functions in expressions
Utility functions in expressions
Thermal-flow functions in expressions
Auto-generated expressions
Field function
Mapped field function
Mathematical operators in expressions
Temperatures in expressions
Complex numbers in expressions
Quick links
Command reference
Pre/Post video examples
Bulk Entry Descriptions
Simcenter 3D tutorials
Browse Simcenter 3D help by product area
Customizing thermal and flow solvers through API
Specify a thermal plugin function, Simcenter 3D 2021.1 Series
© 2020 Siemens
window.mainLanguage="en_US"
window.delivId=""
window.projectId=""
MathJax.Hub.Config({ TeX: { extensions: ["autoload-all.js"] }, tex2jax: { displayMath: [ ] }, "SVG": { scale: 125 } });
Source: https://docs.sw.siemens.com/en-US/doc/289054037/PL20200601120302950.advanced/xid1214923 · retrieved 2026-07-17