|
[Sponsors] |
September 23, 2015, 07:06 |
Pressure Outlet Boundary udf problem!
|
#1 |
New Member
Ayush Agrawal
Join Date: Jun 2014
Posts: 16
Rep Power: 12 |
Hello,
I have been having trouble getting the following pressure outlet profile udf to interpret If I Interpret, the error comes as cpp -I"F:\PROGRA~1\ANSYSI~1\v145\fluent\fluent14.5.0/src" -I"F:\PROGRA~1\ANSYSI~1\v145\fluent\fluent14.5.0/cortex/src" -I"F:\PROGRA~1\ANSYSI~1\v145\fluent\fluent14.5.0/client/src" -I"F:\PROGRA~1\ANSYSI~1\v145\fluent\fluent14.5.0/multiport/src" -I. -DUDF ONFIG_H="<udfconfig.h>" "F:\FLUENTVS\new\new\outlet1.c" Error: F:\\FLUENTVS\\new\\new\\outlet1.c: line 21: parse error. #include "udf.h" DEFINE_PROFILE(outletpress, thread, index) { real x[ND_ND] ; real y ; face_t f; begin_f_loop(f, thread) { F_CENTROID(x,f,thread) ; y = x[1]; real temp=C_T(cell,thread); F_PROFILE(f, thread, index) = 90859.208785*(exp(9.81*y/(287.058*temp))-1-9.81*y/(287.058*temp)) ; } end_f_loop(f, thread) } Please help, I have been stuck on this for days and cannot figure it out at all. |
|
Tags |
cfd, fluent, outlet |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
UDF to adjust pressure outlet | a.lynchy | FLUENT | 4 | February 15, 2021 01:50 |
Radiation in semi-transparent media with surface-to-surface model? | mpeppels | CFX | 11 | August 22, 2019 08:30 |
Low Mixing time Problem | Mavier | CFX | 5 | April 29, 2013 01:00 |
Water subcooled boiling | Attesz | CFX | 7 | January 5, 2013 04:32 |
Pulsatile pressure inlet with pressure outlet | a.lynchy | FLUENT | 3 | March 23, 2012 14:45 |