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

silp wall condition(UDF)

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 31, 2011, 22:43
Default silp wall condition(UDF)
  #1
New Member
 
jihyeong
Join Date: Nov 2010
Posts: 5
Rep Power: 15
jihyeong is on a distinguished road
Hi all
I'm doing simulation of NIL process using VOF and dynamic mesh.

As you know, slip wall condition is necessary at the nano scale because of Kn between 0.01 and 0.1.

So I made UDF for slip wall but it is not working. continuety eqn is divergencing.

Could u plz make a correct?

below my UDF I made.
------------------------------------------------
#include "udf.h"
#include "math.h"
#define temp 433
DEFINE_PROFILE(slipws, thread, nv)
{

face_t f;
cell_t c ;
Thread *t ;
real strain,mu_c,xx;
real x[ND_ND];
real n, delta, tau, d1, d2, d3, a1, a2, p1, p_operating, p, tg;
real ap, dummy1, eta0, Mus, b,y;
begin_f_loop (f,thread)
{
c = F_C0(f,thread);
t = THREAD_T0(thread);
Mus = C_MU_L(c,t);
strain = 0.5*(C_U_G(c,t)[1]+C_V_G(c,t)[0]);
b=delta*(eta0/Mus-1.);
F_PROFILE(f,thread,nv) = fabs(b)*fabs(strain);

Message ("strain = %.13f,Mu = %.13f", strain,Mus);
}
end_f_loop (f,thread)

}
--------------------------------------------------
I used viscosity model proposed by Vinogradova that is simple eqn.
b(slip length)=(mub/mus-1)*delta
where mub is bulk viscosity, mus is near wall viscosity
jihyeong is offline   Reply With Quote

Old   December 27, 2017, 21:14
Default
  #2
New Member
 
Sinon Lee
Join Date: Dec 2017
Posts: 3
Rep Power: 8
Sinon Lee is on a distinguished road
Quote:
Originally Posted by jihyeong View Post
Hi all
I'm doing simulation of NIL process using VOF and dynamic mesh.

As you know, slip wall condition is necessary at the nano scale because of Kn between 0.01 and 0.1.

So I made UDF for slip wall but it is not working. continuety eqn is divergencing.

Could u plz make a correct?

below my UDF I made.
------------------------------------------------
#include "udf.h"
#include "math.h"
#define temp 433
DEFINE_PROFILE(slipws, thread, nv)
{

face_t f;
cell_t c ;
Thread *t ;
real strain,mu_c,xx;
real x[ND_ND];
real n, delta, tau, d1, d2, d3, a1, a2, p1, p_operating, p, tg;
real ap, dummy1, eta0, Mus, b,y;
begin_f_loop (f,thread)
{
c = F_C0(f,thread);
t = THREAD_T0(thread);
Mus = C_MU_L(c,t);
strain = 0.5*(C_U_G(c,t)[1]+C_V_G(c,t)[0]);
b=delta*(eta0/Mus-1.);
F_PROFILE(f,thread,nv) = fabs(b)*fabs(strain);

Message ("strain = %.13f,Mu = %.13f", strain,Mus);
}
end_f_loop (f,thread)

}
--------------------------------------------------
I used viscosity model proposed by Vinogradova that is simple eqn.
b(slip length)=(mub/mus-1)*delta
where mub is bulk viscosity, mus is near wall viscosity
Is this udf used for specified shear stress?
Sinon Lee 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
[Commercial meshers] Fluent3DMeshToFoam simvun OpenFOAM Meshing & Mesh Conversion 50 January 19, 2020 15:33
Natural convection in a closed domain STILL NEEDING help! Yr0gErG FLUENT 4 December 2, 2019 00:04
Water subcooled boiling Attesz CFX 7 January 5, 2013 03:32
Errors running allwmake in OpenFOAM141dev with WM_COMPILE_OPTION%3ddebug unoder OpenFOAM Installation 11 January 30, 2008 20:30
Multicomponent fluid Andrea CFX 2 October 11, 2004 05:12


All times are GMT -4. The time now is 07:09.