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

Slip flow in UDF - Plse Help

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 10, 2006, 04:23
Default Slip flow in UDF - Plse Help
  #1
Jeerasak
Guest
 
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, 11:07
Default slip velocity
  #2
New Member
 
王国斌
Join Date: Jun 2010
Location: beij,chongqing,Chengdu
Posts: 22
Rep Power: 16
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.
wangguobin14@163.com

thank you!
wangguobin14 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
UDF to measure Mass Flow Rate a.lynchy Fluent UDF and Scheme Programming 31 October 4, 2018 15:10
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 03:07
Slip flow khaled bataineh FLUENT 1 June 26, 2010 10:40
3D rectangular duct flow UDF - urgnet Yogesh FLUENT 0 March 27, 2005 01:36


All times are GMT -4. The time now is 22:20.