March 3, 2022 at 11:16 amRezaKdrSubscriber
I am modelling force convection heat transfer in a channel using energy and momentum source terms (qi and fi, respectively). I defined the source term using the Expressions option in Fluent 2020R2. The flow is turbulent and the turbulent model is realisable k-epsilon with enhanced wall function. I have no problem with the momentum source term but when I activate the energy source term the following error will appear:
Fluent Error: chip-exec: function "qi" not found
the energy source term is the momentum source term* x-velocity, as
I tried different scenarios, such as testing other turbulent models, considering other sorts of energy source terms such as a constant number; however, I got the same error. I also tried the series and parallel simulations, and also different solution methods (SIMPLE and Coupled), but still getting the same error.
I would appreciate it if you help me with this issue.March 3, 2022 at 11:36 amRobAnsys EmployeeIt usually means a value that is being used is either not defined or not present in the model. With UDFs it's occasionally caused by model changes removing a required field (eg a turbulent setting from a UDF is removed by switching to laminar) and the UDF then being unloaded: the solver still looks for the UDF but doesn't actually need the value.
How are "qi" and "fi" defined?
March 3, 2022 at 12:33 pmRezaKdrSubscriberI used expressions to define them, I didn't use UDF.
"fi" is defined as:
and "qi" is defined as:
The issue is that even if I define a constant number, say 2 W/m^3, in expression and use it as a heat source, I will get the same error.
March 3, 2022 at 2:07 pmRobAnsys EmployeeUse a longer label to check "fi" and "qi" aren't a defined variable in Fluent.
March 3, 2022 at 3:12 pmRezaKdrSubscriberI have changed the labels but still, I am getting the same error.
Error: chip-exec: function "Energy_source" not found.
March 3, 2022 at 3:27 pmRobAnsys EmployeeDoes the model run?
March 8, 2022 at 2:13 pmRezaKdrSubscriberYes, it is working okay with the momentum source term. However, when I activate the energy source term, the model runs but with error. It runs without taking the source term into account.
March 8, 2022 at 2:18 pmRobAnsys EmployeeSet "fi" as a fixed value and see what happens.
March 8, 2022 at 2:24 pmRezaKdrSubscriberThe same error repeated
March 9, 2022 at 3:57 pmRobAnsys EmployeeChange "qi" to be "qsomething" and see what happens. There are a few hard coded macros but no list.
March 9, 2022 at 5:10 pmRezaKdrSubscriberI have changed it to "qChanged" and the same error was repeated.
March 9, 2022 at 5:14 pmRobAnsys EmployeeStill an error for qi or for qChanged? If it's the former there must be a setting that's got stuck in the solver.
March 9, 2022 at 5:49 pmRezaKdrSubscriberThe same error is for qChanged.
March 10, 2022 at 2:34 pmRobAnsys EmployeeTo check:
fi = momentum source
qi = energy source
Did you check the units? Expressions need units, unlike UDFs which assume the values going into and leaving the UDF are SI and correspond to whatever you're using them for.
March 10, 2022 at 3:51 pmRezaKdrSubscriberYes, that's correct.
I checked the units. Everything is fine.
November 4, 2022 at 10:14 amRezaKdrSubscriber
I finally found the reason for that error. This error appears when a heat source defined in the "named expressions" is used with a periodic boundary condition. The error disappeared when I switched from periodic boundary conditions to velocity inlet and pressure outlet. No issue was found when the heat source is plugged in using UDF.Viewing 15 reply threads
Ansys Innovation Space
- You must be logged in to reply to this topic.
Earth Rescue – An Ansys Online Series
The climate crisis is here. But so is the human ingenuity to fight it. Earth Rescue reveals what visionary companies are doing today to engineer radical new ideas in the fight against climate change. Click here to watch the first episode.
Subscribe to the Ansys Blog to get great new content about the power of simulation delivered right to your email on a weekly basis. With content from Ansys experts, partners and customers you will learn about product development advances, thought leadership and trends and tips to better use Ansys tools. Sign up here.Trending discussions
- Suppress Fluent to open with GUI while performing in journal file
- Floating point exception in Fluent
- What are the differences between CFX and Fluent?
- Heat transfer coefficient
- Getting graph and tabular data from result in workbench mechanical
- The solver failed with a non-zero exit code of : 2
- Difference between K-epsilon and K-omega Turbulence Model
- Time Step Size and Courant Number
- Mesh Interfaces in ANSYS FLUENT
- error in cfd post
© 2023 Copyright ANSYS, Inc. All rights reserved.Ansys does not support the usage of unauthorized Ansys software. Please visit www.ansys.com to obtain an official distribution.