TAGGED: fluent, user-defined-functions
-
-
August 2, 2023 at 6:05 pmAyaaz YasinSubscriber
Is there a way to set the temperature of the new mass being added by a UDF mass source? I ran a simple test case and it looks like the UDF mass source adds new mass at a constant 298.15 K. However, I could not find a way to change this temperature. The only solution I have is to add a heat sink UDF to the same domain and remove enough heat to cool the new mass to the desired temperature (~21 K). This does not work as intended and cools the neighboring region as well. Is there a way to directly change/set the temperature of the UDF mass source without the need for additional UDFs?Â
-
August 3, 2023 at 10:20 amAtharva NagarkarAnsys Employee
Hello
The temperature can be set by specifying the appropriate energy source. For the energy equation, add a source that is to be calculated from the mass source, the heat capacity (Cp) and the desired temperature. If no adjustment to the energy equation is made, the species sources are treated as entering at T_ref = 298.15 K. Here is the link from the Ansys manual on how to add a source term in a UDF.Â
2.3. Model-Specific DEFINE Macros (ansys.com) - Check section 2.3.43
Note that you should add momentum sources unless the mass that enters is at rest.
If you are not able to access the link, please refer to this forum discussion: Using Help with links (ansys.com)
Thanks!
-
- The topic ‘Fluent: temperature of UDF mass source’ is closed to new replies.
- Workbench license error
- Unexpected error on Workbench: Root element not found.
- Unexpected issues with SCCM deployment of Ansys Fluids and Structures 2024 R1
- Questions and recommendations: Septum Horn Antenna
- AQWA: Hydrodynamic response error
- Tutorial or Help for 2 way FSI
- Unable to connect to the license
- Moment Reaction probe with Large deformation
- 2 way coupled FSI for ball bearing
- Ansys with Vmware and CPU configuration : I’m lost, good practice?
-
1416
-
599
-
591
-
565
-
366
© 2025 Copyright ANSYS, Inc. All rights reserved.