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

Evaluating UDF variable to change boundary conditions

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 12, 2016, 08:22
Default Evaluating UDF variable to change boundary conditions
  #1
New Member
 
Join Date: Jun 2015
Posts: 6
Rep Power: 10
saml is on a distinguished road
Hi,

I have an adjust UDF that calculates a variable. Based on this variable, I need to change the inlet/outlet boundary condition between pressure inlet/outlet and wall. For example, if the variable is <0, then I would need to change the "pressure-inlet" to "wall."

I know that I need to use text user interface (TUI) to switch the boundary conditions. Is it possible to use TUI scheme to conditionally evaluate a UDF variable? If so, how is this done? If not, what is a potential solution around it?

Thanks
saml 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
Pressure boundary condition on walls for incompressible flows odellar OpenFOAM Pre-Processing 26 May 10, 2021 09:49
Waterwheel shaped turbine inside a pipe simulation problem mshahed91 CFX 3 January 10, 2015 11:19
Difficulty In Setting Boundary Conditions Moinul Haque CFX 4 November 25, 2014 17:30
Setting rotating frame of referece. RPFigueiredo CFX 3 October 28, 2014 04:59
Radiation interface hinca CFX 15 January 26, 2014 17:11


All times are GMT -4. The time now is 21:36.