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

Contact area in udf

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 30, 2021, 00:43
Default Contact area in udf
  #1
New Member
 
Join Date: Jul 2018
Posts: 29
Rep Power: 8
aminhgn is on a distinguished road
Hi,

I am trying to write a mass transfer udf. to calculate mass transfer, i need contact area between liquid and air. would you please help me how can I find the contact area in udf which is the height of cell (2d) ?

Thanks,
aminhgn is offline   Reply With Quote

Old   November 30, 2021, 15:08
Default
  #2
Senior Member
 
Join Date: Nov 2013
Posts: 1,965
Rep Power: 27
pakk will become famous soon enough
Do you want to extract the mass transfer from your simulation, or prescribe the mass transfer in your simulation?

If it is the first: you might not need to know the contact area, think of conservation of mass...
If it is the second: then you need to define the contact area in your geometry.
__________________
"The UDF library you are trying to load (libudf) is not compiled for parallel use on the current platform" is NOT the error after compiling. It is the error after loading. To see compiler errors, look at your screen after you click "build".
pakk is offline   Reply With Quote

Old   November 30, 2021, 15:32
Default
  #3
New Member
 
Join Date: Jul 2018
Posts: 29
Rep Power: 8
aminhgn is on a distinguished road
Quote:
Originally Posted by pakk View Post
Do you want to extract the mass transfer from your simulation, or prescribe the mass transfer in your simulation?

If it is the first: you might not need to know the contact area, think of conservation of mass...
If it is the second: then you need to define the contact area in your geometry.
Thank you for your reply. I want to define the mass transfer in my simulation. to prescribe the mass transfer, I am using:
S = Kg*(Wgb-Wge)*A
Which A is contact area. I am calculating this value for each cell, since the cell size is growing from inlet, I am looking for a way to calculate cell height for each cell?
aminhgn is offline   Reply With Quote

Reply

Tags
cell size, mass transfer vof udf, udf


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
Dynamic contact angle issue: fluent UDF couldn't set the correct contact angle FelixJJ FLUENT 2 October 20, 2021 03:39
Modifying Contact Detection UDF for 3D wcj1n18 Fluent UDF and Scheme Programming 9 March 18, 2021 00:33
Dynamic Contact Angle UDF in Fluent codyn Fluent UDF and Scheme Programming 2 August 25, 2016 00:54
how to use UDF to obtain the thred of the interface between the liquid and the wall? hellowqy Fluent UDF and Scheme Programming 8 December 17, 2015 11:03
UDF for varying contact angle (wettability gradient)) aviitkgp1 FLUENT 1 March 10, 2010 15:37


All times are GMT -4. The time now is 21:45.