|
[Sponsors] |
UDF-transient temperature profile boundary condition |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 2, 2013, 10:30 |
UDF-transient temperature profile boundary condition
|
#1 |
Senior Member
Moha
Join Date: Mar 2013
Location: EU
Posts: 103
Rep Power: 0 |
Hi,
how can I be sure that, if the UDF is true and work or not? regards, start the UDF: /************************************************** ********************* udfexample.c UDF for specifying transient temperature profile boundary condition ************************************************** **********************/ #include "udf.h" DEFINE_PROFILE(Temp_Profile, thread, position) { face_t f; real x[ND_ND]; /* this will hold the position vector */ real y; begin_f_loop(f, thread) { F_CENTROID(x,f,thread); y = x[0]; F_PROFILE(f, thread, position) = (-1e-26*x*x*x*x*x*x)+(3e-21*x*x*x*x*x)-(3e-16*x*x*x*x)+(1e-11*x*x*x)-(2e-7*x*x)+((1/1000)*x)+13; } end_f_loop(f,t) } |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Domain Imbalance | HMR | CFX | 5 | October 10, 2016 06:57 |
UDF for degassing boundary condition | peaker007 | Fluent UDF and Scheme Programming | 5 | November 23, 2015 13:55 |
Boundary Temperature Profile UDF error | shikamaru | Fluent UDF and Scheme Programming | 1 | May 18, 2012 22:19 |
(Tabular) Transient Boundary Condition ??? | Önder | FLUENT | 0 | September 25, 2006 10:19 |