CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > CD-adapco

VARIABLES FOR SUBROUTINES

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   October 5, 2007, 02: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, 12: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, 08: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

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Passing data/variables between subroutines Emmanuel Resch CD-adapco 1 August 16, 2007 12:44
subroutines in UDF kk FLUENT 3 February 9, 2007 02:38
CFX subroutines Neser CFX 0 November 9, 2005 00:07
subroutines Jared CD-adapco 1 August 25, 2005 13:38
fft subroutines pratap Main CFD Forum 1 August 6, 2003 16:49


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