|
[Sponsors] |
January 26, 2022, 20:40 |
FLUENT udf for vof surface tension
|
#1 |
New Member
Join Date: Jan 2022
Posts: 3
Rep Power: 4 |
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? |
|
|
|
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 |