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

Surface Tension Coeff., Multiple interfaces

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By AlexanderZ

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 11, 2020, 15:20
Default Surface Tension Coeff., Multiple interfaces
  #1
Senior Member
 
rupak504's Avatar
 
Lolita
Join Date: Aug 2016
Posts: 115
Rep Power: 9
rupak504 is on a distinguished road
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
rupak504 is offline   Reply With Quote

Old   July 13, 2020, 01:27
Default
  #2
Senior Member
 
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34
AlexanderZ will become famous soon enoughAlexanderZ will become famous soon enough
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
AlexanderZ is offline   Reply With Quote

Old   July 13, 2020, 05:33
Default
  #3
Senior Member
 
rupak504's Avatar
 
Lolita
Join Date: Aug 2016
Posts: 115
Rep Power: 9
rupak504 is on a distinguished road
Quote:
Originally Posted by AlexanderZ View Post
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
There are three phases, A,B and C. And i want to define surface tension between phase A and phase B as a function of temperature (Non-linear) rest others are constant. Normally i can use this
HTML Code:
if (C_VOF(cell, A) != 0.0 && C_VOF(cell, A) != 1.0)
but since there will be 1 more interface (i.e. between phase A & phase C) where C_VOF of phase A lies between 0 and 1, it will employ the variable surface tension to that interface as well. Right?
rupak504 is offline   Reply With Quote

Old   July 13, 2020, 20:15
Default
  #4
Senior Member
 
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34
AlexanderZ will become famous soon enoughAlexanderZ will become famous soon enough
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
rupak504 likes this.
__________________
best regards


******************************
press LIKE if this message was helpful
AlexanderZ is offline   Reply With Quote

Reply


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
Surface tension driven flows: interFoam vs. multiphaseInterFoam dzordz OpenFOAM Programming & Development 3 December 22, 2021 02:57
How to add Surface Tension in cavitatingFoam solver jamestangx OpenFOAM Programming & Development 1 April 6, 2016 16:39
Help!! customize surface tension term in interFoam w051cxw OpenFOAM Programming & Development 5 February 12, 2016 14:56
Help!! customize surface tension term in interFoam w051cxw OpenFOAM Running, Solving & CFD 0 February 12, 2016 01:15
continuum surface tension model yukn Main CFD Forum 0 October 8, 2011 06:43


All times are GMT -4. The time now is 04:57.