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

Slip flow in UDF - Plse Help

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

Reply
 
LinkBack Thread Tools 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, 10:07
Default slip velocity
  #2
New Member
 
王国斌
Join Date: Jun 2010
Location: beij,chongqing,Chengdu
Posts: 22
Rep Power: 7
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

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 for slip and moving wall lichun Dong FLUENT 3 March 26, 2014 05:37
UDF to measure Mass Flow Rate a.lynchy Fluent UDF and Scheme Programming 21 February 15, 2014 03:18
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 06:05.