|
[Sponsors] |
July 9, 2020, 07:39 |
Unable to define UDF
|
#1 |
Member
Raj
Join Date: Jan 2020
Posts: 92
Rep Power: 6 |
Hello all,
I want to select UDF at multiple outlets. I have pre-defined variables and then started entering the expression at a pressure outlet. I found this error "RuntimeError: Function __add__|V|d not found!" Could you please help me? Any kind of suggestion is highly appreciated. Thank you Raj |
|
July 13, 2020, 02:30 |
|
#2 |
Senior Member
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34 |
you may use profile instead of expressions to define boundary conditions
if you still need expressions, give all information: what exactly you are writing and where
__________________
best regards ****************************** press LIKE if this message was helpful |
|
July 13, 2020, 06:31 |
|
#3 |
Member
Raj
Join Date: Jan 2020
Posts: 92
Rep Power: 6 |
Hello,
I am using the Darcy Weissbach equation for Pressure drop at Outlets. In my model the diameter is constant and velocity varies because of multiple outlets at different locations. I am attaching the expression which am using. (In this friction factor and density are neglected) Thank you, Raj |
|
July 15, 2020, 02:21 |
|
#4 |
Senior Member
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34 |
I have no experience in applying boundary conditions through expressions in Fluent.
You didn't provide your code, so its hard to recommend something. On the other hand, you may use UDF for this problem. You need DEFINE_PROFILE macro, look Ansys Fluent Customization manual for more details. There are good examples Or you may try to provide the exact code you are using, which lead to error you've mentioned
__________________
best regards ****************************** press LIKE if this message was helpful |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Please help UDF error!!!! | dinhanh | Fluent UDF and Scheme Programming | 3 | September 26, 2014 05:10 |
How to use UDF to define a moving wall | lingo | FLUENT | 9 | August 19, 2014 10:14 |
UDF problem | libia87 | Fluent UDF and Scheme Programming | 1 | May 4, 2012 22:49 |
Installing OF 1.6 on Mac OS X | gschaider | OpenFOAM Installation | 129 | June 19, 2010 10:23 |
Help: using udf to define direction | Bo | FLUENT | 1 | July 16, 2008 07:47 |