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

scalar inlet condition

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

Reply
 
LinkBack Thread Tools Display Modes
Old   November 18, 2003, 11:37
Default scalar inlet condition
  #1
Dougal McQueen
Guest
 
Posts: n/a
How does one set the scalar at an inlet boundary, by using usrbcs? There is a trouble with the array pointer returned by getsca not being compatible with varbcs pointers (i.e. scalars sem to have their own stack).

Many thanks in advance

Dougal
  Reply With Quote

Old   November 20, 2003, 10:08
Default Re: scalar inlet condition
  #2
Dougal McQueen
Guest
 
Posts: n/a
Already sorted. Thanks to MArk from CFX.

CALL GETVAR('USRBCS','SCAL ',IVSCAL) CALL GETSCA('POTENTIAL TEMPERATURE',ITSCAL,CWORK) ISCAL = IVSCAL - 1 + ITSCAL

Cheers Mark!
  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
inlet and outlet boundary condition for turbomachinery solution siamak1424 OpenFOAM 2 August 15, 2009 11:14
inlet boundary condition swe704 FLUENT 4 June 3, 2009 16:58
Doubt in Inlet Pressure Boundary Condition Sumitha FLUENT 3 October 20, 2008 03:19
inlet condition ~?? karen FLUENT 3 April 7, 2002 08:49
How to define the condition of inlet ?? kevin FLUENT 0 March 3, 2002 23:32


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