CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   CFX (https://www.cfd-online.com/Forums/cfx/)
-   -   USER_GATVAR in Particle User Routine (https://www.cfd-online.com/Forums/cfx/98642-user_gatvar-particle-user-routine.html)

hustxinxin March 15, 2012 07:27

USER_GATVAR in Particle User Routine
 
Excuse me!
Since the function "USER_GATVAR" is not relevant to junction box routines, could it be called in Particle User Routine? I want to call USER_GATVAR to get curls in Air with Particle Tracking, but always failed.
I have test the code
"CALL USER_GETVAR ('Air|Red Sand.Air.Velocity.Curl', CRESLT, pCURL_VELFL, CZ, DZ, IZ, LZ, RZ)
and
"CALL USER_GETVAR ('Air.Velocity.Curl', CRESLT, pCURL_VELFL, CZ, DZ, IZ, LZ, RZ)
but none of these works.

Thanks for your consideration!

pannsave July 12, 2012 07:37

Quote:

Originally Posted by hustxinxin (Post 349598)
Excuse me!
Since the function "USER_GATVAR" is not relevant to junction box routines, could it be called in Particle User Routine? I want to call USER_GATVAR to get curls in Air with Particle Tracking, but always failed.
I have test the code
"CALL USER_GETVAR ('Air|Red Sand.Air.Velocity.Curl', CRESLT, pCURL_VELFL, CZ, DZ, IZ, LZ, RZ)
and
"CALL USER_GETVAR ('Air.Velocity.Curl', CRESLT, pCURL_VELFL, CZ, DZ, IZ, LZ, RZ)
but none of these works.

Thanks for your consideration!

Hello Hustxinin,

Did you solve your problem of using USER_GETVAR in particle user subroutine.
I am also using USER_GETVAR in particle user subroutine to obtain curl of fluid velocity. But I could not run the subroutine successfully,
Could you suggest me solution for this problem if you have already solved this probelm.

Thanks

Regards
pannsave

hustxinxin June 20, 2013 22:43

I have not achieved it yet. I think USER_GETVAT and other data acquisition routines can only work in User CEL Function, it is not available in particle user subroutines. :(

Quote:

Originally Posted by pannsave (Post 371098)
Hello Hustxinin,

Did you solve your problem of using USER_GETVAR in particle user subroutine.
I am also using USER_GETVAR in particle user subroutine to obtain curl of fluid velocity. But I could not run the subroutine successfully,
Could you suggest me solution for this problem if you have already solved this probelm.

Thanks

Regards
pannsave



All times are GMT -4. The time now is 08:17.