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

UDF : Laminar fully developed Poiseuille flow

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 17, 2015, 03:48
Default UDF : Laminar fully developed Poiseuille flow
  #1
New Member
 
Baahubali
Join Date: Jul 2015
Posts: 4
Rep Power: 11
somasekhar is on a distinguished road
Can any one help me for UDF

Inlet velocity profile of Laminar fully developed Poiseuille flow for 2D case. Thanks in Advance
somasekhar is offline   Reply With Quote

Old   July 17, 2015, 06:39
Default
  #2
Senior Member
 
Join Date: Nov 2013
Posts: 1,965
Rep Power: 27
pakk will become famous soon enough
Of course we can help you.

Show your attempts and we will assist.
pakk is offline   Reply With Quote

Old   July 21, 2015, 04:31
Default
  #3
New Member
 
Baahubali
Join Date: Jul 2015
Posts: 4
Rep Power: 11
somasekhar is on a distinguished road
In my case viscosity is constant, I want to give at inlet fully developed condition. Average velocity 1 m/s. channel radius 0.25 mm

#include "udf.h"
DEFINE_PROFILE(x_velocity,thread,index)
{
real x[ND_ND];
real y;
face_t f;
begin_f_loop(f,thread)
{
F_CENTROID(x,f,thread);
y = x[1];
F_PROFILE(f,thread,index) = 1.0 - y*y/(0.25*0.25)*1.0;
}
end_f_loop(f,thread)
}
somasekhar 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
Fully developed flow boundary condition jits_aps90 OpenFOAM Running, Solving & CFD 9 May 31, 2023 07:17
UDF for fully developed turbulent flow at inlet soroushsaberi FLUENT 0 May 28, 2014 18:00
How apply pressure gradient to get fully developed flow? nihossain FLUENT 0 November 5, 2011 16:20
fully developed flow JAS FLUENT 4 February 12, 2007 07:01
fully developed flow in diffusor Fabian CFX 1 September 19, 2001 19:13


All times are GMT -4. The time now is 16:17.