|
[Sponsors] |
July 31, 2011, 23:43 |
silp wall condition(UDF)
|
#1 |
New Member
jihyeong
Join Date: Nov 2010
Posts: 5
Rep Power: 16 |
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 |
|
December 27, 2017, 22:14 |
|
#2 | |
New Member
Sinon Lee
Join Date: Dec 2017
Posts: 3
Rep Power: 8 |
Quote:
|
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Commercial meshers] Fluent3DMeshToFoam | simvun | OpenFOAM Meshing & Mesh Conversion | 50 | January 19, 2020 16:33 |
Natural convection in a closed domain STILL NEEDING help! | Yr0gErG | FLUENT | 4 | December 2, 2019 01:04 |
Water subcooled boiling | Attesz | CFX | 7 | January 5, 2013 04:32 |
Errors running allwmake in OpenFOAM141dev with WM_COMPILE_OPTION%3ddebug | unoder | OpenFOAM Installation | 11 | January 30, 2008 21:30 |
Multicomponent fluid | Andrea | CFX | 2 | October 11, 2004 06:12 |