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

VARIABLES FOR SUBROUTINES

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 5, 2007, 03:34
Default VARIABLES FOR SUBROUTINES
  #1
Mika Nuutinen
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

  Reply With Quote

Old   October 5, 2007, 13:42
Default Re: VARIABLES FOR SUBROUTINES
  #2
Pauli
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."
  Reply With Quote

Old   October 24, 2007, 09:06
Default Re: VARIABLES FOR SUBROUTINES
  #3
andreas
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)

  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


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


All times are GMT -4. The time now is 03:10.