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

FLUENT udf for vof surface tension

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 26, 2022, 20:40
Default FLUENT udf for vof surface tension
  #1
New Member
 
Join Date: Jan 2022
Posts: 3
Rep Power: 4
Lab_001 is on a distinguished road
Hi,
I am working on a project about welding. I use FLUENT vof to simulate the melting pool . During the calculation, I found that the surface tension define in my udf code have some problems and caused a whole area shape changing. Here is my code:
-------------------------------------------------------------------
DEFINE_PROPERTY(surf_tension,c,t)
{
real surf;
int curr,i,j;
real temp1=C_T(c,t);
if(temp1>=1700)
surf=1.0-0.0003*(temp1-1700);
else if(temp1>=2980)
surf=0.41;
else
surf=1.0;
return surf;
}
-------------------------------------------------------------------
My surface tension seems like effect all the areas when temp1>=1700 and causes a whole area shape changing to my model. I think it should only effect the cell temp1>=1700. Is there anyone know what happen to that?
Lab_001 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
can anyone help me about the udf of dynamic contact angle in FLUENT? Albert Lee FLUENT 0 July 1, 2018 09:21
Running UDF with Supercomputer roi247 FLUENT 4 October 15, 2015 14:41
surface tension gradient using UDF; surface tension gradient as function of temperatu marimuthusundar Fluent UDF and Scheme Programming 0 June 21, 2012 05:48
continuum surface tension model yukn Main CFD Forum 0 October 8, 2011 07:43
surface deposition rate via udf - fluent 6 Greg Perkins FLUENT 1 March 3, 2003 04:01


All times are GMT -4. The time now is 19:55.