CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   ANSYS (https://www.cfd-online.com/Forums/ansys/)
-   -   Interfacial area UDF (https://www.cfd-online.com/Forums/ansys/235417-interfacial-area-udf.html)

U1990 April 14, 2021 02:11

Interfacial area UDF
 
Hello,


How can I obtain "interfacial area" value in a cell with two phases using UDF?


Obviously, I'm using multiphase model.


Thank you for your reply.

p.b+cfd February 23, 2022 08:04

It's probably a bit late but it might be helpul for other users, too.
There does not seem to be any documentation about it.


I believe the following should work if we are talking about the default algebraic interfacial area models (ia-particle, ia-ishii, ia-symmetric, ...):

int index = MP_IAD_INDEX(i, j);
const real iac = C_MP_AREA_DENSITY(c, t, index);


i: index of phase-1
j: index of phase-2
c: cell index
t: thread pointer


But check this carefully before you use it!

Dinghc August 16, 2023 09:02

What is the function of the macro "MP_IAD_INDEX," as it is not found in the Fluent manual? Thank you very much.


All times are GMT -4. The time now is 09:28.