Exiting a UDF
Hi,
I am using a UDF to specify a pressure boundary condition. I want to know if that when I reach a specific pressure, how can I stop using the UDF at that time-step and change the BC. I use a journal file to give the commands, so in short, if I get that pressure condition, I would like to change the BC from the UDF to a constant using the journal file itself. Has somebody had any success or experience in this? |
any luck? if so plz share your experience with us :)
thanks |
I don't know whether the following could be helpful.
Maybe you can use 'If' statements in your UDF to define BC, e.g. If(pressure_now<pressure_condition) {} else {} |
All times are GMT -4. The time now is 20:53. |