|May 16, 2007, 21:31||
temperature gradient for use in surface monitor
Hi, I'm trying to get temperature gradient for use in surface monitor, as there aren't any temperature derivative in the surface monitor panel. And then I'll calculate the integral (by choosing intergral in the 'report type' of the 'Define surface monitor' panel) of the temperature gradient over the domain at each time step. So after getting the result, I'll be able to plot the result as a function of time.
I have thought about doing it the other way, that is using C_T_G(c,t) in a UDF, However, I don't know which Define macro to use and the way to save the result, so that I'll be able to plot the result as a function of time.
Thank you in advance for your help! Catherine
|August 24, 2012, 10:10||
Join Date: Jul 2012
Posts: 39Rep Power: 3
you can use DEFINE_ON_DEMAND and user define memory.
C_UDMI(c,t,0) = C_T_G(c,t);
you should active user define memory from:
define - > user defined - > memory
then you can use your udf.
|Thread||Thread Starter||Forum||Replies||Last Post|
|Tangential component of gradient of scalar field at surface||tehache||OpenFOAM Running, Solving & CFD||5||July 4, 2013 08:13|
|specified shear at wall - temperature gradient - UDF - access violation error||senD||Fluent UDF and Scheme Programming||7||May 12, 2012 19:23|
|[ICEM] Problems with coedge curves and surfaces||tommymoose||ANSYS Meshing & Geometry||0||August 5, 2011 17:02|
|Saving Fluent Surface Monitor Output File||fossu15a||Main CFD Forum||1||November 12, 2009 08:10|
|Direct calculation of temperature gradient||J.W.Ryu||FLUENT||5||December 27, 2001 07:39|