CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   CFX (https://www.cfd-online.com/Forums/cfx/)
-   -   USER_GETVAR in particle user routine (https://www.cfd-online.com/Forums/cfx/22977-user_getvar-particle-user-routine.html)

Felix August 23, 2006 09:59

USER_GETVAR in particle user routine
 
Hello all,

does anybody know if it is possible to obtain the fluid.temperature.gradient with USER_GETVAR within a particle user routine (Fortran)? Or, is there another possibility?

These are the parts for USER_GETVAR of my source code:

C ... #include "MMS.h" #include "stack_point.h C ...

__stack_point__ pAIRTGRAD C ... CALL USER_GETVAR('Air at 25 C.Temperature.Gradient',CRESLT,

& pAIRTGRAD,CZ,DZ,IZ,LZ,RZ) C ...

The results for this gradient is for every cell and particle the same it is: p_AIRTGRAD(1)=0 p_AIRTGRAD(2)=1.45 e-45 p_AIRTGRAD(3)=0

Thanks in advance, Felix


All times are GMT -4. The time now is 13:54.