|
[Sponsors] |
July 11, 2020, 16:20 |
Surface Tension Coeff., Multiple interfaces
|
#1 |
Senior Member
Lolita
Join Date: Aug 2016
Posts: 118
Rep Power: 10 |
hi,
I want to define surface tension as a function of temperature using UDF at one of the interfaces, but the problem is, I have three interfaces in my problem. How to identify the interfaces? regards |
|
July 13, 2020, 02:27 |
|
#2 |
Senior Member
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34 |
probably you are using VOF (volume of fluid) model for your simulation.
In that case you don't have predefined interface, so you should find it (usually interface is a bunch of cell with values of C_VOF between 0 and 1) Once interface is defined you can apply whatever you want to that cells
__________________
best regards ****************************** press LIKE if this message was helpful |
|
July 13, 2020, 06:33 |
|
#3 | |
Senior Member
Lolita
Join Date: Aug 2016
Posts: 118
Rep Power: 10 |
Quote:
HTML Code:
if (C_VOF(cell, A) != 0.0 && C_VOF(cell, A) != 1.0) |
||
July 13, 2020, 21:15 |
|
#4 |
Senior Member
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34 |
unfortunately, I have no experience.
But it looks like you should use something like subdomain Ansys Fluent Customization manual -> sub_domain_loop I think, this is a way for you to switch between phases
__________________
best regards ****************************** press LIKE if this message was helpful |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Surface tension driven flows: interFoam vs. multiphaseInterFoam | dzordz | OpenFOAM Programming & Development | 3 | December 22, 2021 03:57 |
How to add Surface Tension in cavitatingFoam solver | jamestangx | OpenFOAM Programming & Development | 1 | April 6, 2016 17:39 |
Help!! customize surface tension term in interFoam | w051cxw | OpenFOAM Programming & Development | 5 | February 12, 2016 15:56 |
Help!! customize surface tension term in interFoam | w051cxw | OpenFOAM Running, Solving & CFD | 0 | February 12, 2016 02:15 |
continuum surface tension model | yukn | Main CFD Forum | 0 | October 8, 2011 07:43 |