CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   CFX (https://www.cfd-online.com/Forums/cfx/)
-   -   scalar inlet condition (https://www.cfd-online.com/Forums/cfx/20000-scalar-inlet-condition.html)

Dougal McQueen November 18, 2003 11:37

scalar inlet condition
 
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

Dougal McQueen November 20, 2003 10:08

Re: scalar inlet condition
 
Already sorted. Thanks to MArk from CFX.

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

Cheers Mark!


All times are GMT -4. The time now is 01:24.