|
[Sponsors] |
Question on CFX user fortran: how to obtain variable value of a certain local |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 13, 2019, 06:44 |
Question on CFX user fortran: how to obtain variable value of a certain local
|
#1 |
New Member
Join Date: May 2018
Posts: 6
Rep Power: 8 |
Dear all,
I'm using CFX user fortran to calculate some additional variables. During each step I need to get the pressure and coordinate of a certain boundary, but it seems that the user_getvar do not returns the variable of a specified locale. Is there any other routines/functions that can help me do that? |
|
July 14, 2019, 20:22 |
|
#2 |
Senior Member
Join Date: Jun 2009
Posts: 1,880
Rep Power: 33 |
Could you be more specific on what you are trying to achieve?
Are you coding a UserFortran CEL function? or a junction box? For the former, the software will evaluate the UserFortran function on the locale of interest for the software; therefore, it is implied and no need to over-specify it. Are you trying to gather the additional variable at a different locale from the one the function is called for? For example, the function is evaluated at an inlet, and you are trying to gather the variable at the outlet. |
|
July 15, 2019, 08:42 |
|
#3 |
New Member
Join Date: May 2018
Posts: 6
Rep Power: 8 |
Sorry for the unclear description. I‘m trying to code a cel function, which is evaluated over the whole flow field domain but it needs the pressure distribution on a certain wall boundary.
|
|
July 15, 2019, 08:44 |
|
#4 | |
New Member
Join Date: May 2018
Posts: 6
Rep Power: 8 |
Quote:
Sorry for the unclear description. I‘m trying to code a cel function, which is evaluated over the whole flow field domain but it needs the temperature distribution on a certain wall boundary. |
||
July 15, 2019, 11:44 |
|
#5 |
Member
Join Date: May 2019
Posts: 30
Rep Power: 7 |
I found it out. I had to make a Mointor Point in CFX-Pre with the Expression I defined. Than I can Monitor this Monitor Point during the run. Thank you very much.
|
|
Tags |
user fortran |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
cfx boundary condition added by user fortran subroutine doesn't work | leizi | CFX | 3 | May 29, 2018 11:26 |
Question about CFX user fortran | tengf689 | CFX | 8 | January 9, 2017 21:36 |
Obtain local volume at node/vertex in user routine | honcho62 | CFX | 6 | January 19, 2016 07:39 |
CFX11 + Fortran compiler ? | Mohan | CFX | 20 | March 30, 2011 19:56 |
CFX arc-modeling, User Fortran, CEL.... | Bloshchitsyn Vladimir | CFX | 0 | October 15, 2007 07:17 |