|June 9, 2016, 06:48||
UDF for linear temperature gradient
Join Date: May 2016
Posts: 1Rep Power: 0
I am trying to apply a UDF for linear temperature gradient across a surface. The left wall of the surface is at 700K, while the right wall is at 300K. Length of surface is 10mm.
The UDF goes this way:
DEFINE_PROFILE(temperature_profile, thread, position)
real x[ND_ND]; /* this will hold the position vector */
F_CENTROID(x, f, thread);
y = x;
F_PROFILE(f, thread, position) = 500-40*y;
However, this temperature profile doesn't show up in the results.
Can someone please send me a correct UDF for this?
|Thread||Thread Starter||Forum||Replies||Last Post|
|UDF to modify inlet fluid temperature||Vipul_Patel||Fluent UDF and Scheme Programming||0||February 22, 2016 22:11|
|whats the cause of error?||immortality||OpenFOAM Running, Solving & CFD||11||April 22, 2014 12:32|
|UDF for time-mean temperature gradient||nenazarian||Fluent UDF and Scheme Programming||1||November 12, 2012 04:30|
|UDF slip and temperature jump from IFRT||abir||Fluent UDF and Scheme Programming||1||July 30, 2012 05:44|
|UDF velocity and temperature||Raj||FLUENT||3||February 1, 2009 19:29|