Tagged: absolute-pressure, multiphase, phase-change
-
-
February 28, 2022 at 9:43 pm
fjulio
SubscriberHello,
I am trying to simulate a heat pipe. In a previous thread I mentioned the simulation diverging and I was able to identify the root cause being the absolute pressure becoming negative whenever I activate a UDF for saturation pressure.
My question would be, can the UDF, which is just an implementation of the Antoine equation, cause the absolute pressure to be negative? Here is the UDF code:
#include "udf.h"
DEFINE_PROPERTY(saturation_temp,c,t)
{
real sat_t;
real vapor_p;
real static_p = C_P(c,t);
real operating_p = RP_Get_Real ("operating-pressure");
vapor_p = static_p + operating_p;
sat_t = (1723.6425/(8.05573-((double)log10((double)vapor_p/133.322)))-233.08)+273.15;
return sat_t;
}
And this is a snapshot of my solution methods. I am using VOF multiphase flow with liquid and vapor water as the two phases. The controls tab is unchanged (relaxation factors, etc.)
March 1, 2022 at 8:43 amDrAmine
Ansys EmployeeIs it possible to store that in a cell memory and check the values at the moment when the absolute pressure get negative? I cannot imagine how the absolute pressure will be negative as it is actually clipped to minimum based on the solution limits.
Moreover I do not understand why you are casting the variable again which you have already defined. Remove all this double appearing in your expression and verify if the Antoine expression is correct.
Viewing 1 reply thread- You must be logged in to reply to this topic.
Ansys Innovation SpaceEarth 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.
Ansys Blog
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
Top Contributors-
2656
-
2120
-
1349
-
1118
-
461
Top Rated Tags© 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.
-