CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Siemens (https://www.cfd-online.com/Forums/siemens/)
-   -   Writing a BCDEFI problem for RSM model (https://www.cfd-online.com/Forums/siemens/54349-writing-bcdefi-problem-rsm-model.html)

S. Bottenheim January 28, 2005 07:01

Writing a BCDEFI problem for RSM model
 
In my work I am trying to define the inlet boundaries of my model based on some user coding.

Normally in a 2 equation model, you can easily define the boundary conditions via the bcdefi.f file, supplying the values of u,v,w and TE,ED,T,DEN, TURINT

However, instead of a 2 equation model, I would like to define the boundaries using a Reynolds Stress approach, ie: instead of defining TE, I would like to define the 6 Reynolds Stresses (uu,vv,ww,uv,uw, and vw).

I tried to get the rough format of this by selecting and applying user coding in the StarGUI when switching on the RSM model. Unfortunately, the resulting bcdefi.f file was still written for the two-equation model.

Does anyone know the commands for defining the 6 Reynolds Stresses in the bcdefi.f file? I tried looking them up in the nom.inc file but they were not listed.

I am using Star-CD version 3.20. Any help on this or any alternative suggestions to approaching this would be greatly appreciated!


yacine January 28, 2005 08:32

Re: Writing a BCDEFI problem for RSM model
 
it seems like the name of the variable is RSU(6) added in the soubroutine argument

S. Bottenheim January 28, 2005 08:55

Re: Writing a BCDEFI problem for RSM model
 
Hi

I just got off the phone with someone about this. Indeed, the RSU(6) variable is correct - an array where each location is allotted to each of the stress components.

Basically:

RSU(1) is RSUU RSU(2) is RSVV RSU(3) is RSWW RSU(4) is RSUV RSU(5) is RSVW RSU(6) is RSUW

Thanks!


All times are GMT -4. The time now is 02:17.