|
[Sponsors] |
August 23, 2006, 10:59 |
USER_GETVAR in particle user routine
|
#1 |
Guest
Posts: n/a
|
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 |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
DPM UDF particle position using the macro P_POS(p)[i] | dm2747 | FLUENT | 0 | April 17, 2009 02:29 |
user subroutine error | CFDUSER | CFX | 2 | December 9, 2006 07:31 |
particle user routines | Felix | CFX | 1 | July 24, 2006 13:32 |
user defined function | cfduser | CFX | 0 | April 29, 2006 11:58 |
Particle Injection User Fortran Routine | Adam | CFX | 5 | December 13, 2005 04:16 |