I want to write an UDF for changing the boundary condition when a pressure limit value on a face is reached. At the beginning, the face is set as "Mass-Flow-Outlet" with 0 kg/s. When the pressure value is reached, it should change in "Pressure-Outlet" with 20E5 Pa.
I have found this:
A first try for the function is as follow. I don´t what to use for the DEFINE Macro. Moreover, can I use the "ti-menu- load-string ".." " in the UDF or juste for Scheme file?
Thank you in advance.