|
[Sponsors] |
August 13, 2011, 19:39 |
Exiting a UDF
|
#1 |
Member
Pranab N Jha
Join Date: Nov 2009
Location: Houston, TX
Posts: 86
Rep Power: 17 |
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? |
|
August 16, 2011, 14:00 |
|
#2 |
New Member
Jack cosby
Join Date: Jul 2011
Posts: 15
Rep Power: 15 |
any luck? if so plz share your experience with us
thanks |
|
August 23, 2011, 05:47 |
|
#3 |
New Member
Join Date: Aug 2011
Posts: 3
Rep Power: 15 |
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 {} |
|
Tags |
boundary condition, exit, udf |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Dynamic Mesh UDF | Qureshi | FLUENT | 7 | March 23, 2017 08:37 |
UDF parallel error: chip-exec: function not found????? | shankara.2 | Fluent UDF and Scheme Programming | 1 | January 16, 2012 23:14 |
How to add a UDF to a compiled UDF library | kim | FLUENT | 3 | October 26, 2011 22:38 |
UDF...UDF...UDF...UDF | Luc SEMINEL | FLUENT | 0 | November 25, 2002 05:03 |
UDF, UDF, UDF, UDF | Luc SEMINEL | Main CFD Forum | 0 | November 25, 2002 05:01 |