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

Changing boundary condition at pressure outlet using udf

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 4, 2014, 23:59
Default Changing boundary condition at pressure outlet using udf
  #1
New Member
 
AJK
Join Date: Nov 2014
Posts: 6
Rep Power: 11
flashkicker is on a distinguished road
Hi, i am doing MTech project in cfd analysis and in need of urgent help.
I am using fluent to solve this problem.
Following is my problem:

1. A simple assemby with 1 inlet and 2 outlets. With a fan near to the inlet.

2. I need to find pressure acting on the blade of the fan, in case one of the outlet is closed.

3. My issue over here is to close and open the output with respect to time.
4. I wanted to know could it be done by UDF.

5. Or any other method which could be used.
I want the change to take place with respect to time.
It would be very kind of you if you could help me out.

Thanks and regards....
flashkicker is offline   Reply With Quote

Old   November 5, 2014, 06:20
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,703
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Yes it can be done by a UDF. But try the Fluent forum if you want to find out how.
ghorrocks is offline   Reply With Quote

Old   November 5, 2014, 07:07
Default
  #3
New Member
 
AJK
Join Date: Nov 2014
Posts: 6
Rep Power: 11
flashkicker is on a distinguished road
Could you provide me with link. I am new to UDF.
flashkicker is offline   Reply With Quote

Old   November 5, 2014, 15:03
Default
  #4
New Member
 
AJK
Join Date: Nov 2014
Posts: 6
Rep Power: 11
flashkicker is on a distinguished road
#include "udf.h"



DEFINE_PROFILE(unsteady_pressure, thread, position)

{

face_t f;

real t = CURRENT_TIME;



if((t>=5 && t<=10))

{

begin_f_loop(f, thread)

{

F_PROFILE(f, thread, position) = 0;

}

end_f_loop(f, thread)

}

}
Following was the UDF I used but it doesn't seem to affect the fluid flow as pressure outlet is zero. Please anybody could help out.
flashkicker is offline   Reply With Quote

Old   November 6, 2014, 00:59
Default
  #5
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,703
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Quote:
But try the Fluent forum if you want to find out how.
http://www.cfd-online.com/Forums/fluent/
ghorrocks is offline   Reply With Quote

Old   November 7, 2014, 04:14
Default
  #6
New Member
 
AJK
Join Date: Nov 2014
Posts: 6
Rep Power: 11
flashkicker is on a distinguished road
Thank you for the help
flashkicker 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
Outflow boundary condition in cartesian grid SIMPLE velocity-pressure coupling ghobold Main CFD Forum 9 September 19, 2015 02:50
Low Mixing time Problem Mavier CFX 5 April 29, 2013 00:00
Pressure outlet boundary condition fluent_newbie FLUENT 0 December 1, 2011 23:51
pressure outlet boundary condition Sastry FLUENT 4 February 19, 2011 01:33
UDF for traction-free boundary condition at outlet psb Fluent UDF and Scheme Programming 0 November 10, 2009 02:40


All times are GMT -4. The time now is 01:38.