CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > CFX

USER_GATVAR in Particle User Routine

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 15, 2012, 07:27
Smile USER_GATVAR in Particle User Routine
  #1
New Member
 
Join Date: Mar 2012
Posts: 18
Rep Power: 14
hustxinxin is on a distinguished road
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!
hustxinxin is offline   Reply With Quote

Old   July 12, 2012, 07:37
Default
  #2
New Member
 
pannsave
Join Date: Apr 2009
Posts: 25
Rep Power: 17
pannsave is on a distinguished road
Quote:
Originally Posted by hustxinxin View Post
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
pannsave is offline   Reply With Quote

Old   June 20, 2013, 22:43
Default
  #3
New Member
 
Join Date: Mar 2012
Posts: 18
Rep Power: 14
hustxinxin is on a distinguished road
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 View Post
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 is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Particle Transport & Termination Control with User FORTRAN Julian K. CFX 3 January 12, 2012 09:48
user subroutine error CFDUSER CFX 2 December 9, 2006 06:31
USER_GETVAR in particle user routine Felix CFX 0 August 23, 2006 09:59
user defined function cfduser CFX 0 April 29, 2006 10:58
Particle Injection User Fortran Routine Adam CFX 5 December 13, 2005 03:16


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