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

USER_GETVAR for boundary

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 1, 2017, 05:03
Default USER_GETVAR for boundary
  #1
Member
 
Georgy
Join Date: Apr 2011
Location: Russia
Posts: 32
Rep Power: 15
gera is on a distinguished road
Dear experts,

could you please help me with USER_GETVAR function in CFX?
The function:
CALL USER_GETVAR('<VARIABLE_DESCRIPTION>',CRESLT, <pVAR>,CZ,DZ,IZ,LZ,RZ)
returns variables for whole domain. Is it possible to get a variable on a boundary of a domain in user subroutine during the computation?

Thank you!
gera is offline   Reply With Quote

Old   June 1, 2017, 07:53
Default
  #2
Senior Member
 
Join Date: Jun 2009
Posts: 1,815
Rep Power: 32
Opaque will become famous soon enough
Unfortunately, USER_GETVAR only returns variables for the same locale (group of elements, or vertices) as the original call.

What are you trying to achieve ?
Opaque is offline   Reply With Quote

Old   June 8, 2017, 00:38
Default
  #3
Member
 
Georgy
Join Date: Apr 2011
Location: Russia
Posts: 32
Rep Power: 15
gera is on a distinguished road
Opaque, thank you for your reply.

I need to take variable on a certain surface in Fortran subroutine. For example, I need temperature on a wall (coupled heat exchange problem). Is there any way to do this?
gera 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



All times are GMT -4. The time now is 01:49.