|
[Sponsors] |
May 23, 2003, 05:15 |
UDF reading the temperature gradient
|
#1 |
Guest
Posts: n/a
|
Hello,
does anybody know how to acces the z-component of the temperature gradient with an UDF? My UDF works well as long as I define a certain value to the temperature gradient, but when I try it with : ' dT_dz = C_T_G(cell,thread)[3]; ' FLUENT gives me an Error: ' FLUENT received fatal signal (ACCESS_VIOLATION) ' Greetings Fabian |
|
May 29, 2003, 21:18 |
Re: UDF reading the temperature gradient
|
#2 |
Guest
Posts: n/a
|
Gradients are not defined at the first iteration. Put that command in an if like this:
if(Data_Valid_P()) { ... } |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Commercial meshers] Problem converting fluent mesh | vinz | OpenFOAM Meshing & Mesh Conversion | 28 | October 12, 2015 07:37 |
Temperature Gradient at Wall | sven | OpenFOAM | 7 | November 1, 2010 18:25 |
temperature normal gradient on a boundary | Sandrine | Main CFD Forum | 2 | June 10, 2009 17:34 |
normal temperature gradient on a boundary | Sandrine | FLUENT | 0 | June 10, 2009 13:29 |
UDF or any approach for Bulk Temperature calculation | vemps | FLUENT | 0 | May 1, 2009 02:09 |