How to get data I need from a converged flowfield?
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.
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 12:05.|