CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Siemens (https://www.cfd-online.com/Forums/siemens/)
-   -   wall subtoutine variables (https://www.cfd-online.com/Forums/siemens/53590-wall-subtoutine-variables.html)

tomosada December 19, 2003 04:21

wall subtoutine variables
 
hi! everyone :

I want to use the wall subroutine for multiple rotation fram , but i can't find the means of the variables about 'TORHF' 'RESWT' 'RSTSC'.

I need to give the angular velocity (RPM) ,SO which varable i need to set.

Thank you for answer me !!


4xF December 20, 2003 08:58

Re: wall subtoutine variables
 
The meaning of the variables is explained in the file nom.inc, which you will find in the ufile directory.

TORHF is Temperature OR Heat Flux. (depends on what you switched on in the boundary definition panel). RESWT is the value of the wall thermal resistance RSTSC is the value of the wall mass resistance (when scalars are defined)

If you have to impose a spin velocity at walls with a given RPM velocity, say given by OMEGA

REAL PI

SAVE PI

IF (INTFLG(1).EQ.0) THEN

PI = ACOS(-1.0)

INTFLG(1) = 1

END IF

U = 0

V = X * OMEGA * PI / 30.

W = 0

Please read the subroutine headings for more information. Keep in mind that the velocities are to be defined in the coordinate system set in the boudanry definition, here a cylindrical one HAS to be chosen).


All times are GMT -4. The time now is 12:31.