CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   FLUENT (http://www.cfd-online.com/Forums/fluent/)
-   -   Modify constant values via Text User Interface (http://www.cfd-online.com/Forums/fluent/85259-modify-constant-values-via-text-user-interface.html)

Marvin February 21, 2011 10:51

Modify constant values via Text User Interface
 
Dear all,

I would like to know if it is possible to change the constant values of a turbulence model via the Text User Interface in Fluent (6.23).
I could not find anything about this in the user's guide.
Does anyone know how to do it?

Thank you in advance.

Alex Zak November 11, 2012 13:54

Quote:

Originally Posted by Marvin (Post 296283)
Dear all,

I would like to know if it is possible to change the constant values of a turbulence model via the Text User Interface in Fluent (6.23).
I could not find anything about this in the user's guide.
Does anyone know how to do it?

Thank you in advance.

Hi, Marvin!

I am interesting this problem too! Specifically possible to change Pr_t. You have find solve it?

Many thanks!

Marvin November 12, 2012 06:06

Hi Alex,

Yes, you can modify the Pr_t value by typing in the text interface, or in a journal file:

(rpsetvar 'keprt 0.6)

where 0.6 is the value you want to set and "keprt" is the name of the constant as understood by Fluent. This one is the one for the k-epsilon model, I don't know if it's the one you were talking about. To find the constant names, you can open a case file in a text editor.

To verify that it worked, just have a look at the GUI or type:

(rpgetvar 'keprt)

Hope it helps...

M.

Alex Zak November 12, 2012 19:21

Quote:

Originally Posted by Marvin (Post 391609)
Hi Alex,

Yes, you can modify the Pr_t value by typing in the text interface, or in a journal file:

(rpsetvar 'keprt 0.6)

where 0.6 is the value you want to set and "keprt" is the name of the constant as understood by Fluent. This one is the one for the k-epsilon model, I don't know if it's the one you were talking about. To find the constant names, you can open a case file in a text editor.

To verify that it worked, just have a look at the GUI or type:

(rpgetvar 'keprt)

Hope it helps...

M.

Hi, Marvin!

That's work very well!

Many thanks for you help


All times are GMT -4. The time now is 20:00.