CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT > Fluent UDF and Scheme Programming

UDF for accessing interfacial area density of cells

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 16, 2023, 10:55
Question UDF for accessing interfacial area density of cells
  #1
New Member
 
Haocheng_Ding
Join Date: Aug 2023
Posts: 5
Rep Power: 2
Dinghc is on a distinguished road
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!
Dinghc is offline   Reply With Quote

Old   August 17, 2023, 03:44
Default
  #2
New Member
 
Haocheng_Ding
Join Date: Aug 2023
Posts: 5
Rep Power: 2
Dinghc is on a distinguished road
The problem has been solved,Thanks!
Dinghc is offline   Reply With Quote

Reply

Tags
udf;iac;tfm

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
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


All times are GMT -4. The time now is 08:37.