CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Siemens (https://www.cfd-online.com/Forums/siemens/)
-   -   VARIABLES FOR SUBROUTINES (https://www.cfd-online.com/Forums/siemens/56301-variables-subroutines.html)

Mika Nuutinen October 5, 2007 02:34

VARIABLES FOR SUBROUTINES
 
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


Pauli October 5, 2007 12:42

Re: VARIABLES FOR SUBROUTINES
 
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."

andreas October 24, 2007 08:06

Re: VARIABLES FOR SUBROUTINES
 
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)



All times are GMT -4. The time now is 16:47.