February 9, 2022 at 10:35 amtianxiaoSubscriber
Recently I am working with the Expression in Fluent. And I have defined a constant in Expression as a Parameter, which I want to change between simulations. And I noticed that, after I change the value of this expression, nothing happens. Only when I restart the Fluent again, the model knows that I have a new Value of that expression? So do I always need to restart fluent again to update the value in the expression?
TianxiaoFebruary 10, 2022 at 2:28 pmKishan KonannavarAnsys EmployeeHello
Just for clarification, could you let us know what steps do you execute after changing the values of the expression and additionally steps before you restart Fluent (when you see the updated value).
February 10, 2022 at 2:42 pmtianxiaoSubscriberHello Kishan I changed the Value of this expression, which is used in a source term. After changing I direktly click the "calculate" again without touching other settings, and nothing happens. Then I turn off the fluent, restart and click the "calculate", then it works.
February 11, 2022 at 12:41 pmNikhil NaraleAnsys EmployeeHello
Usually it is not required to restart the fluent to update the expression. However, I am finding it difficult to grasp the issue with the information provided.
Would you mind elaborating the expression?
February 15, 2022 at 2:55 pmtianxiaoSubscriberHi Nikhil
I defined the following expressions in fluent:
the one "rho_cat" is a contant without unit:
as you can see, "rho_cat" are being used in "S_h2", "S_h2o"......
as a Example "S_h2" are used as a source-term for the species "h2" as in the following picture:
And My Problem ist, wenn I change the "rho_cat" between two calculations, nothng happens to "S_h2". Only wenn I restart the fluent again, the solver seems to notice that the source term is also changed.
After 15 Iterations with rho_cat=10:
Now I change the rho_cat to 15 (It seems nothing happens):
After I restart the fluent (Now the solver noticed my modification of "rho_cat"):
February 24, 2022 at 7:29 pmKishan KonannavarAnsys EmployeeHello
Do you monitor S_h2 or a quantity affected by rho_cat? Because the snapshots attached are of residuals.
February 25, 2022 at 11:20 amtianxiaoSubscriberhi yes you are right, S_h2 did changed, But the results (for example, a temperatur plot) are not changed. That means, the source term is not updated, even though the expressions are already updated.
(nothing happens to my results (and I am quit sure the source term will influence the results strongly))
February 25, 2022 at 12:01 pmRobAnsys EmployeeHow is the source and the zone temperature linked? If you monitor the volume fraction (for instance) does that change? If that constant changes all values equally what does it achieve?
Viewing 7 reply threads
Ansys Innovation Space
- You must be logged in to reply to this topic.
Boost Ansys Fluent Simulations with AWS
Computational Fluid Dynamics (CFD) helps engineers design products in which the flow of fluid components is a significant challenge. These different use cases often require large complex models to solve on a traditional workstation. Click here to join this event to learn how to leverage Ansys Fluids on the cloud, thanks to Ansys Gateway powered by AWS.
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.