-
-
November 28, 2019 at 10:40 am
YouwuApo
SubscriberHi,
I'm writing an UDF and trying to access the pressure on a wall by using macro F_P() and this works fine in pressure based solver. But as far as I know, F_P() can not be used in density based solver. Is there any macro that can replace F_P() in density based solver? or other way to access wall face pressure?
-
November 28, 2019 at 4:38 pm
DrAmine
Ansys EmployeeAccess next cell value and doing extrapolation if needed. -
December 1, 2019 at 3:05 pm
YouwuApo
SubscriberHi! Thank you for your reply. I tried to use pressure and the gradient of pressure on cell center to extrapolate pressure on face center. Macro C_P is available in density based solver. But I can’t access the gradient of pressure. I also tried to use C_R_G and C_T_G to solve pressure gradient with ideal gas equation but received an error message too. Do you have any recommended extrapolation method? Or where I could find a reference for pressure extrapolation in fluent?
Best regards,
Youwu
-
December 2, 2019 at 6:04 am
DrAmine
Ansys EmployeeCheck the customization manual to check how to access gradients
-
- 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.

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.
- 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
- Difference between K-epsilon and K-omega Turbulence Model
- The solver failed with a non-zero exit code of : 2
- Time Step Size and Courant Number
- Mesh Interfaces in ANSYS FLUENT
- error: Received signal SIGSEGV
-
5290
-
3311
-
2469
-
1308
-
1016
© 2023 Copyright ANSYS, Inc. All rights reserved.