Tagged: interior
-
-
March 24, 2021 at 5:31 pm
pmjsjs
SubscriberI'm running a transient simulation. I need to access the pressure in an interior face within the domain using UDF. As the macro 'F_P(f,t)' works only for the pressure-based solver, how to access the pressure in the density-based solver?Thanksn -
March 24, 2021 at 8:57 pm
YasserSelima
SubscriberC_P(c,t) still work for the cell pressuren -
March 25, 2021 at 12:18 pm
Rob
Ansys EmployeeThat's the cell pressure, but may be sufficient.n -
March 25, 2021 at 3:53 pm
pmjsjs
SubscriberMany thanks for this. Can you a little bit elaborate on how the cell pressure will be interpolated to obtain the pressure value at the face?nThanks!n -
March 25, 2021 at 4:30 pm
YasserSelima
SubscriberIt will be a little tough but possible nfor interior face : INTERIOR_FACE_GEOMETRY(f,t,A,ds,es,A_by_es,dr0,dr1) returns dr0 and dr1 which are the vectors to the adjacent cells ... C0 and C1nFor boundary face: BOUNDARY_FACE_GEOMETRY(f,t,A,ds,es,A_by_es,dr0) returns dr0 which is the vector to the adjacent cell C0 nBOUNDARY_FACE_THREAD_P(t) returns TRUE if Thread *t is a boundary face threadnF_C0(f,t) and F_C1(f,t) return the cells C0 and C1 adjacent to the facenTHREAD_T0(t) and THREAD_T1(t) returns the threads T0 and T1 for cells C0 and C1 abovenC_P(c,t) returns the pressure in a cellnC_P_G(c,t) returns a vector of the pressure gradients in x, y and znnNow you have all the required info, do the mathnnn n
-
Viewing 4 reply threads
- You must be logged in to reply to this topic.
Ansys Innovation Space

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.
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
-
2524
-
2066
-
1279
-
1096
-
459
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.