CFD Online Logo CFD Online URL
Home > Forums > FLUENT

Slip flow in UDF - Plse Help

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   November 10, 2006, 04:23
Default Slip flow in UDF - Plse Help
Posts: n/a
Dear all, I wrote UDF to calculate slip flow at the wall and I hook it with moving wall. When I iterate it, the solution divert and the flow rate increase until I get a message out of memory. Please help! Thank you in advance

My code is

DEFINE_PROFILE(w_vel_wall01,thread,index) { real x[ND_ND]; /* this will hold the position vector */ face_t f; cell_t c; Thread *cell_thread;

begin_f_loop(f,thread) { F_CENTROID(x,f,thread); c = F_C0(f,thread); cell_thread = THREAD_T0(thread);

F_PROFILE(f,thread,index) = -(0.0000004)*C_DUDY(c,cell_thread);

} end_f_loop(f,thread) }
  Reply With Quote

Old   June 26, 2010, 10:07
Default slip velocity
New Member
Join Date: Jun 2010
Location: beij,chongqing,Chengdu
Posts: 22
Rep Power: 9
wangguobin14 is on a distinguished road
Send a message via ICQ to wangguobin14 Send a message via MSN to wangguobin14
anyone recently see this message could touch me
i am working on this small code for a long time
some exprimence could be shared wonderfully.

thank you!
wangguobin14 is offline   Reply With Quote


Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
UDF to measure Mass Flow Rate a.lynchy Fluent UDF and Scheme Programming 22 September 26, 2017 12:50
UDF for slip and moving wall lichun Dong FLUENT 3 March 26, 2014 05:37
UDF for transient pressure inlet, mass flow check at nozzle exit and volumetric heat kokoory FLUENT 0 August 17, 2011 02:07
Slip flow khaled bataineh FLUENT 1 June 26, 2010 09:40
3D rectangular duct flow UDF - urgnet Yogesh FLUENT 0 March 27, 2005 01:36

All times are GMT -4. The time now is 14:18.