CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   Phoenics (http://www.cfd-online.com/Forums/phoenics/)
-   -   How to change to turbulence model constants? (http://www.cfd-online.com/Forums/phoenics/51447-how-change-turbulence-model-constants.html)

hyw July 18, 2002 06:16

How to change to turbulence model constants?
 
Dear all, i am not familiar with PHOENICS. Anyone know how to change the turbulence model constants in PHOENICS? In PHOLIS, it told me that "These are set in subroutine INIPRP in file GXPRUT.F", unfortunately, I can't find this subroutine. Thanks.


Leon Mills July 18, 2002 19:37

Re: How to change to turbulence model constants?
 
I use the VR-Editor check under menu

Edit -> Domain Atributes -> Models

Here you will find what you are after.

Hope this helps

Leon

hyw July 18, 2002 22:08

Re: How to change to turbulence model constants?
 
Leon, Thanks for youe kind help. But I still can't find which iterm I can use in "Edit -> Domain Atributes -> Models". What I want to change is constant "CD" in k-e models, can you give me any suggestion? Thanks

Michael Malin July 22, 2002 09:29

Re: How to change to turbulence model constants?
 
In PHOENICS V3.4 go to the file gxknvst.for (gxknvst.htm) in the folder c:\phoenics\d_earth\d_core.

In subroutine SETVST of gxknvst.for you will find the turbulence model constants. You will have to change them here and recompile gxknvst and then force build a private earexe.

I am trying to get authorisation here for V3.5 to allow the constants to be changed from the VR Editor.

Note that in PHOENICS: cmucd=cmu*cd where

enut=cmu*sqrt(ke)*Lm and Lm=cd*(ke)**1.5/ep.

This is equivalent to the familiar enut=cmucd*(ke)**2/ep.


All times are GMT -4. The time now is 14:26.