|
[Sponsors] |
UDF for accessing interfacial area density of cells |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
New Member
Haocheng_Ding
Join Date: Aug 2023
Posts: 5
Rep Power: 2 ![]() |
Hello everyone, I have a question that I would like to seek your advice on!
In the Eulerian Two-Fluids Model (also known as the Eulerian Model) of ANSYS FLUENT, I'm interested in utilizing a User-Defined Function (UDF) to access the interfacial area Ai of grid cells. This interfacial area Ai refers to the interfacial area of the mixture per unit volume in a two-phase flow. While examining the header files provided by ANSYS, I have come across two macros that might be capable of accessing Ai. However, I'm uncertain about the meanings of their parameters and haven't been able to find information about them in the user manual. Hence, I'm reaching out to all of you for guidance. These two macros are MP_IAD_INDEX(i, j) and C_MP_AREA_DENSITY(c, t, index). The first macro seems to potentially return a parameter 'index' required in the second macro, but I'm unsure about this and I also lack a clear understanding of how these macros are employed. Right now, my goal is to understand the functions of these macros and whether they can truly be employed to access the interfacial area Ai. Additionally, I'm uncertain about the role of parameter 't' and which thread it pertains to (mixture thread, primary phase thread, or secondary phase thread). I genuinely appreciate your assistance and response! |
|
![]() |
![]() |
![]() |
![]() |
#2 |
New Member
Haocheng_Ding
Join Date: Aug 2023
Posts: 5
Rep Power: 2 ![]() |
The problem has been solved,Thanks!
![]() |
|
![]() |
![]() |
![]() |
Tags |
udf;iac;tfm |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
flow over cylinder in openFoam | saeed jamshidi | OpenFOAM Pre-Processing | 3 | August 11, 2023 16:16 |
Interfacial area UDF for 3 phase flow | Anshs | Fluent UDF and Scheme Programming | 5 | June 25, 2020 11:13 |
SimpleFoam & Theater | jipai | OpenFOAM Running, Solving & CFD | 3 | June 18, 2019 11:11 |
[snappyHexMesh] snappyHexMesh aborting | Tobi | OpenFOAM Meshing & Mesh Conversion | 0 | November 10, 2010 04:23 |
multiphase interfacial area density model | Paul | Main CFD Forum | 0 | August 5, 2003 18:33 |