CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   CD-adapco (http://www.cfd-online.com/Forums/cd-adapco/)
-   -   How to get data I need from a converged flowfield? (http://www.cfd-online.com/Forums/cd-adapco/53489-how-get-data-i-need-converged-flowfield.html)

Ko September 18, 2003 23:10

How to get data I need from a converged flowfield?
 
Dear All,

I need to get the viscous dissipation term: (shear stress*(partial u_i/partial x_j)) which appears in the energy equation. (See eq. (1-10) the Star-Cd ˇ§Methodologyˇ¨ book p. 1-3) from a covergent flowfields. How should I do? Thanks for reply.

4xF September 20, 2003 09:22

Re: How to get data I need from a converged flowfi
 
You can do it either in PROSTAR or within the user subroutine POSDAT.F, whereas the most accurate answer will be obtained with the user subroutine. You have to declare a passive scalar in PROSTAR to will be used for storing the calculated value of the dissipation term. Using POSDAT.F, you calculate the term you need with the appropriate STAR subroutines for gradient calculation (ask your local support office to help you in this matter). Then dump the value calculated in the T array at the place reserved for the dummy scalar you had defined previously.


All times are GMT -4. The time now is 07:45.