CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   CFX (https://www.cfd-online.com/Forums/cfx/)
-   -   Getting temperature for each node (https://www.cfd-online.com/Forums/cfx/22001-getting-temperature-each-node.html)

TobiasZ January 5, 2006 11:11

Getting temperature for each node
 
I'd like to store the temperatures at each vertex before the next time step starts by using a User Junction Box Routine. CFX-10.0 used.

Command USER_GETVAR seems to do this in CEL routines, but how to do it in an User Junction BOX. User_GET_GVAR outputs only integrated data. Has anybody came along this problem already and may want to help? Thanks.

TobiasZ

Mike January 6, 2006 09:19

Re: Getting temperature for each node
 
Two options that might help:

1. Use a User CEL routine to call USER_GETVAR and then write the data that you need to the /USER_DATA area. Use the Junction Box Routine to read the data from /USER_DATA. However, CEL routines are typically called multiple times by the Solver, so that could complicate things.

2. Call the GETVAR routine from within the Junction Box. GETVAR is not very friendly to use and not documented, so you'd need CFX Support to help you out.

TobiasZ January 9, 2006 04:50

Re: Getting temperature for each node
 
Thanks for your reply, Mike.

Yes, I see the same problems for option 1. I don't want to use a CEL, if an alternative can be found.

CFX helpdesk already suggested to use command GETVAR. However, since I didn't find anything about this command in the manual I was wondering, if they were trying to say to use USER_GET_GVAR. Is there no other chance to get more information about how to use GETVAR without or before asking CFX helpdesk?

Opaque. January 10, 2006 00:16

Re: Getting temperature for each node
 
Dear Tobias,

The GETVAR call is an internal call, i.e. for developers only, and not documented. The CFX helpdesk can give you the information you need in how to use it. However, keep in mind that since it is an internal call, they are (developers) free to change the arg list or functionality every release..

I have seen it only on customized junction boxes from ANSYS CFX.

Good luck, Opaque

TobiasZ January 10, 2006 04:45

Re: Getting temperature for each node
 
OK, thanks Opaque. I'll think about your concerns and see what is possible. TobiasZ


All times are GMT -4. The time now is 23:42.