CFD Online Discussion Forums

CFD Online Discussion Forums (
-   FLUENT (
-   -   gradient problem (

vidhuresh December 12, 2005 04:24

gradient problem
i am writing udf to find concentration gradient .while compiling it is showig no error but at time of execution it is showing segementation volitation. what could be reason for this

HS December 12, 2005 09:57

Re: gradient problem
Does it show any warning during compilation? Using a variable that is not declared correctly can result in this for example (I think), but NMAKE usually displays a warning even if it does not prevent the UDF from being compiled. December 12, 2005 11:26

Re: gradient problem
Check for the memory allocation.U might have forgot to assign memory term. DEFRINE>>>USER DEFINED MEMORY also you must have not done DEFINE__>>>>ADJUST. Check..KP

All times are GMT -4. The time now is 10:29.