|
[Sponsors] |
how to put udf inlet velocity and udf outlet pressure in fluent |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 11, 2016, 11:35 |
how to put udf inlet velocity and udf outlet pressure in fluent
|
#1 |
Member
ramin
Join Date: Jul 2016
Posts: 41
Rep Power: 10 |
hello experts
I am beginer in ansys fluent I am working on pulse blood flow in an artery. my boundry conditions are parabolic velocity in inlet and parabolic pressure in outlet. when I want to interpret my udfs for velocity and pressure, I can not put both of them simultaneously and fluent considere my last imput file. now I want to know how can I put udf inlet velocity and udf outlet pressure in fluent simultaneously؟ best regards |
|
September 12, 2016, 01:40 |
|
#2 |
Member
Davoud Malekian
Join Date: Jan 2016
Posts: 53
Rep Power: 10 |
Hello Ramin,
when you want to compile udfs, it is possible to compile your c files seperately, but in the case of interpreting you can interpret just 1 c file!, so write all of your udfs in 1 c file and then interpret your c file. |
|
September 12, 2016, 05:12 |
|
#3 |
Member
ramin
Join Date: Jul 2016
Posts: 41
Rep Power: 10 |
||
June 29, 2017, 15:37 |
|
#4 |
New Member
ashraf elkotb
Join Date: Jun 2017
Posts: 2
Rep Power: 0 |
can I write simple C code definning pressure function without udf.h and use it in fluid solution as a boundary condition ???
|
|
July 3, 2017, 07:43 |
|
#5 |
Senior Member
Kal-El
Join Date: Apr 2017
Location: Finland
Posts: 150
Rep Power: 9 |
Fluent always has the udf.h. You don't need to add it to your lib/folder.
Just add the #include udf.h in your code. |
|
Tags |
problem with udf |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
UDF inlet velocity profile mismatch with Fluent | ChristineL | Fluent UDF and Scheme Programming | 15 | November 25, 2016 07:45 |
negative input for velocity inlet to make an outlet? | Sipher | FLUENT | 1 | June 24, 2015 03:51 |
UDF: Change boundary condition. Velocity inlet to pressure inlet at time "t" | jpina | FLUENT | 10 | April 11, 2015 15:19 |
UDF profile: Fluent method for coupling inlet and outlet | I-mech | Fluent UDF and Scheme Programming | 0 | May 10, 2014 11:36 |
UDF to set velocity and pressure in inlet | GerardX89 | Fluent UDF and Scheme Programming | 0 | July 16, 2012 11:15 |