CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > Siemens

Solving for turbulence

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 25, 2004, 03:08
Default Solving for turbulence
  #1
Celia
Guest
 
Posts: n/a
Hi, I am trying to solve the k-w SST model as two scalars. I know it comes with the program but I need to change the VIST values so that only the VIST used in the mean flow equations is changed and not the ones in k-w equations.

I used sorsca.f and diffus.f to model the equation but my result would'nt match with that given the built in SST model. So, I tried to test it with the normal k-e model. And, that does match atall either.... I am including the program from sorssca below. My flow is incompressible AND 2D.

GENERATION=2.0*(GU(1,1,IPSTAR)**2 +GU(2,2,IPSTAR)**2))+ ((GU(1,2,IPSTAR)+GU(2,1,IPSTAR))**2

GENERATION=MAX(0.0,GENERATION*VIST)

TERM=CMU*DEN*TE/(VIST+SMALL)

IF(IS.EQ.1)THEN

S1P=GENERATION

S2P=TERM*DEN

ELSEIF(IS.EQ.2)THEN

S1P=CEPS1*GEN*TERM

S2P=CEPS2*TERM*DEN

ENDIF

The results dont look anywhere near the same as that given by STAR CD. Any idea why? I am using the same boundary conditions and discretization details.
  Reply With Quote

Old   January 3, 2005, 10:27
Default Re: Solving for turbulence
  #2
Pauli
Guest
 
Posts: n/a
Aren't FORTRAN variable names limited to 8 charecters?

If so, your variable GENERATION is too long & may be the problem.

If not, please disregard this comment. My brain is still rebooting from the holidays.
  Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Why solving kar OpenFOAM Running, Solving & CFD 2 April 30, 2008 15:15
Bug solving LowReynolds turbulence models luca OpenFOAM Bugs 2 November 8, 2007 14:06
Solving the turbulence equation summer FLUENT 4 July 13, 2007 09:57
FvVectorMatrixresidual before solving cosimobianchini OpenFOAM Running, Solving & CFD 0 January 28, 2007 11:02
MHD solving? Rajil Saraswat Main CFD Forum 1 March 21, 2003 11:26


All times are GMT -4. The time now is 16:10.