|
[Sponsors] |
October 5, 2007, 03:34 |
VARIABLES FOR SUBROUTINES
|
#1 |
Guest
Posts: n/a
|
I'm writing a turbulent wall function for temperature and I need to get access to data that isn't listed in nom.inc's alphabetical nomenclature. Such as wall heat flux. Ther is a very long list of pointers after the nomenclature list, but I can't figure out wich of them might be the heat flux. Can anyone help? If there is a complete list of pointers and what they refer to, it would be very nice indeed
|
|
October 5, 2007, 13:42 |
Re: VARIABLES FOR SUBROUTINES
|
#2 |
Guest
Posts: n/a
|
From the StarCD documentation:
"If you have an application in mind but cannot see how to code the subroutine, or cannot see the data you require, contact CD adapco or its representatives for advice." |
|
October 24, 2007, 09:06 |
Re: VARIABLES FOR SUBROUTINES
|
#3 |
Guest
Posts: n/a
|
TORHF is the variable for heat flux. But according to nom.inc it's only accessible for the bcdefw subroutine. The pointer for heat flux is hfb(heat flux boundary) I think.
by including: POINTER (P_HFB,HFB(NWSMX,1+NSC)) COMMON /DCO19B/ P_HFB IF(INTFLG(1).EQ.0) THEN call cdmalloc(P_waerme,iflsiz*(pnreg)) intflg(1)=1 ENDIF heat flux should be available by the variable hfb (W/m^2). I think Adapco does not pass on any information on pointers and common blocks to prevent users from interfering to much with the code. Someone at Adabco's technical support told me that. But a summary of commmon blocks is handed out after adabco's user programming courses. (I didn't attend one) |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Passing data/variables between subroutines | Emmanuel Resch | Siemens | 1 | August 16, 2007 13:44 |
subroutines in UDF | kk | FLUENT | 3 | February 9, 2007 02:38 |
CFX subroutines | Neser | CFX | 0 | November 9, 2005 00:07 |
subroutines | Jared | Siemens | 1 | August 25, 2005 14:38 |
fft subroutines | pratap | Main CFD Forum | 1 | August 6, 2003 17:49 |