CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   Evaluating UDF variable to change boundary conditions (https://www.cfd-online.com/Forums/fluent/174428-evaluating-udf-variable-change-boundary-conditions.html)

saml July 12, 2016 08:22

Evaluating UDF variable to change boundary conditions
 
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


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