|May 23, 2011, 15:59||
Temperature gradient: Does the C_T_G macro work ?
Join Date: Feb 2011
Posts: 4Rep Power: 7
Hi CFD mates,
I want to compute the temperature gradient in different solid zones of the domain. I found that the macro C_T_G can perform this task but I did not manage to get it working. Fluent always gives the same error: "Segmentation Violation"
Why ? How to solve this issue ?
I have looked here and there on the internet and I found many people who have the same problem, but I couldnt find any solution. Is it possible that there is a problem with the macro C_T_G itselft ?
Here is my code (which is basically the same as in the UDF guide of Fluent):
d = Get_Domain(1);
C_UDMI(c,t,1) = NV_MAG(C_T_G(c,t));
Thanks mates !
|December 21, 2011, 05:55||
Join Date: Nov 2010
Posts: 50Rep Power: 7
Did you add header file mem.h in your udf?? and also did you run the text command solve/set/expert??
This will Keep temporary solver memory from being freed?.
Note that when you do this, all of the gradient data is retained, but the calculation requires more memory to run
|c_t_g, error, problem, segmentation violation, temperature gradient|
|Thread||Thread Starter||Forum||Replies||Last Post|
|ATTENTION! Reliability problems in CFX 5.7||Joseph||CFX||14||April 20, 2010 15:45|
|Temperature gradient macros||ameyadurve||Fluent UDF and Scheme Programming||1||October 9, 2009 13:16|
|Temperature gradient||tsherk86||OpenFOAM Running, Solving & CFD||2||August 5, 2008 14:42|
|why convergence depend on temperature gradient||daiga||CFX||0||March 5, 2008 09:21|
|Temperature gradient?||Cote||CFX||1||February 8, 2007 10:03|