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. |