CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Programming & Development

Dimension Mismatch - Spalart Allmaras

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   February 9, 2012, 20:43
Default Dimension Mismatch - Spalart Allmaras
Join Date: Oct 2011
Location: Columbus, Ohio
Posts: 53
Blog Entries: 1
Rep Power: 8
kalyangoparaju is on a distinguished road

I am simulating the tip vortices from a wing and from already published material, it has been noted that the production term ( S_tilda) of SA turbulence model has to be tweaked a bit to get better results.

S_tilda is defined as =

I want to change the Omega term to

where , , and
I have 2 questions on this.

1. How do I write Sij ?
If I am not wrong it should be written as


2. When I do write it like that, put a min function to get the min between 0 and S - Omega, I get a dimension mismatch as below

Arguments of min have different dimensions
dimensions : [0 0 0 0 0 0 0] and [0 0 -1 0 0 0 0]

Can someone help me with this. Frankly, I don't see anything huge in this but I am a total noob when it comes to C++

kalyangoparaju is offline   Reply With Quote


Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Spalart and Allmaras Paper Mohamed Main CFD Forum 7 July 10, 2014 16:39
CFX Spalart Allmaras turbulence models aweizazuji CFX 9 September 24, 2013 10:53
Spalart Allmaras Paper Seroga Main CFD Forum 0 April 7, 2008 02:48
spalart allmaras paper hafiz Main CFD Forum 1 April 10, 2007 03:47
extracting K and Epsilon from Spalart Allmaras Sundar Main CFD Forum 4 July 31, 2006 02:02

All times are GMT -4. The time now is 09:31.